bugmake - Bugs: bug #11128, xmalloc(0) relies on...

 
 

bug #11128: xmalloc(0) relies on implementation defined behaviour

Submitted by:  Alessandro Vesely <ale2003>
Submitted on:  Thu 25 Nov 2004 01:37:59 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.80Operating System: Any
Fixed Release: 3.81Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 25 Nov 2004 03:07:54 PM UTC, comment #1:

Hi; this bug has already been fixed in CVS and will be available in the next release. Thanks for the report!

Paul D. Smith <psmith>
Project Administrator
Thu 25 Nov 2004 01:37:59 PM UTC, original submission:

Some function allocates 0 bytes, for example
pattern_search() when max_pattern_deps is 0.

D:\tmp>type foo
%.ugh:
touch $@

include not_existing.ugh

D:\tmp>gmake -r -R -f foo
foo:4: not_existing.ugh: No such file or directory

C:\UTIL\GMAKE.EXE: *** virtual memory exhausted. Stop.

Alessandro Vesely <ale2003>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #2103:  xmalloc_patch.txt added by ale2003 (335B - text/plain - allocate at least one byte in xmalloc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Apr 2006 07:12:30 AM UTCpsmithFixed Release4.0=>3.81
Thu 25 Nov 2004 03:07:54 PM UTCpsmithStatusNone=>Fixed
  Open/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.0
Thu 25 Nov 2004 01:37:59 PM UTCale2003Attached File-=>Added xmalloc_patch.txt, #1914

Back to the top


Powered by Savane 3.1-cleanup1