DescriptionFix UAF in chrome_pdf::Instance::GetURL()
The instance owns the engine via its engine_ scoped_ptr, so if the engine is
being destroyed via the scoped_ptr destructor, it may not be safe to access
anything in the instance since the instance may be partially destroyed. Instead,
destroy the engine as the first step in the process so the instance is still
intact.
BUG=392956
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287955
Patch Set 1 #Patch Set 2 : Alternative, more correct fix (but riskier). #
Total comments: 1
Patch Set 3 : Just reset engine. #Patch Set 4 : Add comment. #Patch Set 5 : better comment #Messages
Total messages: 12 (0 generated)
|