Date: Fri, 19 Mar 2010 12:04:56 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/stdio mktemp.c Message-ID: <201003191205.o2JC5CLc000466@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jh 2010-03-19 12:04:56 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
lib/libc/stdio mktemp.c
Log:
SVN rev 205330 on 2010-03-19 12:04:56Z by jh
MFC r204447:
In _gettemp(), check that the length of the path doesn't exceed
MAXPATHLEN. Otherwise the path name (or part of it) may not fit to
carrybuf causing a buffer overflow.
PR: bin/140228
Revision Changes Path
1.29.2.2 +4 -0 src/lib/libc/stdio/mktemp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003191205.o2JC5CLc000466>
