Fix heap use after free in FT_Stream_ReleaseFrame
authorJUN FANG <jun_fang@foxitsoftware.com>
Thu, 16 Apr 2015 22:19:04 +0000 (15:19 -0700)
committerJUN FANG <jun_fang@foxitsoftware.com>
Thu, 16 Apr 2015 22:19:04 +0000 (15:19 -0700)
commitf66cfd7369b3c12cd0ed4c47c49377ed01727abd
tree7aa2ca3ffd3d05c8460a2d27cec568459338a583
parent81ab23b0c3c419f3dc4e6cd2012f042a40a9741e
Fix heap use after free in FT_Stream_ReleaseFrame

Adjust the release order of resource to fix this issue.

BUG=452793
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1082023002
core/src/fxge/ge/fx_ge_font.cpp
core/src/fxge/ge/fx_ge_fontmap.cpp
fpdfsdk/src/fpdfview.cpp
xfa/src/fgas/src/localization/fx_datetime.cpp
xfa/src/fwl/src/core/fwl_noteimp.cpp
xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp