Bug 286714
| Summary: | [libpas] Return more accurate error code in PGM report extraction code | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zak ridouh <zakr> |
| Component: | bmalloc | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ggaren, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
zak ridouh
We should return a more accurate error signal in the `pas_report_crash_extract_pgm_failure()` function in `pas_report_crash.c` to signal differently when we fail to extract a report, versus when a report does not exist.
This likely means returning `KERN_NOT_FOUND` instead of `KERN_FAILURE`, to allow callers of this function to distinguish between failure and just no PGM report existing.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/143851666>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/39727
EWS
Committed 289550@main (1bbbb0369005): <https://commits.webkit.org/289550@main>
Reviewed commits have been landed. Closing PR #39727 and removing active labels.