[Pkg-samba-maint] Bug#622673: Still segfaults with printing from Windows 7

Steinar H. Gunderson sgunderson at bigfoot.com
Sun Oct 12 10:29:04 UTC 2014

On Sun, Oct 12, 2014 at 12:16:49PM +0200, Steinar H. Gunderson wrote:
>    #4 /usr/sbin/smbd(_spoolss_EnumPrinters+0x3be) [0x7f9f2ae8a81e]

Even though the address is weird, _spoolss_EnumPrinters+0x3be is
source3/rpc_server/spoolss/srv_spoolss_nt.c line 4429, which reads:

        if ((servername[0] == '\\') && (servername[1] == '\\')) {

This sounds a lot like this bug:


which has a very simple patch (check if servername is NULL first),
in upstream for over a year. Would you be willing to consider a fix in

/* Steinar */
Homepage: http://www.sesse.net/

More information about the Pkg-samba-maint mailing list