[PATCH] string overflow in safe_string_cpy()

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

At 17:44 07.04.2003 +0200, Stefan (metze) Metzmacher wrote:
>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 chec
>the rpcstr_pull() calls everywhere! :-)

I missed the dest[0] = 0 in one place...

new patch :-)

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

More information about the samba-technical mailing list