m4-patches
[Top][All Lists]
Advanced

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

Re: branch-1_4: do not write in getenv result


From: Ralf Wildenhues
Subject: Re: branch-1_4: do not write in getenv result
Date: Tue, 10 Oct 2006 10:21:34 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eric Blake <ebb9 <at> byu.net> writes:
> Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> writes:
> > 
> > A small POSIX nit: the result of getenv may not be modified by the
> > program.  This nit was uncovered with the help of `splint'.
> 
> Thanks; I'll apply it soon, and port it to head if needed.

The patch I posted did not try to free a non-malloced pointer, unlike
the one that was committed:

$ M4PATH=/foo:/bar ./src/m4
Segmentation fault (core dumped)





reply via email to

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