From owner-cvs-src-old@FreeBSD.ORG Wed Dec 16 14:35:07 2009 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 B2BEA1065781 for ; Wed, 16 Dec 2009 14:35:07 +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 882488FC19 for ; Wed, 16 Dec 2009 14:35:07 +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 nBGEZ7js003110 for ; Wed, 16 Dec 2009 14:35:07 GMT (envelope-from jh@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBGEZ7Xi003109 for cvs-src-old@freebsd.org; Wed, 16 Dec 2009 14:35:07 GMT (envelope-from jh@repoman.freebsd.org) Message-Id: <200912161435.nBGEZ7Xi003109@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jh@repoman.freebsd.org using -f From: Jaakko Heinonen Date: Wed, 16 Dec 2009 14:34:48 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/comm comm.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: Wed, 16 Dec 2009 14:35:07 -0000 jh 2009-12-16 14:34:48 UTC FreeBSD src repository Modified files: usr.bin/comm comm.c Log: SVN rev 200604 on 2009-12-16 14:34:48Z by jh - Prevent overflowing of the buffer length variable in getline() by limiting its maximum value. - Exit if reallocf(3) fails in getline(). Failure was silently considered as end-of-file. Reviewed by: ghelmer Approved by: trasz (mentor) Revision Changes Path 1.24 +12 -6 src/usr.bin/comm/comm.c