Bug 172556

Summary: Vector::grow() will loop indefinitely and cause memory access violation if the new size is less than the current size
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, bfulgham, ggaren, jer.noble, jonlee, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=172552

Said Abou-Hallawa
Reported 2017-05-24 15:02:39 PDT
Similar issue will happen with Vector::shrink() if the new size is larger than the current size.
Attachments
Alexey Proskuryakov
Comment 1 2017-05-27 00:08:08 PDT
There is already an assertion to guard against this. This doesn't seem like something that needs fixing to me.
Note You need to log in before you can comment on or make changes to this bug.