Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
const char *environment = SPOOLSS_ARCHITECTURE_NT_X86;
DATA_BLOB buffer;
uint32_t offered;
- union spoolss_PrintProcessorDirectoryInfo info;
+ union spoolss_PrintProcessorDirectoryInfo info = {};
uint32_t needed;
struct dcerpc_binding_handle *b = cli->binding_handle;
}
}
- if (W_ERROR_IS_OK(result)) {
+ if (W_ERROR_IS_OK(result) && info.info1.directory_name != NULL) {
printf("%s\n", info.info1.directory_name);
}