diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-05-15 03:27:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-05-15 03:27:05 +0000 |
commit | db19eabbc0715bf1c47d38f4bb677afbbf751347 (patch) | |
tree | 54358e8f93e875d1ae873465303aa2e4d6d418d9 /usr.bin/lex/ccl.c | |
parent | 849352990664f5be41a014ea13c2f210206ca436 (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