L_tmpnam in stdio_lim.h
NIIBE Yutaka
gniibe@mri.co.jp
Sat Oct 10 06:24:00 GMT 1998
Hi,
I changed my environment to GNU Libc 2.0.97 from 2.0.94. I've found
imake core dumps when I set TMPDIR=/var/tmp.
This is because imake calls tmpnam with NULL argument and doesn't
check its return value.
But if it L_tmpnam is more than or equal to 20, imake wouldn't dump
core... (sizeof ("/var/tmp/fileXXXXXX") == 20).
Is there any reason why L_tmpnam is 19?
Thanks,
--
More information about the Libc-hacker
mailing list