diff options
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/reply.c b/source4/smb_server/reply.c index 9b3675aeac..7b33f4334b 100644 --- a/source4/smb_server/reply.c +++ b/source4/smb_server/reply.c @@ -2369,7 +2369,7 @@ void reply_sendtxt(struct smbsrv_request *req) void reply_special(struct smbsrv_request *req) { uint8_t msg_type; - char buf[4]; + char *buf = talloc_zero_array_p(req, char, 4); msg_type = CVAL(req->in.buffer,0); |