diff options
author | Jeremy Allison <jra@samba.org> | 2010-02-09 14:56:12 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-02-09 14:56:12 -0800 |
commit | a056eb85ff8cabc05970c789abba890d914e7ecb (patch) | |
tree | 76c3556d177d419e3d3c804660395bacdd6cc94f | |
parent | 539bbf8653e0117dea139015b4b71be768e3f3d7 (diff) | |
download | samba-a056eb85ff8cabc05970c789abba890d914e7ecb.tar.gz samba-a056eb85ff8cabc05970c789abba890d914e7ecb.tar.bz2 samba-a056eb85ff8cabc05970c789abba890d914e7ecb.zip |
Missed one check on the memcpy for bug #7063.
Jeremy.
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 33d47df33a..7a4c9c9263 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -9455,7 +9455,7 @@ WERROR _spoolss_XcvData(pipes_struct *p, *r->out.status_code = 0; - if (r->out.out_data && r->in.out_data_size && out_data.length) { + if (r->out.out_data && out_data.data && r->in.out_data_size && out_data.length) { memcpy(r->out.out_data, out_data.data, MIN(r->in.out_data_size, out_data.length)); } |