HEAD: possible bug in get_printerdrivernumber
Gerald Carter
gcarter at valinux.com
Mon Aug 21 14:38:26 GMT 2000
Elrond wrote:
>
> 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
You're right. I'll fix it.
jerry
--
----------------------------------------------------------------------
/\ Gerald (Jerry) Carter Professional Services
\/ http://www.valinux.com VA Linux Systems gcarter at valinux.com
http://www.samba.org SAMBA Team jerry at samba.org
http://www.eng.auburn.edu/~cartegw
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba-technical
mailing list