Date: Fri, 12 Mar 2010 06:56:51 +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: <201003120657.o2C6v5V1000396@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jh 2010-03-12 06:56:51 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
lib/libc/stdio mktemp.c
Log:
SVN rev 205070 on 2010-03-12 06:56:51Z 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.31.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?201003120657.o2C6v5V1000396>
