diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2021-11-01 11:58:54 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2021-11-01 12:03:32 -0600 |
commit | 1debe1993fc852545a9215621d884be27f08a223 (patch) | |
tree | 6187063343ced031fd9c81cc33d4e7a193d073ab /awk.h | |
parent | 275a80ff33ef2782f27c4fd720b65645c89e2bbb (diff) | |
download | one-true-awk-1debe1993fc852545a9215621d884be27f08a223.tar.gz |
awkgetline: do not access unitialized data on EOF
getrec() returns 0 on EOF and leaves the contents of buf unchanged.
Fixes #133.
Diffstat (limited to 'awk.h')
0 files changed, 0 insertions, 0 deletions