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:
6a5bdb7
)
r24400: Fix a valgrind bug
author
Volker Lendecke
<vlendec@samba.org>
Tue, 14 Aug 2007 08:23:54 +0000
(08:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:29:40 +0000
(12:29 -0500)
(This used to be commit
7c65deaed734f5623813922637877b94fc9a6259
)
source3/smbd/notify.c
patch
|
blob
|
history
diff --git
a/source3/smbd/notify.c
b/source3/smbd/notify.c
index 144af093cf33ab8a792c4a153349696eb7e1545c..cf64acae072d8e70c10afb0331c7f4960b028367 100644
(file)
--- a/
source3/smbd/notify.c
+++ b/
source3/smbd/notify.c
@@
-180,10
+180,12
@@
void change_notify_reply(const uint8 *request_buf, uint32 max_param,
goto done;
}
+ smb_setlen(NULL, request_buf, smb_size);
+
init_smb_request(req, request_buf);
- send_nt_replies
_new
(req, NT_STATUS_OK, prs_data_p(&ps),
-
prs_offset(&ps), NULL, 0);
+ send_nt_replies(req, NT_STATUS_OK, prs_data_p(&ps),
+ prs_offset(&ps), NULL, 0);
done:
TALLOC_FREE(req);