WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
113279
HTTPHeaderMap::copyData() could call uncheckedAppend()
https://bugs.webkit.org/show_bug.cgi?id=113279
Summary
HTTPHeaderMap::copyData() could call uncheckedAppend()
Chris Dumez
Reported
2013-03-26 01:01:36 PDT
HTTPHeaderMap::copyData() calls reserveInitialCapacity() on the Vector but then uses append() instead of uncheckedAppend(). Since the capacity was previously reserved, we can call uncheckedAppend() to bypass capacity checks.
Attachments
Patch
(1.73 KB, patch)
2013-03-26 01:51 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2013-03-26 01:51:38 PDT
Created
attachment 195031
[details]
Patch
WebKit Review Bot
Comment 2
2013-03-26 10:07:22 PDT
Comment on
attachment 195031
[details]
Patch Clearing flags on attachment: 195031 Committed
r146899
: <
http://trac.webkit.org/changeset/146899
>
WebKit Review Bot
Comment 3
2013-03-26 10:07:26 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug