aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff
diff options
context:
space:
mode:
authorDavid Jones <drj@ravenbrook.com>2024-10-11 15:49:17 +0000
committerWarner Losh <imp@FreeBSD.org>2024-10-11 15:50:09 +0000
commit818c7b769a4f7d3c8fecc4cf491f4e22ef816eba (patch)
tree765fda4f7328013abab369a15d9b03a5032537cd /gnu/usr.bin/groff
parent6cde8f3ef7cd060be39d78055eaf982b06b19a3b (diff)
downloadsrc-main.tar.gz
src-main.zip
uncompress: Avoid reading an extra byteHEADmain
When reading the next code in a stream, avoid reading an extra byte if we're going to throw it away. When there's no more bits to extract from the stream, bits will be 0 and we'll mask the read byte with 0 anyway. At worst, this will avoid reading one past the end of gbuf array (which is not possible in well formed streams). PR: 127912 Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D47041
Diffstat (limited to 'gnu/usr.bin/groff')
0 files changed, 0 insertions, 0 deletions