diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-28 06:05:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-28 06:05:34 +0000 |
commit | fb15277b5e4064432feb79f37f010c792cee1634 (patch) | |
tree | 12a4898375083618303184b41a9ed9cafc2e5dce /source3/lib/util.c | |
parent | c0addd11b805bcda61da4f20da8b49ecbfbe6b57 (diff) | |
download | samba-fb15277b5e4064432feb79f37f010c792cee1634.tar.gz samba-fb15277b5e4064432feb79f37f010c792cee1634.tar.bz2 samba-fb15277b5e4064432feb79f37f010c792cee1634.zip |
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 used to be commit 7a50ca81a5842f7139e67c0ff9de79518599f445)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index ced6786194..a050029548 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -4179,7 +4179,7 @@ void smb_panic(char *why) system(cmd); } DEBUG(0,("PANIC: %s\n", why)); - exit(1); + abort(); } |