mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-08 21:12:53 +02:00
All functions assume that the pointer is never null, so pass by reference, to avoid accidental segfaults at runtime, or at least make them more obvious. Also, remove unused c-style casts in touched lines. Also, add CHECK_NONFATAL checks, to turn segfault crashes into an recoverable runtime error with debug information.
2.1 KiB
2.1 KiB