[Samba] Re: String overflow in safe_strcpy - bug in documentation

Carl cmatthews at myrealbox.com
Fri Jul 30 18:58:59 GMT 2004


Hi jeremy,

You not going to like this but I am still getting the errors "String 
overflow in safe_strcpy" with the same config file as before and with 
the latest release (3.0.5.2 - fedora2 rpms from 
http://www.mirror.ac.uk/sites/ftp.samba.org/Binary_Packages/Fedora/RPMS/i386/core/2/ 
)

I have included the errors in the attached .txt file.

all i had to do to reproduce the error was goto a directory containing 
the samba rpm files ( which are over the 8.3 ) and of course the same 
happens for any other file over the 8.3 but not for directories.

Many Thanks,
Carl.

Jeremy Allison wrote:
> On Mon, Jul 26, 2004 at 10:21:09AM +0100, Carl Matthews wrote:
> 
>>Hi Jeremy,
>>
>>Ive been checking the svn for mangling fixes but didnt see any should i 
>>just add it to bugzilla so it theres a record of it?
> 
> 
> It's definately been fixed in the samba-docs svn tree.
> 
> Jeremy.

-------------- next part --------------
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (9 - 8) in safe_strcpy [28-07~CU.ZIP]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (20 - 19) in safe_strcpy [28-07-2004 02-37-34.zip]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (9 - 8) in safe_strcpy [SAMBA~N0.RPM]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (24 - 23) in safe_strcpy [samba-swat-3.0.5-2.i386.rpm]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (9 - 8) in safe_strcpy [SAMBA~SE.RPM]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (19 - 18) in safe_strcpy [samba-3.0.5-2.i386.rpm]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (9 - 8) in safe_strcpy [SAMBA~R7.RPM]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (26 - 25) in safe_strcpy [samba-client-3.0.5-2.i386.rpm]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (9 - 8) in safe_strcpy [SAMBA~54.RPM]
Jul 30 17:12:24 mandrake1 smbd[30156]: [2004/07/30 17:12:24, 0] lib/util_str.c:safe_strcpy_fn(602)
Jul 30 17:12:24 mandrake1 smbd[30156]:   ERROR: string overflow by 1 (26 - 25) in safe_strcpy [samba-common-3.0.5-2.i386.rpm]


More information about the samba mailing list