Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1bbbb0369005eb5558c6a8a1bb344a01af411f66
      
https://github.com/WebKit/WebKit/commit/1bbbb0369005eb5558c6a8a1bb344a01af411f66
  Author: Zak Ridouh <[email protected]>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M Source/bmalloc/libpas/src/libpas/pas_report_crash.c

  Log Message:
  -----------
  [libpas] Return more accurate error code in PGM report extraction code
https://bugs.webkit.org/show_bug.cgi?id=286714
rdar://143851666

Reviewed by David Kilzer.

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 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.

* Source/bmalloc/libpas/src/libpas/pas_report_crash.c:
(pas_report_crash_extract_pgm_failure): Change return at end of function
from `KERN_FAILURE` to `KERN_NOT_FOUND`.

Canonical link: https://commits.webkit.org/289550@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to