FS#68104 - [smbclient] Segmentation fault
Attached to Project:
Arch Linux
Opened by Roland Friedwagner (rfried) - Sunday, 04 October 2020, 14:49 GMT
Last edited by freswa (frederik) - Monday, 01 March 2021, 03:57 GMT
Opened by Roland Friedwagner (rfried) - Sunday, 04 October 2020, 14:49 GMT
Last edited by freswa (frederik) - Monday, 01 March 2021, 03:57 GMT
|
Details
Segfault with smbclient-4.13.0-1-x86_64
smbclient-4.12.3-1-x86_64 and before was ok. # smb.conf is empty; xyz.cred holds username/password $ LANG=en_US.UTF-8 smbclient //sharexy.example.com/dirxy/ -N -A "xyz.cred" -s smb.conf -m SMB2 -Tc - 'dirxy' | tar tvf - './dirxy/' 102551 Segmentation fault (core dumped) smbclient //sharexy.example.com/dirxy/ -N -A "$CRED" -s smb.conf -m SMB2 -Tc - 'dirxy' $ coredumpctl info PID: 101567 (smbclient) UID: 1513 (userxy) GID: 1513 (groupxy) Signal: 11 (SEGV) Timestamp: Sat 2020-10-03 12:24:02 CEST (17h ago) Command Line: smbclient //sharexy.example.com/dirxy/ -N -A xyz.cred -s smb.conf -m SMB2 -Tc - dirxy Executable: /usr/bin/smbclient Control Group: /user.slice/user-1513.slice/session-9.scope Unit: session-9.scope Slice: user-1513.slice Session: 9 Owner UID: 1513 (userxy) Boot ID: a508c7800f1241599222e1dbab7f8cbe Machine ID: 6d740af61e8940898a863abfac9ae512 Hostname: hostxy Storage: /var/lib/systemd/coredump/core.smbclient.1513.a508c7800f1141599222e1dbab7f8cbe.101567.1601759042000000.zst Message: Process 101567 (smbclient) of user 1513 dumped core. Stack trace of thread 101567: #0 0x0000559c1bf14c77 n/a (smbclient + 0x9c77) #1 0x0000559c1bf1f19b do_list (smbclient + 0x1419b) #2 0x0000559c1bf21285 n/a (smbclient + 0x16285) #3 0x0000559c1bf154f7 n/a (smbclient + 0xa4f7) #4 0x00007f5179c539cd cli_smb2_list (liblibsmb-samba4.so + 0x3d9cd) #5 0x00007f5179c46ab5 cli_list (liblibsmb-samba4.so + 0x30ab5) #6 0x0000559c1bf1f18e do_list (smbclient + 0x1418e) #7 0x0000559c1bf21285 n/a (smbclient + 0x16285) #8 0x0000559c1bf154f7 n/a (smbclient + 0xa4f7) #9 0x00007f5179c539cd cli_smb2_list (liblibsmb-samba4.so + 0x3d9cd) #10 0x00007f5179c46ab5 cli_list (liblibsmb-samba4.so + 0x30ab5) #11 0x0000559c1bf1f18e do_list (smbclient + 0x1418e) #12 0x0000559c1bf2391d tar_process (smbclient + 0x1891d) #13 0x0000559c1bf13851 main (smbclient + 0x8851) #14 0x00007f517919b152 __libc_start_main (libc.so.6 + 0x28152) #15 0x0000559c1bf1482e _start (smbclient + 0x982e) |
This task depends upon
Does building smbclient with the attached diff resolve the issue?