CVS update: samba/source/rpc_parse

John Reilly jreilly at au2.samba.org
Tue Feb 6 02:34:09 EST 2001


Date:	Tuesday February 6, 2001 @ 2:34
Author:	jreilly

Update of /data/cvs/samba/source/rpc_parse
In directory samba:/tmp/cvs-serv7508/rpc_parse

Modified Files:
      Tag: APPLIANCE_HEAD
	parse_spoolss.c 
Log Message:
Back on 22-Nov-00, JRA and I were trying to figure out why parsing an ADDPRINTERDRIVER
RPC was failing sometimes. We found that the name_ptr was off by 4 bytes somtimes. We
decided this condition could be determined by checking if the version was zero or not.
I found a counter example. While thinking about it, I realised that a name_ptr of NULL
is absurd, a driver without a name just isn't a driver... the name IS the driver.

- parse_spoolss.c:spool_io_printer_driver_info_level_6() if the name_ptr is NULL, get
    the next four bytes as the name_ptr.

JohnR





More information about the samba-cvs mailing list