search for: safe_strcpy

Displaying 20 results from an estimated 73 matches for "safe_strcpy".

2005 Jan 28
0
String overflow with random characters
...server. It has, a number of times, recorded the following lines for a short period of time of 10 seconds, and then not again for days. Has anyone seen these before? It all appears to be random characters. It has only happened from 2 machines out of 30 or so. [2005/01/13 09:33:29, 0] lib/util_str.c:safe_strcpy(877) ERROR: string overflow by 363 in safe_strcpy [^?AA<96>AAA^PèAAAAAAAAAAAAAAª]AAAAAA¡ÅAA#AAA5^AAAAAA^PèA] [2005/01/13 09:33:29, 0] lib/util_str.c:safe_strcpy(877) ERROR: string overflow by 165 in safe_strcpy [^]tAAA6A<82>^?GAnA<81>^]tA6A6A^NnLAnA^R^]tAAA6AðnLA¨AAA*6AA*6A] [...
2004 Sep 01
0
Issues after upgrade to 3.0.6 from 3.0.4; fixed in 3.0.7?
...ster_message_flags: tdb_fetch failed" messages are not gone in 3.0.6 - The biggest issue is however CUPS; while my smb.conf file wasn't changed (of course verified with testparm), but since the upgrade the log files are flooded with these messages: [2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600) ERROR: string overflow by 1 (32 - 31) in safe_strcpy [\\192.168.100.151\DUSSEL_LASER01] My XP clients (sp1), that get their printers installed via the ADS logon script (e.g. \\DUSSEL.XXX.COM\DUSSEL_LASER01 ) now get 2 printers installed: "DUSSEL_LASER01 on dussel" and "DUS...
2003 Dec 11
1
downloaded win98 print drivers fail in Samba 3.0
...ot; on the Win98 node in that the que setup of \\prima\rcfhp completes and creates a spooling window. On attempt to print from the Win98 node an immediate error message reports that printing fails (no other details). Errors shown below in the gim98 samba log on the samba server as lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy Cups access_log/error_log in debug mode show no indication of any contact with Cups printing software from the windows node, or any contact of the "rcfhp" printer during the test period. The samba/printpro rcfhp printer works fine from the server...
2003 Oct 02
1
Unable to enable Add/Remove Printer Drivers (3.0.0)
...Win2003beta clients (both exhibit the same behaviour). I see the following in the log when I connect to "\\barbel\Printers and Faxes" [2003/10/02 09:06:04, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573) ERROR: NULL dest in safe_strcpy [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573) ERROR: NULL dest in safe_strcpy [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573) ERROR: NULL dest in safe_strcpy [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573) ERROR:...
2004 Jul 14
4
String overflow in safe_strcpy .
Just Installed 3.0.5rc1 and the problem persists unfortunately, heres a sample of my log : wins[15212]: [2004/07/12 12:31:03, 0] lib/util_str.c:safe_strcpy_fn(600) Jul 12 12:31:03 mandrake1 nss_wins[15212]: ERROR: string overflow by 1 (9 - 8) in safe_strcpy [TAENO~EI.PDF] Jul 12 12:31:03 mandrake1 nss_wins[15212]: [2004/07/12 12:31:03, 0] lib/util_str.c:safe_strcpy_fn(600) Jul 12 12:31:03 mandrake1 nss_wins[15212]: ERROR: string overflow by 1 (...
2004 Aug 20
3
3.0.6 & "string overflow by 1"
...Office file already open messages), every time I access a printer my logs flood with messages like to those below. It seems I can set printer properites, etc... but when I print the jobs seem to go to never-never land (still researching where the jobs go). [2004/08/20 08:46:27, 0] lib/util_str.c:safe_strcpy_fn(600) ERROR: string overflow by 1 (32 - 31) in safe_strcpy [\\192.168.1.12\HP Business Inkjet 2250 PS] [2004/08/20 08:46:27, 0] lib/util_str.c:safe_strcpy_fn(600) ERROR: string overflow by 1 (32 - 31) in safe_strcpy [\\192.168.1.12\HP Business Inkjet 2250 PS] [2004/08/20 08:46:28, 0] lib/util...
2000 Jan 19
0
safe_strcpy is unsafe
On Thu, Jan 20, 2000 at 08:27:05AM +1100, Michael Stockman wrote: > safe_strcpy is not very safe. It seems that it writes 1 char longer > than maxlen, which is bad if the buffer isn't that long. Example of > bad but common usage: > > pstring str; > safe_strcpy( str, "Hello world", sizeof(str) ); > > This may cause a SIGSEGV! Unfortunately...
2003 Oct 20
1
"NULL dest in safe_strcpy"
I'm running Samba 3.0.0 and seeing a lot of Oct 20 10:02:25 littleboy smbd[2062]: [2003/10/20 10:02:25, 0] lib/util_str.c:safe_strcpy_fn(577) Oct 20 10:02:25 littleboy smbd[2062]: ERROR: NULL dest in safe_strcpy messages. Most things (except the problem I posted earlier) seem to work perfectly.
2003 Nov 17
1
printer permissions <-> ERROR: NULL dest in safe_strcpy (samba 3.0.0)
...39;m using SAMBA 3.0.0 on Solaris 9, it looks very cute, unfortunately I can not set the permissions on the printers (I can as an admin add a user etc. but all changes are lost after applying):-( Is this somehow related to the error entries in the log file: [2003/11/17 14:45:31, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy If so will it be fixed in the 3.0.1 release ? Maybe I missed something obvious too (?) I will send my *.conf's then ;-) best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY | Phone: 0...
2007 Nov 14
2
lib/util_str.c:safe_strcpy ERROR: string overflow by 1
Hi, I've seeing the following error messages recorded in logwatch against samba in two FC6 XA-64 systems with samba 3.0.24-7. lib/util_str.c:safe_strcpy_fn(603) ERROR: string overflow by 1 (24 - 23) in safe_strcpy The main share in use on the first machine is via the guest account with Vista and XP clients, the other has more conventional shares with the Vista PC's as domain members and acl's in use. I've seen some weird behaviour wi...
2004 Jan 23
1
Samba Print "ERROR: NULL dest in safe_strcpy"
...aked something, because now I cannot print! I can connect to the printer via Network Neighborhood, but print jobs do not make it to the printer. I still have access to my shared directories. The log file has the following line printed over and over: "[2004/01/23 12:02:20, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy". My config file: " # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2004/01/23 11:45:52 # Global parameters [global] workgroup = GMLOGIC server string = Rochester Samba Server interfaces = eth0, 192.168.1.5/24 min pa...
2004 Jun 24
2
string overflow in safe_strcpy
I recently upgraded both of my samba servers (mirrors of each other) to 3.0.4, my log files now fill with the following messages (hundred lines per day): Jun 24 13:55:33 Clyde smbd[8597]: [2004/06/24 13:55:33, 0] lib/util_str.c:safe_strcpy_fn(602) Jun 24 13:55:33 Clyde smbd[8597]: ERROR: string overflow by 1 (9 - 8) in safe_strcpy [LIBRA~V$.DOC] Jun 24 14:20:34 Clyde smbd[8597]: [2004/06/24 14:20:34, 0] lib/util_str.c:safe_strcpy_fn(602) Jun 24 14:20:34 Clyde smbd[8597]: ERROR: string overflow by 1 (11 - 10) in safe_strcpy [Co...
1997 Sep 03
1
ERRDOS - ERRbadshare
i'm getting the following error message from smbclient when doing tar backups. what exactly does this error message mean and how can i eliminate it? ERRDOS - ERRbadshare (The sharing mode specified for an Open conflicts with existing FIDs on the file.) opening remote file \windows\system32\config\software.LOG -- Todd Pfaff \ Email: pfaff@mcmaster.ca Computing and
2003 Nov 06
1
strange error-report in smbd.log
Hi, I found the following strange report in smbd.log (using Samba3.0.1pre2cvs): [2003/11/05 10:10:49, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy [2003/11/05 10:10:49, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy [2003/11/05 10:10:49, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy Can anyone help me? Is this all serious? Cheers Peter
2006 Feb 21
0
safe_strcpy problem in Samba 3.0.10
Hi! We have a lot of logfiles showing "zfl04.log.3: ERROR: string overflow by 1 (24 - 23) in safe_strcpy [organisation#rektorat#vrlehre#qe-eval]" I found a reported bug producing this output within older Samba versions than 3.0.4 . But we use version 3.0.10 and no mangling method set within smb.conf . Therefore it should be the defaultvalue hash2 which doesn't have this flaw. Could anyone g...
2007 Nov 30
0
ERROR: string overflow in safe_strcpy
Hello All, Our samba server rarely shows up follwing message in syslog. When this message appears, CPU average will be pretty high. winbindd[9585]: [2007/11/28 15:55:02, 0] lib/util_str.c:safe_strcpy_fn(659) winbindd[9585]: ERROR: string overflow by 1 (256 - 255) in safe_strcpy [01092-6821 winbindd[9585]: S-1-5] Hardware: Dell PowerEdge 2950 OS: Red Hat Enterprise Linux ES4 Update 4 Kernel: 2.6.9-55.0.2.ELsmp RPM packages are: samba-3.0.10-1.4E.12.2 samba-common-3.0.10-1.4E.12.2 s...
2004 Sep 21
0
3.0.7; "string overflow by 1 (32 - 31) in safe_strcpy"
...r and the appropriate drivers are installed on the client too. So far so good. After the upgrade to samba 3.0.7 however (had the same with 3.0.6) I see in the log files of the clients the following messages (a lot of them): \\192.168.100.151\DUSSEL_LASER01] [2004/09/21 12:10:34, 0] lib/util_str.c:safe_strcpy_fn(600) ERROR: string overflow by 1 (32 - 31) in safe_strcpy Besides that, the XP clients get a second printer installed "DUSSEL_LASER01 on 192.168.100.151" besides the "DUSSEL_LASER01 on dussel" printer (which is actually the same). I played a little with downgrading to 3....
2001 Nov 30
1
Problems with utmp
Hi there, I'm using samba-2.2.2 under Solaris 8 and I've got the following problem! I have configured samba with "--with-utmp" and with "--with-quota" and everything works fine. But when look for the last users logged in, in the utmp-database there are only the first seven letters of the username, not eight that we use for usernames. Can you help me with this problem
2007 Jul 20
2
safe_strcpy errors from winbindd (Samba 3.0.25b)
Hi, we've upgraded recently from samba 3.0.23 to 3.0.25b. Since then, we've getting these error messages from winbindd: Jul 17 12:00:23 cvk027 winbindd[20772]: [2007/07/17 12:00:23, 0] lib/util_str.c:safe_strcpy_fn(659) The volume of these messages is very high, many times together with unreadable character garbage. Is there any way to correct or suppress these messages? Our environment is Fedora Core 4 (32-Bit). Kernel 2.6.12.2. Samba is a member Server in a W2K+3 AD Forest. Multiple Domains with Trus...
2004 Sep 06
0
3.0.6 & "string overflow by 1" revisited
...>| every time I access a printer my logs flood with messages >| like to those below. It seems I can set printer >| properites, etc... but when I print the jobs seem to go >| to never-never land (still researching where the jobs go). >| >| [2004/08/20 08:46:27, 0] lib/util_str.c:safe_strcpy_fn(600) >| ERROR: string overflow by 1 (32 - 31) in safe_strcpy >| [\\192.168.1.12\HP Business Inkjet 2250 PS] > This is a warning a shouldn't impact the print jobs in any way. Gerald Carter wrote: >| This messages are side-effects of setting the printername >| To "\...