NEW 249380
WTF::Vector: null pointer check for mem functions parameters
https://bugs.webkit.org/show_bug.cgi?id=249380
Summary WTF::Vector: null pointer check for mem functions parameters
Ahmad Saleem
Reported 2022-12-15 01:55:26 PST
Hi Team,, While going through Blink's commit, I came across another potential patch, which can be discussed to harden Webkit by introducing null check. Blink Commit - https://chromium.googlesource.com/chromium/blink/+/720d15358dc57c4b7b0a41ef52e2f16888e0a554 Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/d80ae68ecc7a4a5756a38de4a2eb3d2360375012/Source/WTF/wtf/Vector.h#L157 & https://github.com/WebKit/WebKit/blob/d80ae68ecc7a4a5756a38de4a2eb3d2360375012/Source/WTF/wtf/Vector.h#L187 Appreciate if someone can share input whether we need this or not. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2022-12-22 01:56:17 PST
Note You need to log in before you can comment on or make changes to this bug.