diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-08-27 16:58:20 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-08-27 19:08:07 +0200 |
commit | 456c285b0277315537c0a402a8d35dff3bec3c10 (patch) | |
tree | ea5eaa788178226a90f707acb66ddb885e332427 /libqpdf/qpdf | |
parent | ad8081daf597b8f46696d5ddae82770ab419ad82 (diff) | |
download | qpdf-456c285b0277315537c0a402a8d35dff3bec3c10.tar.zst |
Fix fuzz issue 16172 (overflow checking in OffsetInputSource)
Diffstat (limited to 'libqpdf/qpdf')
-rw-r--r-- | libqpdf/qpdf/OffsetInputSource.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqpdf/qpdf/OffsetInputSource.hh b/libqpdf/qpdf/OffsetInputSource.hh index d541db1a..fef23760 100644 --- a/libqpdf/qpdf/OffsetInputSource.hh +++ b/libqpdf/qpdf/OffsetInputSource.hh @@ -24,6 +24,7 @@ class OffsetInputSource: public InputSource private: PointerHolder<InputSource> proxied; qpdf_offset_t global_offset; + qpdf_offset_t max_safe_offset; }; #endif // QPDF_OFFSETINPUTSOURCE_HH |