summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-17 03:12:56 +0000
committerJeremy Allison <jra@samba.org>2000-05-17 03:12:56 +0000
commitc560164030c0b842ee06f651a2b019c5596624a2 (patch)
tree1b4c424793c633e2ee8a8f784d54435886cf20fa /source3/rpc_server
parent2b15e8a33efeb14d2132a32396537d144d2f0a2c (diff)
downloadsamba-c560164030c0b842ee06f651a2b019c5596624a2.tar.gz
samba-c560164030c0b842ee06f651a2b019c5596624a2.tar.bz2
samba-c560164030c0b842ee06f651a2b019c5596624a2.zip
Fixed bug where mallocd size of prs_struct could be larger than
incoming packet. Ensure new alloced memory is zeroed before use. Jeremy. (This used to be commit 1c3193aa1c1137734dc34ef2e6d62abb0609c30e)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 9ba62ea656..06743d8d16 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -110,7 +110,7 @@ BOOL create_next_pdu(pipes_struct *p)
p->hdr.flags = 0;
/*
- * Work out how much we can fit in a sigle PDU.
+ * Work out how much we can fit in a single PDU.
*/
data_space_available = sizeof(p->out_data.current_pdu) - RPC_HEADER_LEN - RPC_HDR_RESP_LEN;