Re: Minor patch to correct buffer overrun

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
> Date: Wed, 18 Aug 2010 23:35:21 -0400
> From: Chris Sutcliffe <[email protected]>
> CC: [email protected], [email protected]
> 
>   On 18/08/2010 10:54 PM, Eli Zaretskii wrote:
> >> As you can see, the 259 bytes for 'tem' were significantly exceeded.
> > Thanks.  Now please add a printf to display the file names longer than
> > 259 characters.  There's something I'm obviously missing here, so I
> > need to see those file names.
> 
> As requested:
> 
> p: 322
> name: 
> .;src/freetype-2.4.1/src/autofit;src/freetype-2.4.1/src/bdf;src/freetype-2.4.1/src/cff;src/freetype-2.4.1/src/pcf;src/freetype-2.4.1/src/pfr;src/freetype-2.4.1/src/psaux;src/freetype-2.4.1/src/pshinter;src/freetype-2.4.1/src/raster;src/freetype-2.4.1/src/sfnt;src/freetype-2.4.1/src/smooth;src/freetype-2.4.1/src/truetype

Looks like somehow we call find_directory with a list of directories
from VPATH or vpath.  If you can find which function issues such a
strange call, please tell.  Failing that, I will take a look soon, as
this sounds like some bug: it's clear that the call to stat in
find_directory will always fail for such "file names", so there's no
point in making such calls.

Thanks again for your efforts.  We are getting close to the solution.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.