mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
parent
539bbf8653
commit
a056eb85ff
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user