diff options
author | Günther Deschner <gd@samba.org> | 2009-11-24 15:22:04 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-11-24 15:49:35 +0100 |
commit | 846aa18648f3b34ab5cbc4dc4ba334bbedeab2f4 (patch) | |
tree | cbe1f28f1d0ce5aeb3d039d3b2a00053fc1ec5cb /source3/rpc_server | |
parent | 2707dfb441801e753c74657f20b5ca22a274778f (diff) | |
download | samba-846aa18648f3b34ab5cbc4dc4ba334bbedeab2f4.tar.gz samba-846aa18648f3b34ab5cbc4dc4ba334bbedeab2f4.tar.bz2 samba-846aa18648f3b34ab5cbc4dc4ba334bbedeab2f4.zip |
s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server.
Thanks Metze for review!
Guenther
Diffstat (limited to 'source3/rpc_server')
-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 072090b14a..703dca15e8 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -9203,7 +9203,7 @@ WERROR _spoolss_EnumPrinterKey(pipes_struct *p, goto done; } - if (r->in.offered == blob.length) { + if (r->in.offered >= blob.length) { memcpy(r->out.key_buffer, blob.data, blob.length); } |