From owner-cvs-src-old@FreeBSD.ORG Fri Mar 12 06:57:05 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 E4DC6106566B for ; Fri, 12 Mar 2010 06:57:05 +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 BB1818FC12 for ; Fri, 12 Mar 2010 06:57:05 +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 o2C6v5IE000397 for ; Fri, 12 Mar 2010 06:57:05 GMT (envelope-from jh@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2C6v5V1000396 for cvs-src-old@freebsd.org; Fri, 12 Mar 2010 06:57:05 GMT (envelope-from jh@repoman.freebsd.org) Message-Id: <201003120657.o2C6v5V1000396@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jh@repoman.freebsd.org using -f From: Jaakko Heinonen Date: Fri, 12 Mar 2010 06:56:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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, 12 Mar 2010 06:57:06 -0000 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