Bug 158082
| Summary: | Syntax checking parser is accepting invalid function declaration in eval, leading to crash when reprising | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Oliver Hunt <oliver> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | CLOSED DUPLICATE | ||
| Severity: | Normal | CC: | ggaren, saam |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Oliver Hunt
Found by fuzzing:
eval('-function("\udde3o"=1}')
There are many ways in which this is syntactically wrong, so it's unclear how it gets through the syntax checker at all
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Oliver Hunt
Womp womp
*** This bug has been marked as a duplicate of bug 158128 ***