This website requires JavaScript.
Explore
Help
Sign In
midfavila
/
awk
Watch
1
Star
0
Fork
0
You've already forked awk
Code
Issues
Pull Requests
Projects
Releases
1
Wiki
Activity
master
awk
/
bugs-fixed
/
rs_underflow.awk
2 lines
31 B
Awk
Raw
Permalink
Normal View
History
Unescape
Escape
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.
2020-07-29 14:27:45 -04:00
BEGIN
{
RS
=
"zx"
}
{
print
$
1
}
Reference in New Issue
Copy Permalink