Date: Sun, 28 Feb 2010 13:31:29 +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: <201002281331.o1SDViTR051253@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jh 2010-02-28 13:31:29 UTC
FreeBSD src repository
Modified files:
lib/libc/stdio mktemp.c
Log:
SVN rev 204447 on 2010-02-28 13:31:29Z by jh
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
Suggested by: jilles
Revision Changes Path
1.32 +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?201002281331.o1SDViTR051253>
