From owner-cvs-src-old@FreeBSD.ORG Thu Dec 17 17:04:13 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 B59691065692 for ; Thu, 17 Dec 2009 17:04:13 +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 8ABE98FC1E for ; Thu, 17 Dec 2009 17:04:13 +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 nBHH4DBj021416 for ; Thu, 17 Dec 2009 17:04:13 GMT (envelope-from jh@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBHH4Dhw021415 for cvs-src-old@freebsd.org; Thu, 17 Dec 2009 17:04:13 GMT (envelope-from jh@repoman.freebsd.org) Message-Id: <200912171704.nBHH4Dhw021415@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jh@repoman.freebsd.org using -f From: Jaakko Heinonen Date: Thu, 17 Dec 2009 17:03:47 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/uniq uniq.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: Thu, 17 Dec 2009 17:04:13 -0000 jh 2009-12-17 17:03:47 UTC FreeBSD src repository Modified files: usr.bin/uniq uniq.c Log: SVN rev 200633 on 2009-12-17 17:03:47Z by jh Sync getline() with comm(1): - 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.31 +14 -9 src/usr.bin/uniq/uniq.c