Bug 249380
| Summary: | WTF::Vector: null pointer check for mem functions parameters | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, bfulgham, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103630836>