Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 17:03:47 +0000 (UTC)
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/uniq uniq.c
Message-ID:  <200912171704.nBHH4Dhw021415@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912171704.nBHH4Dhw021415>