DescriptionSanitize CJBig2_SymbolDict's memory usage.
- Use std::vector<JBig2ArithCtx> instead of storing pointers to arrays.
- Make CJBig2_SymbolDict's members private with accessors.
- Use std::vector<JBig2ArithCtx> in related places.
- Steal Chromium's vector_as_array() and use it as an adaptor as needed.
BUG=514891
R=tsepez@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/3acb1ef909a22368507ed13817c4988c818e3aee
Patch Set 1 #Patch Set 2 : more checks #
Total comments: 5
Patch Set 3 : rebase #
Messages
Total messages: 12 (2 generated)
|