[PATCH] string overflow in safe_string_cpy()

Stefan (metze) Metzmacher metze at metzemix.de
Mon Apr 7 15:44:16 GMT 2003


Hi Andrew,

here's a patch witch fixes the string overflow problem in local_lookup_name()

for me.

maybe its wrong to set dest[0] = 0, but then we have to check

the rpcstr_pull() calls everywhere! :-)



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpcstr_pull-01.diff
Type: application/octet-stream
Size: 2278 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030407/348d4be5/rpcstr_pull-01.obj


More information about the samba-technical mailing list