diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2020-07-29 12:27:45 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 21:27:45 +0300 |
commit | 22ee26b925f0c93b3539efd2e195af74bdf34fac (patch) | |
tree | 706f086d88774839fc2bbe527b86db3063b98076 /testdir | |
parent | b82b649aa65fbdff45869d1fd6d72fd2b85946cd (diff) | |
download | one-true-awk-22ee26b925f0c93b3539efd2e195af74bdf34fac.tar.gz |
Cast to uschar when storing a char in an int that will be used as an index (#88)
* Cast to uschar when storing a char in an int that will be used as an index.
Fixes a heap underflow when the input char has the high bit set and
FS is a regex.
* Add regress test for underflow when RS is a regex and input is 8-bit.
Diffstat (limited to 'testdir')
0 files changed, 0 insertions, 0 deletions