Bug 538770
Summary: | libtar: tar_append_tree() broken | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Novotny <dnovotny> | ||||
Component: | libtar | Assignee: | Huzaifa S. Sidhpurwala <huzaifas> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 12 | CC: | huzaifas, steve.traylen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.2.11-15.fc12 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-12-17 23:51:18 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
Daniel Novotny
2009-11-19 11:40:57 UTC
Created attachment 370317 [details]
a simple program which crashes in libtar
(gdb) bt #0 0x0023b424 in __kernel_vsyscall () #1 0x00449a81 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x0044b34a in abort () at abort.c:92 #3 0x00486e5d in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:186 #4 0x00512c5d in __fortify_fail (msg=<value optimized out>) at fortify_fail.c:32 #5 0x00510d7a in __chk_fail () at chk_fail.c:29 #6 0x00510366 in __strncpy_chk (s1=<value optimized out>, s2=<value optimized out>, n=<value optimized out>, s1len=<value optimized out>) at strncpy_chk.c:34 #7 0x002c556a in strncpy (__len=8, __src=0x69d3 <Address 0x69d3 out of bounds>, __dest=<value optimized out>) at /usr/include/bits/string3.h:122 #8 th_finish (__len=8, __src=0x69d3 <Address 0x69d3 out of bounds>, __dest=<value optimized out>) at encode.c:33 #9 0x002c4cf8 in th_write (t=<value optimized out>) at block.c:363 #10 0x002c4380 in tar_append_file (t=<value optimized out>, realname=<value optimized out>, savename=<value optimized out>) at append.c:169 #11 0x002c7db4 in tar_append_tree (t=<value optimized out>, realdir=<value optimized out>, savedir=<value optimized out>) at wrapper.c:107 #12 0x08048bd5 in create_tar (archive_name=0xbffff86d "foo.tar", directory=0xbffff875 "rpm") at create_archive.c:68 #13 0x08048ed7 in create_archive (archive_name=0xbffff86d "foo.tar", directory=0xbffff875 "rpm") at create_archive.c:141 #14 0x08048f62 in main (argc=3, argv=0xbffff714) at create_archive.c:155 (gdb) libtar-1.2.11-15.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/libtar-1.2.11-15.fc12 Hi, Please try libtar-1.2.11-15.fc12, This fixes the issue. yes, this works, thanks Does this hit the epel builds as well. libtar-1.2.11-13.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/libtar-1.2.11-13.el5 libtar-1.2.11-15.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libtar'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-11903 libtar-1.2.11-13.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libtar'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0895 libtar-1.2.11-13.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. libtar-1.2.11-15.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |