URL:
<http://savannah.gnu.org/bugs/?37878>
Summary: index out of bounds when handling a file contains
'(' and not ends with ')'
Project: make
Submitted by: None
Submitted on: 2012년 12월 07일 (금) 오전 02시 34분 54초
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.82
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
-----------------------------------------------------------------
read.c:3023
if (! (flags & PARSEFS_NOAR)
&& tp == tmpbuf && tp[0] != '(' && tp[nlen=1] != ')')
^^
should be '=='
-----------------------------------------------------------------
It occurs indexing out of bounds when handling the following prerequisite
detected. Above if condition becomes true
even if the file is not a form of archive member reference.
target: this_is_a_target_not_archive_memeber_reference(blah).jpeg
..recipe..
read.c: 3034
e = next_token (e); // At here, index out of bounds occurs
I've used electric fence (http://perens.com/FreeSoftware/ElectricFence/) for
detecting this.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37878>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make