Bug 77799

Summary: SharedBuffer::getSomeData() can potentially return a pointer past the data
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: Page LoadingAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal CC: ddkilzer, eric, kling, psolanki
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 77718    
Bug Blocks:    
Attachments:
Description Flags
Patch ddkilzer: review+, ddkilzer: commit-queue-

Benjamin Poulain
Reported 2012-02-03 19:50:05 PST
SharedBuffer::getSomeData() can potentially return a pointer past the data. It does nothing bad at the moment because all the call to SharedBuffer::getSomeData() are done the same way, but nothing prevent such accident in the future.
Attachments
Patch (2.81 KB, patch)
2012-02-03 19:57 PST, Benjamin Poulain
ddkilzer: review+
ddkilzer: commit-queue-
Benjamin Poulain
Comment 1 2012-02-03 19:57:36 PST
Benjamin Poulain
Comment 2 2012-02-03 19:58:31 PST
This patch is on top of #77718, please disregard the bots.
David Kilzer (:ddkilzer)
Comment 3 2012-02-11 21:47:39 PST
David Kilzer (:ddkilzer)
Comment 4 2012-02-11 21:50:27 PST
Comment on attachment 125469 [details] Patch r=me
Benjamin Poulain
Comment 5 2012-02-13 17:41:09 PST
Note You need to log in before you can comment on or make changes to this bug.