Bug 26294

Summary: Uninitialized memory read copying ResourceResponse
Product: WebKit Reporter: Darin Fisher (:fishd, Google) <fishd>
Component: PlatformAssignee: Adam Barth <abarth>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, koivisto
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
v1 patch dglazkov: review+

Description Darin Fisher (:fishd, Google) 2009-06-10 09:47:14 PDT
Uninitialized memory read copying ResourceResponse

http://build.chromium.org/buildbot/waterfall/builders/Webkit (purify)/builds/7557/steps/purify test: test_shell/logs/stdio

This started failing somewhere between r44438 and r55455.

Looking at ResourceResponseBase.cpp, it looks like m_lastModifiedDate is never initialized.  This seems like a regression from r44453.
Comment 1 Darin Fisher (:fishd, Google) 2009-06-10 09:51:08 PDT
r44452 added a bunch of other member vars that are similarly uninitialized.
Comment 2 Darin Fisher (:fishd, Google) 2009-06-10 10:10:11 PDT
Created attachment 31134 [details]
v1 patch
Comment 3 Dimitri Glazkov (Google) 2009-06-10 10:11:27 PDT
Comment on attachment 31134 [details]
v1 patch

Weee!
Comment 4 Eric Seidel (no email) 2009-06-12 15:47:45 PDT
Patch is not made from the root, so my fancy auto-commit script (bug 26283) can't handle it yet. :(
Comment 5 Adam Barth 2009-06-13 21:27:34 PDT
Will land.
Comment 6 Adam Barth 2009-06-13 21:42:54 PDT
This patch is already in the tree.  Not sure what revision.