Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 01:07:09 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/banner banner.c
Message-ID:  <200107190807.f6J879053149@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          2001/07/19 01:07:09 PDT

  Modified files:
    usr.bin/banner       banner.c 
  Log:
  Fixed the race caused by not checking the result of fgets(3):
  
  	/usr/bin/env MALLOC_OPTIONS=J banner </dev/null
  
  PR:		bin/29074
  
  Fixed the problem when banner(6) would eat last character:
  
  	echo -n a | banner
  
  MFC after:	1 week
  
  Revision  Changes    Path
  1.12      +11 -4     src/usr.bin/banner/banner.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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