| Summary: | [WebKit2] add some protection code at IndexedDB | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jincheol Jo <jincheol.jo> | ||||
| Component: | WebKit2 | Assignee: | Jincheol Jo <jincheol.jo> | ||||
| Status: | RESOLVED WONTFIX | ||||||
| Severity: | Normal | CC: | andersca, beidson, bfulgham, gyuyoung.kim, ossy, sam, sihui_liu | ||||
| Priority: | P2 | ||||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Jincheol Jo
2015-08-25 02:19:34 PDT
Created attachment 259832 [details]
Patch
Are you just offering this patch because of code inspection, or do you actually have a reproducible case of the null deref crash? (In reply to comment #2) > Are you just offering this patch because of code inspection, or do you > actually have a reproducible case of the null deref crash? When I blocked all function body code of KeyedEncoder and KeyedDecoder for my test, it triggered crash in that line. (In reply to comment #3) > (In reply to comment #2) > > Are you just offering this patch because of code inspection, or do you > > actually have a reproducible case of the null deref crash? > > When I blocked all function body code of KeyedEncoder and KeyedDecoder for > my test, it triggered crash in that line. For what test? This patch has no test. And what do you mean "blocked all function body code of KeyedEncoder and KeyedDecoder"? (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Are you just offering this patch because of code inspection, or do you > > > actually have a reproducible case of the null deref crash? > > > > When I blocked all function body code of KeyedEncoder and KeyedDecoder for > > my test, it triggered crash in that line. > > For what test? This patch has no test. Since I hadn't explicitly stated this, I will now - Patches require tests unless there's a darned good reason why they're untestable. It sounds like you have a way of triggering the crash, we'd like a test that triggers the crash along with the patch. (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > (In reply to comment #2) > > > > Are you just offering this patch because of code inspection, or do you > > > > actually have a reproducible case of the null deref crash? > > > > > > When I blocked all function body code of KeyedEncoder and KeyedDecoder for > > > my test, it triggered crash in that line. > > > > For what test? This patch has no test. > > Since I hadn't explicitly stated this, I will now - Patches require tests > unless there's a darned good reason why they're untestable. > > It sounds like you have a way of triggering the crash, we'd like a test that > triggers the crash along with the patch. (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > (In reply to comment #2) > > > > Are you just offering this patch because of code inspection, or do you > > > > actually have a reproducible case of the null deref crash? > > > > > > When I blocked all function body code of KeyedEncoder and KeyedDecoder for > > > my test, it triggered crash in that line. > > > > For what test? This patch has no test. > > Since I hadn't explicitly stated this, I will now - Patches require tests > unless there's a darned good reason why they're untestable. > > It sounds like you have a way of triggering the crash, we'd like a test that > triggers the crash along with the patch. Thanks for quick reply, I will prepare a test. Comment on attachment 259832 [details]
Patch
Removing this from the request queue, pending a testcase.
|