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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user