On 01/13/2016 06:23 PM, KO Myung-Hun wrote:

+    if (__libc_Back_ioFHToPath (fd, path, sizeof (path)))

Don't parenthesize the argument of sizeof here.

+    sprintf (result, "%s/%s", path, file);

This won't work if PATH or FILE is longer than INT_MAX bytes. Please just use memcpy or strcpy instead.

Reply via email to