summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/engine.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-03-28 06:22:11 +0000
committerimp <imp@FreeBSD.org>2009-03-28 06:22:11 +0000
commit364bd8e1bf035f6d432b9ea9d0d11ca0e9177028 (patch)
tree3f792a6a9af3aad5d6f0b52bf7a487dc5d85c135 /lib/libc/regex/engine.c
parentb0050a5c17046779382119f927d279b3e1fdaf58 (diff)
downloadFreeBSD-src-364bd8e1bf035f6d432b9ea9d0d11ca0e9177028.zip
FreeBSD-src-364bd8e1bf035f6d432b9ea9d0d11ca0e9177028.tar.gz
When reading via memory, read in (amount + 1) / 2 (to properly round
up) rather than amount + 1 / 2, which is the same as amount, or 2x too many words which leads to data corruption. # This fixes the sbdrop panics I was seeing with the Toshiba LANCT00A.
Diffstat (limited to 'lib/libc/regex/engine.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud