Changeset 24053 in webkit


Ignore:
Timestamp:
Jul 6, 2007 3:03:38 AM (17 years ago)
Author:
bdash
Message:

2007-07-06 Tony Chang <idealisms@gmail.com>

Reviewed by Maciej.

http://bugs.webkit.org/show_bug.cgi?id=14516
Bug 14516: crash loading multipart/x-mixed-replace data on windows safari

NULL check m_resourceData to prevent a crash in Safari on Windows.

  • loader/ResourceLoader.cpp: (WebCore::ResourceLoader::clearResourceData):

2007-07-06 Tony Chang <idealisms@gmail.com>

Reviewed by Maciej.

http://bugs.webkit.org/show_bug.cgi?id=14516
Bug 14516: crash loading multipart/x-mixed-replace data on windows safari

  • http/tests/multipart/resources/multipart-nodashes.php: Added.
  • http/tests/multipart/win-boundary-crash-expected.txt: Added.
  • http/tests/multipart/win-boundary-crash.html: Added.
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r24052 r24053  
     12007-07-06  Tony Chang  <idealisms@gmail.com>
     2
     3        Reviewed by Maciej.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=14516
     6        Bug 14516: crash loading multipart/x-mixed-replace data on windows safari
     7
     8        * http/tests/multipart/resources/multipart-nodashes.php: Added.
     9        * http/tests/multipart/win-boundary-crash-expected.txt: Added.
     10        * http/tests/multipart/win-boundary-crash.html: Added.
     11
    1122007-07-06  Jungshik Shin <jungshik.shin@gmail.com>
    213
  • trunk/WebCore/ChangeLog

    r24052 r24053  
     12007-07-06  Tony Chang  <idealisms@gmail.com>
     2
     3        Reviewed by Maciej.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=14516
     6        Bug 14516: crash loading multipart/x-mixed-replace data on windows safari
     7
     8        NULL check m_resourceData to prevent a crash in Safari on Windows.
     9
     10        * loader/ResourceLoader.cpp:
     11        (WebCore::ResourceLoader::clearResourceData):
     12
    1132007-07-06  Jungshik Shin  <jungshik.shin@gmail.com>
    214
  • trunk/WebCore/loader/ResourceLoader.cpp

    r23964 r24053  
    162162void ResourceLoader::clearResourceData()
    163163{
    164     m_resourceData->clear();
     164    if (m_resourceData)
     165        m_resourceData->clear();
    165166}
    166167
Note: See TracChangeset for help on using the changeset viewer.