summaryrefslogtreecommitdiff
path: root/rc/bin/rc-httpd
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-08-01 10:54:03 -0700
committerOri Bernstein <ori@eigenstate.org>2020-08-01 10:54:03 -0700
commit9e27ee094c25873c71da6488d7926c621c115c68 (patch)
treed6d9a4b56654ef85a054cd1f8dcb62073fba192c /rc/bin/rc-httpd
parent6dbecfb457d1625687f2338696c2b8195c831ae4 (diff)
downloadplan9front-9e27ee094c25873c71da6488d7926c621c115c68.tar.xz
deroff: fix out-of-bounds access if runes above 0X80 are inside EQ clauses (thanks mmnmnnmnmm, via plan9port)
Characters greater than 0X80 will cause a read beyond the bounds of the array chars[]. For particular unicode characters this can cause deroff to segfault. A minimal example: $ deroff .EQ u∈ Segmentation fault Throughout deroff, charclass() is used instead of directly indexing chars[] so I presume this was just missed.
Diffstat (limited to 'rc/bin/rc-httpd')
0 files changed, 0 insertions, 0 deletions