[Samba] Printing eats my CPU
Gerald Carter
jerry at samba.org
Mon Jul 29 10:19:04 GMT 2002
On Mon, 29 Jul 2002, Franz Sirl wrote:
> >Aha, trying to allocate 0 bytes failed! I have no idea how this RPC stuff
> >works, but my guess is that my enabling/of the prolog/epilog sequences
> >(TempKcPrologEpilogData?) in the printer driver settings created the
> >entry, but since I disabled it immediately again, it wasn't deleted, but
> >set to 0 length.
>
> Looking at other places in the samba source, data_len==0 seems to be a
> perfectly valid condition, so I tried the appended patch and all is fine now!
Well spotted. I thought we had already fixed this previously. Oh
well....
I'm applying the patch now.
cheers, jerry
---------------------------------------------------------------------
Hewlett-Packard http://www.hp.com
SAMBA Team http://www.samba.org
-- http://www.plainjoe.org
"Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba
mailing list