bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #24588] $$(eval) with SECONDEXPANSION causes segmentation faults


From: Lars S. Jessen
Subject: [bug #24588] $$(eval) with SECONDEXPANSION causes segmentation faults
Date: Fri, 17 Oct 2008 10:55:41 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; da-DK; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3

Follow-up Comment #1, bug #24588 (project make):

Problem is caused by eval_buffer() assuming reading_file != NULL, this is not
the case during the secondexpansion phase. 
Solution: initialize ebuf.floc.filenm to NULL and only set ebuf.floc =
*reading_file when reading_file != NULL.
See attached patch.

(file #16687)
    _______________________________________________________

Additional Item Attachment:

File name: fix24588.patch                 Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24588>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]