summaryrefslogtreecommitdiffstats
path: root/release/powerpc/mkisoimages.sh
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-08-14 13:37:38 +0000
committerjilles <jilles@FreeBSD.org>2011-08-14 13:37:38 +0000
commitbb4511c618d6c97201f6fc608f173ceb0e8c496c (patch)
tree22b6d2a5e4c8f8391e3a145ad422b9b837a4901b /release/powerpc/mkisoimages.sh
parent0920e246c699770e57b13150e8b18fb73a484a76 (diff)
downloadFreeBSD-src-bb4511c618d6c97201f6fc608f173ceb0e8c496c.zip
FreeBSD-src-bb4511c618d6c97201f6fc608f173ceb0e8c496c.tar.gz
tail: Fix crash if -F'ed file's filesystem disappears.
If tail notices that a file it is following no longer exists (because stat() fails), it will output any final lines and then close the file. If the read operation also causes an error, such as when the filesystem is forcefully unmounted, it closes the file as well, leading to fclose(NULL) and a segmentation fault. PR: bin/159750 Submitted by: swills Approved by: re (kib) MFC after: 1 week
Diffstat (limited to 'release/powerpc/mkisoimages.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud