diff options
author | Jay Berkenbilt <ejb@ql.org> | 2020-10-22 12:27:25 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-10-22 12:31:52 +0200 |
commit | 232f5fc9f3bed8e1b02bca5d10b2eca444e30f95 (patch) | |
tree | a28fd45c3425ef3445b53d58482e9d442ef63d5b /libqpdf | |
parent | c1684eae9144129027642f5069a0fd97f0559ec8 (diff) | |
download | qpdf-232f5fc9f3bed8e1b02bca5d10b2eca444e30f95.tar.zst |
Handle jpeg library fuzz false positives
The jpeg library has some assembly code that is missed by the compiler
instrumentation used by memory sanitization. There is a runtime
environment variable that is used to work around this issue.
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/Pl_DCT.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqpdf/Pl_DCT.cc b/libqpdf/Pl_DCT.cc index 7231486d..2ddafecb 100644 --- a/libqpdf/Pl_DCT.cc +++ b/libqpdf/Pl_DCT.cc @@ -8,6 +8,7 @@ #include <stdexcept> #include <stdlib.h> #include <string> +#include <cstring> #if BITS_IN_JSAMPLE != 8 # error "qpdf does not support libjpeg built with BITS_IN_JSAMPLE != 8" |