summaryrefslogtreecommitdiffstats
path: root/contrib/groff
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2006-01-12 13:18:49 +0000
committermarius <marius@FreeBSD.org>2006-01-12 13:18:49 +0000
commitc40cc2b1b305d7e282dde753dd287f27dee361f9 (patch)
tree0f44309cf05941140128f17ab9c0bd112052eee3 /contrib/groff
parent402d4e2682da8d6457b915d4c089122644940011 (diff)
downloadFreeBSD-src-c40cc2b1b305d7e282dde753dd287f27dee361f9.zip
FreeBSD-src-c40cc2b1b305d7e282dde753dd287f27dee361f9.tar.gz
In moduledir_readhints() cast the value returned by sizeof() to ssize_t
when checking whether it's greater than a struct stat st_size in order to also catch the case when st_size is -1. Previously this check didn't trigger on sparc64 when st_size is -1 (as it's the case for a file on a bzipfs, TFTP server etc.), causing the content of the linker hints file to be copied to memory referenced by a null-pointer. PR: 91231 MFC after: 1 week
Diffstat (limited to 'contrib/groff')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud