WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207415
Harden HashTable IPC decoders
https://bugs.webkit.org/show_bug.cgi?id=207415
Summary
Harden HashTable IPC decoders
Alex Christensen
Reported
2020-02-07 16:07:15 PST
Harden HashTable IPC decoders
Attachments
Patch
(2.18 KB, patch)
2020-02-07 16:07 PST
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(3.33 KB, patch)
2020-02-07 16:15 PST
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(3.60 KB, patch)
2020-02-07 16:23 PST
,
Alex Christensen
cdumez
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2020-02-07 16:07:44 PST
Created
attachment 390142
[details]
Patch
Alex Christensen
Comment 2
2020-02-07 16:15:04 PST
Created
attachment 390144
[details]
Patch
Chris Dumez
Comment 3
2020-02-07 16:23:53 PST
Comment on
attachment 390144
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=390144&action=review
> Source/WebKit/Platform/IPC/ArgumentCoders.h:392 > + if (UNLIKELY(!HashMapType::isValidValue(*key) || !hashMap.add(WTFMove(*key), WTFMove(*value)).isNewEntry)) {
I thought it was isValidKey() for HashMap and isValidValue() for HashSet?
> Source/WebKit/Platform/IPC/ArgumentCoders.h:447 > + if (UNLIKELY(!HashSetType::isValidKey(*key) || !hashSet.add(WTFMove(*key)).isNewEntry)) {
ditto.
Alex Christensen
Comment 4
2020-02-07 16:23:56 PST
Created
attachment 390145
[details]
Patch
Chris Dumez
Comment 5
2020-02-07 16:25:35 PST
Comment on
attachment 390145
[details]
Patch r=me
Alex Christensen
Comment 6
2020-02-07 16:44:16 PST
http://trac.webkit.org/r256081
Radar WebKit Bug Importer
Comment 7
2020-02-07 16:45:26 PST
<
rdar://problem/59278838
>
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