safe_strcpy errors
Gerald Carter
gcarter at valinux.com
Mon Dec 4 03:13:00 GMT 2000
Torsten Curdt wrote:
>
> > > ERROR: string overflow by 5 in safe_strcpy
> > > [/guitar guitars tablature music mp3 olga
> > > percussio]
> >
> > Currently one of the issues that needs to be
> > rewritten in Samba is the static nature of strings
> > (fstrings & pstrings). Both are declared as char
> > arrays with a fixed length. The strcpy, strcat, etc...
> > functions are wrapped as to prevent buffer overflows.
> > The problem is things like what you are experiencing.
> > (although this could be caused by RPC bugs in other
> > parts of the code).
> >
> > In order to give you an honest answer, we would need
> > to see level 10 debug logs at the time of the error.
>
> Is this a request? ;) I'd be happy helping to track this
> down...
Sure. Send me a level 10 debug log of the failure.
I need the surrounding information 'cause I need to know
what string was being passed in.
Cheers, jerry
--
----------------------------------------------------------------------
/\ Gerald (Jerry) Carter Professional Services
\/ http://www.valinux.com/ VA Linux Systems gcarter at valinux.com
http://www.samba.org/ SAMBA Team jerry at samba.org
http://www.plainjoe.org/ jerry at plainjoe.org
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba-technical
mailing list