1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

use abort() instead of exit() in smb_panic()

the reason we don't return() here is that smb_panic() is used not just
for segv but also for detected errors (such as buffer overflows)
This commit is contained in:
Andrew Tridgell
-
parent 177b7b6b19
commit 7a50ca81a5

View File

@@ -4179,7 +4179,7 @@ void smb_panic(char *why)
system(cmd); system(cmd);
} }
DEBUG(0,("PANIC: %s\n", why)); DEBUG(0,("PANIC: %s\n", why));
exit(1); abort();
} }