aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/gotmail.html.awk
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-03-29 00:38:37 +0100
committerMatthias Andree <matthias.andree@gmx.de>2020-03-29 00:49:40 +0100
commitd9cfb9960dd1f39861e592d5eef4589810f2cb48 (patch)
treef5697db99d98ae3765709441af067fc9ccdee2e1 /contrib/gotmail.html.awk
parente9f7a61890f9ecf6eb20490f6f9936dc6c9ea250 (diff)
downloadfetchmail-d9cfb9960dd1f39861e592d5eef4589810f2cb48.tar.gz
fetchmail-d9cfb9960dd1f39861e592d5eef4589810f2cb48.tar.bz2
fetchmail-d9cfb9960dd1f39861e592d5eef4589810f2cb48.zip
Fix garbage at end of plugin string with %h and/or %p
Commit 418cda65 from merge request !5 fixed an input buffer overrun but at the same time caused the terminating NUL byte in the output buffer to be written too late, 2 bytes per placeholder. Fix the size calculation for correctness, and use the output index and not the output length to terminate the output string. Fixes #16, reported by Stefan Thurner. [All references for Gitlab.]
Diffstat (limited to 'contrib/gotmail.html.awk')
0 files changed, 0 insertions, 0 deletions