summaryrefslogtreecommitdiff
path: root/usr.bin/lex/ccl.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-05-15 03:27:05 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-05-15 03:27:05 +0000
commitdb19eabbc0715bf1c47d38f4bb677afbbf751347 (patch)
tree54358e8f93e875d1ae873465303aa2e4d6d418d9 /usr.bin/lex/ccl.c
parent849352990664f5be41a014ea13c2f210206ca436 (diff)
When checking for comment characters using negative pointer arithmetic
make sure that we don't peek at memory outside the string boundaries. Fixes a core dump with mmap malloc.
Diffstat (limited to 'usr.bin/lex/ccl.c')
0 files changed, 0 insertions, 0 deletions