[Xcb] Get rid of PATH_MAX and MAXPATHLEN

Peter Harris pharris at opentext.com
Mon Apr 26 08:28:38 PDT 2010


On 2010-04-26 11:05, Arnaud Fontaine wrote:
>     > 1) You need to check the return value of realloc.
> 
> Fixed.

Now you don't dereference NULL, but you do leak the old allocation.

Thanks,
 Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://connectivity.opentext.com/
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the Xcb mailing list