|
|
|
|
|
by junon
363 days ago
|
|
> In most situations panicking and deferencing a null pointer leads to the exact same scenario: The binary crashes. This is a false and dangerous misconception people seem to get wrong a lot of the time. There's no guarantee that's the case, especially when working in C where pointers are often subscripted. It's the common behavior that a trap occurs but nothing dictates that's actually what will happen. |
|