Bug 139566 - Initialize m_ownsGeneratedFile when decoding a FormDataElement
Summary: Initialize m_ownsGeneratedFile when decoding a FormDataElement
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2014-12-11 15:41 PST by Alexey Proskuryakov
Modified: 2014-12-11 15:50 PST (History)
0 users

See Also:

proposed fix (1.35 KB, patch)
2014-12-11 15:44 PST, Alexey Proskuryakov
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2014-12-11 15:41:46 PST
I've seen assertion failures in NetworkProcess caused by an incorrect value for FormDataElement::m_ownsGeneratedFile. Turns out that we don't initialize it when restoring from IPC serialization.
Comment 1 Alexey Proskuryakov 2014-12-11 15:44:17 PST
Created attachment 243158 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2014-12-11 15:50:16 PST
Committed <http://trac.webkit.org/r177188>.