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
Patch (3.33 KB, patch)
2020-02-07 16:15 PST, Alex Christensen
no flags
Patch (3.60 KB, patch)
2020-02-07 16:23 PST, Alex Christensen
cdumez: review+
Alex Christensen
Comment 1 2020-02-07 16:07:44 PST
Alex Christensen
Comment 2 2020-02-07 16:15:04 PST
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
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
Radar WebKit Bug Importer
Comment 7 2020-02-07 16:45:26 PST
Note You need to log in before you can comment on or make changes to this bug.