From cf0962789447d881cfeb220b4d20bcbcf0197fe8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 17 Jul 2007 23:57:13 +0000 Subject: r23940: Added missing line that was deleted accidently. Should fix the build. Jeremy. (This used to be commit b085366d5b982b635561f1d3211a6f3197258e6f) --- source3/smbd/notify.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 40dcecee26..872ec86644 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -175,6 +175,8 @@ void change_notify_reply(const char *request_buf, uint32 max_param, goto done; } + buflen = smb_size+38+prs_offset(&ps) + 4 /* padding */; + if (!(outbuf = SMB_MALLOC_ARRAY(char, buflen))) { change_notify_reply_packet(request_buf, NT_STATUS_NO_MEMORY); goto done; -- cgit