This website requires JavaScript.
Explore
Help
Sign In
midfavila
/
awk
Watch
1
Star
0
Fork
You've already forked awk
0
Code
Issues
Pull Requests
Projects
Releases
1
Wiki
Activity
075624a72a
awk
/
bugs-fixed
/
pfile-overflow.awk
1 line
1 B
Awk
Raw
Normal View
History
Unescape
Escape
Avoid accessing pfile[] out of bounds on syntax error at EOF. (#90) When awk reaches EOF parsing the program file, curpfile is incremented. However, cursource() uses curpfile without checking it against npfile which can cause an out of bounds access of pfile[] if there is a syntax error at the end of the program file.
2020-07-29 18:31:29 +00:00
\