Bug 414051
Summary: | *** buffer overflow detected ***: lftp terminatedving data | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | sangu <sangu.fedora> | ||||
Component: | lftp | Assignee: | Martin Nagy <mnagy> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | bugs, hripps, mnagy, mtasaka, nicolas.mailhot, ychavan | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-12-13 08:28:57 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
sangu
2007-12-06 15:17:23 UTC
I am seeing the same problem. By the way, the lasted upstream version is 3.6.1. Created attachment 283981 [details]
Fix the buffer size and use snprintf instead sprintf
It doesn't core dump to me, but I think I know where the problem is. Please try
this patch and let me know if it works. Thanks.
(In reply to comment #3) > Created an attachment (id=283981) [edit] > Fix the buffer size and use snprintf instead sprintf Seems to work for me. Patch sent to upstream. *** Bug 420401 has been marked as a duplicate of this bug. *** (In reply to comment #2) > By the way, the lasted upstream version is 3.6.1. Yes, I know. I promise to update as soon as I have some time. Hopefully, I'll have it done before the end of the year. Please be patient. This issue is fixed in lftp-3.5.14-3.fc9 Fixed packages were also proposed for updates: lftp-3.5.14-3.fc8 lftp-3.5.10-4.fc7 lftp-3.5.14-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. lftp-3.5.10-4.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. Fixed on RHEL5 - lftp-3.7.11-4.el5_5.3, broken again on RHEL6 lftp-4.0.9-1.el6.x86_64: *** buffer overflow detected ***: lftp terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x3592701d47] /lib64/libc.so.6[0x35926ffc30] /lib64/libc.so.6[0x35926ff089] /lib64/libc.so.6(_IO_default_xsputn+0xc9)[0x35926740e9] /lib64/libc.so.6(_IO_vfprintf+0xc60)[0x3592644ec0] /lib64/libc.so.6(__vsprintf_chk+0x9d)[0x35926ff12d] /lib64/libc.so.6(__sprintf_chk+0x7f)[0x35926ff06f] /usr/lib64/liblftp-tasks.so.0(_ZN8FileInfo12MakeLongNameEv+0x168)[0x7fcc45873938] /usr/lib64/lftp/4.0.9/proto-sftp.so(_ZN4SFtp12HandleExpectEPNS_6ExpectE+0x88e)[0x7fcc3f79a36e] /usr/lib64/lftp/4.0.9/proto-sftp.so(_ZN4SFtp13HandleRepliesEv+0x183)[0x7fcc3f79a723] /usr/lib64/lftp/4.0.9/proto-sftp.so(_ZN4SFtp2DoEv+0x124)[0x7fcc3f79c4e4] /usr/lib64/liblftp-tasks.so.0(_ZN6SMTask8ScheduleEv+0x74)[0x7fcc45862fc4] /usr/lib64/liblftp-jobs.so.0(_ZN3Job8WaitDoneEv+0xd)[0x7fcc45af24cd] lftp[0x405af5] /lib64/libc.so.6(__libc_start_main+0xfd)[0x359261ecdd] lftp[0x405139] |