Changeset 177188 in webkit


Ignore:
Timestamp:
Dec 11, 2014 3:50:48 PM (9 years ago)
Author:
ap@apple.com
Message:

Initialize m_ownsGeneratedFile when decoding a FormDataElement
https://bugs.webkit.org/show_bug.cgi?id=139566

Reviewed by Tim Horton.

No tests, because it's random, and I couldn't reproduce an assertion failure in
controlled circumstances.

  • platform/network/FormData.h: (WebCore::FormDataElement::decode): A newly created

FormDataElement by definition doesn't own the file.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r177185 r177188  
     12014-12-11  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Initialize m_ownsGeneratedFile when decoding a FormDataElement
     4        https://bugs.webkit.org/show_bug.cgi?id=139566
     5
     6        Reviewed by Tim Horton.
     7
     8        No tests, because it's random, and I couldn't reproduce an assertion failure in
     9        controlled circumstances.
     10
     11        * platform/network/FormData.h: (WebCore::FormDataElement::decode): A newly created
     12        FormDataElement by definition doesn't own the file.
     13
    1142014-12-11  Anders Carlsson  <andersca@apple.com>
    215
  • trunk/Source/WebCore/platform/network/FormData.h

    r172862 r177188  
    159159        if (!decoder.decode(result.m_shouldGenerateFile))
    160160            return false;
     161        result.m_ownsGeneratedFile = false;
    161162        if (!decoder.decode(result.m_fileStart))
    162163            return false;
Note: See TracChangeset for help on using the changeset viewer.