DescriptionProtect against a seg fault in CPDF_StructElementImpl constructor.
pTree->m_pRoleMap can be NULL if there is no dict called "RoleMap".
This shouldn't cause a segfault - easily fixed with a NULL check.
R=jam@google.com
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Post-review 1 #Messages
Total messages: 4 (1 generated)
|