diff options
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index d781e2c950..5840283eab 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1342,6 +1342,10 @@ void do_drv_upgrade_printer(struct messaging_context *msg, continue; } + if (!pinfo2->drivername) { + continue; + } + if (strcmp(drivername, pinfo2->drivername) != 0) { continue; } |