mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
r18898: Fix for bug #4100 from Udo Eberhardt <udo.eberhardt@thesycon.de>.
Ensure we initialize values for smb_io_notify_info_data_strings to fix crash. Jeremy.
This commit is contained in:
parent
db458d3e8b
commit
ceefb8dd3c
@ -2887,6 +2887,9 @@ static void spoolss_notify_devmode(int snum,
|
||||
NT_PRINTER_INFO_LEVEL *printer,
|
||||
TALLOC_CTX *mem_ctx)
|
||||
{
|
||||
/* for a dummy implementation we have to zero the fields */
|
||||
data->notify_data.data.length = 0;
|
||||
data->notify_data.data.string = NULL;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user