Date: Tue, 22 Apr 2008 17:03:32 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio fopen.c Message-ID: <200804221703.m3MH3Wh9075732@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-04-22 17:03:32 UTC
FreeBSD src repository
Modified files:
lib/libc/stdio fopen.c
Log:
Fix a leak in the recent fixes for file descriptors > SHRT_MAX. In the
case of a file descriptor we can't handle, clear the FILE structure's flags
so it can be reused.
MFC after: 1 week
Reported by: otto @ OpenBSD
Revision Changes Path
1.14 +1 -0 src/lib/libc/stdio/fopen.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804221703.m3MH3Wh9075732>
