Hello Ondrej,

* Ondrej Bilka wrote on Thu, Apr 30, 2009 at 10:41:49PM CEST:
> I here attach compiled fnmatch I wrote as gnulib module. 

I haven't read your patch closely, but it fails to check the return
value from all of the malloc/realloc... functions, opening up several
opportunities for segmentation violations.

Since this is a library module, fnmatch should instead fail gracefully
and report the failure to its caller.

Cheers,
Ralf


Reply via email to