diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-16 17:07:26 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-16 19:39:26 +0200 |
commit | 051ae7c282b5487a0dfb5214b9855cd45066c813 (patch) | |
tree | 11b601cc6534d1337654283eedad078fa946aa23 /.github/workflows/main.yml | |
parent | 60ec94a7c35ff3f7153c99deff29afef91500622 (diff) | |
download | qpdf-051ae7c282b5487a0dfb5214b9855cd45066c813.tar.zst |
Improve handling of replacing stream data with empty strings
When an empty string was passed to replaceStreamData, the code was
passing a null pointer to memcpy. Since a 0 size was also passed, this
was harmless, but it triggers sanitizer errors. The code properly
handles a null pointer as the buffer in other places.
Diffstat (limited to '.github/workflows/main.yml')
0 files changed, 0 insertions, 0 deletions