Fix the problem that memory is accessed after released due to invalid type-cast
authorJun Fang <jun_fang@foxitsoftware.com>
Tue, 5 Aug 2014 11:32:48 +0000 (04:32 -0700)
committerJun Fang <jun_fang@foxitsoftware.com>
Tue, 5 Aug 2014 11:32:48 +0000 (04:32 -0700)
commitef72d48bc190017cc4181135b6593357ccc7d977
tree5a30b6edc45b9efb4a4a073a0dad94b86224ca8b
parent1b9c5c4dc41956b8c5ab17b9a882adf8a2513768
Fix the problem that memory is accessed after released due to invalid type-cast

BUG=387774
R=palmer@chromium.org, tsepez@chromium.org

Review URL: https://codereview.chromium.org/441503003
core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
core/src/fpdfdoc/doc_tagged.cpp