git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0addd1
)
use abort() instead of exit() in smb_panic()
author
Andrew Tridgell
<tridge@samba.org>
Wed, 28 Oct 1998 06:05:34 +0000
(06:05 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 28 Oct 1998 06:05:34 +0000
(06:05 +0000)
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
)
source3/lib/util.c
patch
|
blob
|
history
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index ced6786194dba71573d8bf090ef236cb02c00d6b..a0500295485349e56ec92140680d6e63b4afed09 100644
(file)
--- 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(
);
}