summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-25 06:42:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:21 -0500
commit294f6f16947c56d3fac5b24e5c95e8df522e18d6 (patch)
treebaab541e6456243dc991a7532c15f09929e57161 /source4/rpc_server
parent4f55a7af084137822c813cbe3822fca54e64df76 (diff)
downloadsamba-294f6f16947c56d3fac5b24e5c95e8df522e18d6.tar.gz
samba-294f6f16947c56d3fac5b24e5c95e8df522e18d6.tar.bz2
samba-294f6f16947c56d3fac5b24e5c95e8df522e18d6.zip
r2050: fixed a case where code assumed you could Realloc the result of a data_blob()
(This used to be commit 1fdccf8dc79ea19a37be7fb047130a7c8e2407e5)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index f7c4689590..5cadeb254f 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -856,8 +856,8 @@ NTSTATUS dcesrv_input(struct dcesrv_connection *dce_conn, const DATA_BLOB *data)
{
NTSTATUS status;
- dce_conn->partial_input.data = Realloc(dce_conn->partial_input.data,
- dce_conn->partial_input.length + data->length);
+ dce_conn->partial_input.data = talloc_realloc(dce_conn->partial_input.data,
+ dce_conn->partial_input.length + data->length);
if (!dce_conn->partial_input.data) {
return NT_STATUS_NO_MEMORY;
}