Commit 9cbb9a8
Ralph Küpper
fix(runtime): js_object_has_property must reject handle-band receivers
`key in <handle>` where the receiver is a Web Fetch Headers/Request/Response
handle (a fetch-band registry id, e.g. 0x40007) dereferenced the id as a heap
object -> EXC_BAD_ACCESS. Return false for handle-band receivers instead, same
family as the string_from_header / inline-.length / json_stringify guards.1 parent 43f212e commit 9cbb9a8
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2263 | 2263 | | |
2264 | 2264 | | |
2265 | 2265 | | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
2266 | 2279 | | |
2267 | 2280 | | |
2268 | 2281 | | |
| |||
0 commit comments