This patch initializes the return buffer used in GetPrinterDriverA to
commit6a80c8a26020fbd8e2a62876b4c8e679fa0d6d7f
authorUlrich Czekalla <ulrichc@corel.ca>
Fri, 25 Feb 2000 21:38:17 +0000 (25 21:38 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 25 Feb 2000 21:38:17 +0000 (25 21:38 +0000)
treea9216be03c1f7e071eb66d4f879fb0d534fa50fb
parent6fdfd53eaa04518ce0e7ca2050da9894e41eba43
This patch initializes the return buffer used in GetPrinterDriverA to
zeros. This prevents buffer overruns caused by accessing garbage data.
Some improvements to the NULL check patch.

Gautam Jain
EnumPrinters is not returning the number of printers found in case the
parameter dwLevel is 1.
dlls/winspool/info.c