summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-09-09 08:15:31 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2021-09-09 18:12:21 +0200
commit305a30d80b63e06d312c9d98ae73934ae143e564 (patch)
tree7882b207944cfb077cde8a6c28d52d1ef56a30e4 /docs
parenteb607777697f4c5eb2dfd86e5837a8c379f65979 (diff)
awk: fix read beyond end of buffer
Commit 7d06d6e18 (awk: fix printf %%) can cause awk printf to read beyond the end of a strduped buffer: 2349 while (*f && *f != '%') 2350 f++; 2351 c = *++f; If the loop terminates because a NUL character is detected the character after the NUL is read. This can result in failures depending on the value of that character. function old new delta awk_printf 672 665 -7 Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions