diff options
Diffstat (limited to 'kernel/src/check/ubsan.c')
| -rw-r--r-- | kernel/src/check/ubsan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/src/check/ubsan.c b/kernel/src/check/ubsan.c index 2e302bb..c3933da 100644 --- a/kernel/src/check/ubsan.c +++ b/kernel/src/check/ubsan.c @@ -53,6 +53,7 @@ static void ubsan_abort(const struct ubsan_source_location* location, if ( !location || !location->filename ) location = &unknown_location; + panic_rsp = 0; panic( "filename = %s; line = %d; column = %d; violation = %s;\n", location->filename, location->line, location->column, violation); |
