This is Interesting: Free IT Magazines  
Home > Archive > Samba > June 2004 > [Samba] Re: string overflow in safe_strcpy





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Samba] Re: string overflow in safe_strcpy
Carl

2004-06-29, 3:03 am


I updated our server to 3.0.5pre1 this morning from the fc1 rpms
linked by samba.org.
But the errors persist, But like corey they do dissappear when "mangling
method = hash" is rem'd out but this then makes long file names
unreadable to programs that use 8.3 filenames, like some of the old
compilers we use here.

The errors occur at the sametime as Corey's when ever you browse a share
you get an error for all the files in that directory.

Is there any more info you might need to track this down?

Thanks,
Carl Matthews

sample of my log file :
Jun 29 08:41:16 mandrake1 nss_wins[27719]: ERROR: string overflow by 1
(57 - 56) in safe_strcpy [Software & Driver downloads HP Officejet g55
All-]
Jun 29 08:41:16 mandrake1 nss_wins[27719]: [2004/06/29 08:41:16, 0]
lib/util_str.c:safe_strcpy_fn(600)
Jun 29 08:41:16 mandrake1 nss_wins[27719]: ERROR: string overflow by 1
(9 - 8) in safe_strcpy [HP OF~YU.URL]
Jun 29 08:41:16 mandrake1 nss_wins[27719]: [2004/06/29 08:41:16, 0]
lib/util_str.c:safe_strcpy_fn(600)
Jun 29 08:41:16 mandrake1 nss_wins[27719]: ERROR: string overflow by 1
(97 - 96) in safe_strcpy [HP Officejet g55 All-in-One HP OfficeJet G
Series]
Jun 29 08:41:16 mandrake1 nss_wins[27719]: [2004/06/29 08:41:16, 0]
lib/util_str.c:safe_strcpy_fn(600)
Jun 29 08:41:16 mandrake1 nss_wins[27719]: ERROR: string overflow by 1
(9 - 8) in safe_strcpy [28-06~LT.ZIP]
Jun 29 08:41:16 mandrake1 nss_wins[27719]: [2004/06/29 08:41:16, 0]
lib/util_str.c:safe_strcpy_fn(600)
Jun 29 08:41:16 mandrake1 nss_wins[27719]: ERROR: string overflow by 1
(20 - 19) in safe_strcpy [28-06-2004 09-56-06.zip]

I updateJeremy Allison wrote:

> On Fri, Jun 25, 2004 at 12:57:53AM +0100, Carl wrote:
>
>
>
> Can you try 3.0.5pre1. This looks like a bug we've fixed w.r.t.
> NetBIOS names.
>
> Jeremy.


--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2010 webservertalk.com