From owner-cvs-src-old@FreeBSD.ORG Fri Mar 19 12:07:48 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97C491065677 for ; Fri, 19 Mar 2010 12:07:48 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9C48FC25 for ; Fri, 19 Mar 2010 12:07:48 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o2JC7m0x000705 for ; Fri, 19 Mar 2010 12:07:48 GMT (envelope-from jh@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2JC7mPG000704 for cvs-src-old@freebsd.org; Fri, 19 Mar 2010 12:07:48 GMT (envelope-from jh@repoman.freebsd.org) Message-Id: <201003191207.o2JC7mPG000704@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jh@repoman.freebsd.org using -f From: Jaakko Heinonen Date: Fri, 19 Mar 2010 12:07:28 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_6 Subject: cvs commit: src/lib/libc/stdio mktemp.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 12:07:48 -0000 jh 2010-03-19 12:07:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/stdio mktemp.c Log: SVN rev 205331 on 2010-03-19 12:07:28Z 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.28.12.2 +4 -0 src/lib/libc/stdio/mktemp.c