git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4a2e63
)
r20602: Fix coverity ID 339. SMB_ASSERT does not panic without -DDEVELOPER.
author
Volker Lendecke
<vlendec@samba.org>
Mon, 8 Jan 2007 08:00:53 +0000
(08:00 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:16:57 +0000
(12:16 -0500)
Volker
source/smbd/notify.c
patch
|
blob
|
history
diff --git
a/source/smbd/notify.c
b/source/smbd/notify.c
index bcd8fcb0ab1f6ec14e9b191b4c0df9eb6ae4ce97..6bedb17261f8b7b60d1a48b076406417548cd18a 100644
(file)
--- a/
source/smbd/notify.c
+++ b/
source/smbd/notify.c
@@
-219,7
+219,10
@@
static void change_notify_remove_request(struct notify_change_request *remove_re
break;
}
}
break;
}
}
- SMB_ASSERT(req != NULL);
+
+ if (req == NULL) {
+ smb_panic("notify_req not found in fsp's requests\n");
+ }
DLIST_REMOVE(fsp->notify->requests, req);
DLIST_REMOVE(notify_changes_by_mid, req->mid_map);
DLIST_REMOVE(fsp->notify->requests, req);
DLIST_REMOVE(notify_changes_by_mid, req->mid_map);