Subject: CVS commit: src/usr.bin/tail
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 05/24/2006 16:34:25
Module Name: src
Committed By: christos
Date: Wed May 24 16:34:25 UTC 2006
Modified Files:
src/usr.bin/tail: forward.c
Log Message:
Coverity CID 3204: The USE_SLEEP case can close the fp, and break does
not break from the loop, only from the switch. Make it break from the
loop to avoid a NULL pointer dereference.
To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/usr.bin/tail/forward.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.