mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-16 01:27:07 +00:00
Bug fix: isReserved() true for indirect reference to reserved object
This commit is contained in:
parent
35b1e1c493
commit
5a2aa59479
@ -3228,6 +3228,7 @@ QPDFObjectHandle::dereference()
|
||||
this->obj = std::shared_ptr<QPDFObject>(new QPDF_Null());
|
||||
} else if (dynamic_cast<QPDF_Reserved*>(obj.get())) {
|
||||
// Do not resolve
|
||||
this->reserved = true;
|
||||
} else {
|
||||
this->reserved = false;
|
||||
this->obj = obj;
|
||||
|
Loading…
Reference in New Issue
Block a user