diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2021-11-01 18:28:25 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2021-11-01 18:28:25 +0000 |
commit | 984e0e1ed7b4c4ec151a54d86b917b7d4459b6c1 (patch) | |
tree | 9d73a1708bd8cc3690f80c469c9994d56c1e46ad /etc/etc.sparc64 | |
parent | 039479a556ce591fe08ea49b12d63100c7e7232a (diff) |
awkgetline: do not access unitialized data on EOF
getrec() returns 0 on EOF and leaves the contents of buf unchanged.
From https://github.com/onetrueawk/awk/pull/134
Diffstat (limited to 'etc/etc.sparc64')
0 files changed, 0 insertions, 0 deletions