bryancall opened a new pull request, #12756: URL: https://github.com/apache/trafficserver/pull/12756
## Summary - Fix ASAN SEGV in `crashlog_write_backtrace()` when `ServerBacktrace()` returns 0 but leaves `trace` pointer null - This occurs when the target process has already exited before crashlog can retrieve the backtrace - Added null check before calling `fprintf()` with the trace pointer ## Test plan - [x] Build with ASAN (`cmake --preset dev-asan`) - [x] Create invalid remap.config to trigger crash - [x] Verify traffic_crashlog no longer crashes with ASAN SEGV - [x] Verify crash log contains "Unable to retrieve backtrace: trace is null" message -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
