samba-bugs@samba.org
2008-Mar-09  17:38 UTC
DO NOT REPLY [Bug 5316] New: Segmentation fault on transfer from/to different machines
https://bugzilla.samba.org/show_bug.cgi?id=5316
           Summary: Segmentation fault on transfer from/to different
                    machines
           Product: rsync
           Version: 3.0.0
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P3
         Component: core
        AssignedTo: wayned@samba.org
        ReportedBy: email@cs-ware.de
         QAContact: rsync-qa@samba.org
(gdb) run
Starting program: /usr/src/rsync-3.0.0/rsync --daemon --server .
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xb7fc2000
grsec: signal 11 sent to /usr/src/rsync-3.0.0/rsync[rsync:13560] uid/euid:0/0
gid/egid:0/0, parent /usr/bin/gdb[gdb:13559] uid/euid:0/0 gid/egid:0/0
Program received signal SIGSEGV, Segmentation fault.
0xb7ed78d3 in strlen () from /lib/i686/libc.so.6
(gdb) backtrace
#0  0xb7ed78d3 in strlen () from /lib/i686/libc.so.6
#1  0x0807ff8d in strlcpy (d=0xbfed3434 "", s=0x0, bufsize=1024)
    at lib/compat.c:109
#2  0x0807bbc3 in lp_load (pszFname=0x0, globals_only=0) at loadparm.c:838
#3  0x0807cd53 in start_daemon (f_in=0, f_out=1) at clientserver.c:882
#4  0x0806348c in main (argc=1, argv=Cannot access memory at address 0x4
) at main.c:1530
when i comment out this line (loadparm.c:838), there is no segmentation fault
any more.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2008-Mar-09  18:55 UTC
DO NOT REPLY [Bug 5316] Segmentation fault on transfer from/to different machines
https://bugzilla.samba.org/show_bug.cgi?id=5316
wayned@samba.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
------- Comment #1 from wayned@samba.org  2008-03-09 13:55 CST -------
See the mailing list:
http://www.mail-archive.com/rsync@lists.samba.org/msg20980.html
This is already fixed in the git repository and the nightly tar files.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.