HEAD: possible bug in get_printerdrivernumber

Elrond elrond at samba.org
Sat Aug 19 18:13:02 GMT 2000


Hi,

get_printerdrivernumber in lanman.c seems to have a small
bug:

If it gets into the true-path of this:

                if (!lines) 
                {
                        DEBUG(3,("Can't open %s - %s\n", lp_driverfile(snum),st
                } 

Neither p nor ok are set to any value (so inherit, what was
on the stack).
ok could be True, p could be an invalid pointer.


    Elrond




More information about the samba-technical mailing list