Date:   Thu Oct 17 06:39:44 2002
Author: tpot

Update of /data/cvs/samba/source/rpc_parse
In directory dp.samba.org:/tmp/cvs-serv30936/rpc_parse

Modified Files:
        parse_spoolss.c 
Log Message:
When unmarshalling a relstr, don't unmarshall the string data if the
offset is zero.  Previously we were jumping to the start of the
parse buffer (i.e offset zero) and reading string data until we hit
a terminating NULL.

Test case: in a PRINTER_INFO_0 structure, the servername field may be 
NULL when doing an enumprinters with flags = PRINTER_ENUM_LOCAL.


Revisions:
parse_spoolss.c         1.190 => 1.191
        
http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_spoolss.c?r1=1.190&r2=1.191

Reply via email to