RE: [3.2.0] Off by one error | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
-----Original Message----- From: Jeremy Allison [mailto:jra@xxxxxxxxx] Sent: Wednesday, July 02, 2008 12:57 PM To: James Kosin Cc: samba@xxxxxxxxxxxxxxx Subject: Re: [3.2.0] Off by one error On Wed, Jul 02, 2008 at 12:32:46PM -0400, James Kosin wrote: > Jerry, > > The 3.2.0 release is reporting this in the log.nmbd > [root@beta samba]# cat log.nmbd > [2008/07/02 12:26:52, 0] nmbd/nmbd.c:main(849) > nmbd version 3.2.0 started. > Copyright Andrew Tridgell and the Samba Team 1992-2008 > [2008/07/02 12:26:52, 0] lib/util_str.c:safe_strcpy_fn(709) > ERROR: string overflow by 1 (16 - 15) in safe_strcpy [192.168.100.20/24] > > Other than this issue; no real problems. Great (the no problems part) ! Can you attach with gdb to this error message and get a backtrace when it occurs please ? Thanks, Jeremy. --- Jeremy, I'd need some pointers, I'm not all that familiar with gdb, and there is no way to stop on the error. NMDB still runs after displaying this; so, I don't think a back-trace will help find it when I kill the process. It looks as though it may be trying to copy the allowable IP addresses into a structure that only has space for 15 characters. The ip [192.168.100.20/24] ends up being in the config file [root@beta samba]# cat smb.conf | grep 192.168.100.20/24 interfaces = 192.168.100.20/24 James -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Linux] [Info Cyrus] [LARTC] [Christmas Music] [Bugtraq] [Netfilter] [Internet Dating Forums] [RAID] [Yosemite News] [Photography]
![]() |
![]() |