bug in HEAD: init_unistr2_from_unistr

Elrond elrond at samba.org
Sat Aug 5 15:40:14 GMT 2000


since I haven't asked, wether I may modify HEAD:

in rpc_parse/parse_misc.c:init_unistr2_from_unistr

	if ((from->buffer)[i]=='\0' && (from->buffer)[(2*i)+1]=='\0')

should only be:

	if (from->buffer[i]==0)

the buffer is already a "uint16 *", and accessing 2*i+1 is
likely to be out of allocated memory.


p.s.: Or where should I post this?

More information about the samba-technical mailing list