Bug 172556 - Vector::grow() will loop indefinitely and cause memory access violation if the new size is less than the current size
Summary: Vector::grow() will loop indefinitely and cause memory access violation if th...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 15:02 PDT by Said Abou-Hallawa
Modified: 2017-05-27 00:08 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2017-05-24 15:02:39 PDT
Similar issue will happen with Vector::shrink() if the new size is larger than the current size.
Comment 1 Alexey Proskuryakov 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.