An crash when GetSpareOrNewBlock returns a contiguous address

15 views
Skip to first unread message

xinwei tang

unread,
Jul 3, 2024, 5:29:58 AM (2 days ago) Jul 3
to v8-dev
Hello, I found a case of crash, if NewArray in GetSpareOrNewBlock returns a contiguous address.
 If consecutive calls to HandleScope::Extend result in the first call's limit being exactly equal to the second call's block_start, then during HandleScope::DeleteExtensions, it will incorrectly judge that it is in a SealedHandleScope, leading to subsequent out-of-bounds access.  
Reply all
Reply to author
Forward
0 new messages