Bug originally reported by Ales Zelinka. Description of problem: setfacl segfaults when there is no filename on the first line of a restore file (even-though it detects and reports the problem at first): $cat dump # owner: root # group: root user::rw- group::r-- other::r-- $setfacl --restore=dump ; echo $? setfacl: dump: No filename found in line 0, aborting Segmentation fault (core dumped) 139 (gdb) bt #0 seq_free (seq=<value optimized out>) at sequence.c:62 #1 0x08049c5e in restore (file=<value optimized out>, filename=<value optimized out>) at setfacl.c:241 #2 0x0804a2cf in main (argc=<value optimized out>, argv=<value optimized out>) at setfacl.c:569 Version-Release number of selected component (if applicable): acl-2.2.49 (from F-11 to rawhide)
Created attachment 402323 [details] fix, including a test-case
proposed upstream: http://lists.gnu.org/archive/html/acl-devel/2010-03/msg00001.html
upstream commit: http://git.savannah.gnu.org/cgit/acl.git/commit/?id=340a70e71c690902cd7f15d07ae76f332064a5d9
acl-2.2.49-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/acl-2.2.49-3.fc12
acl-2.2.49-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/acl-2.2.49-3.fc11
acl-2.2.49-5.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/acl-2.2.49-5.fc13
acl-2.2.49-3.fc11 has been pushed to the Fedora 11 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 acl'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/acl-2.2.49-3.fc11
acl-2.2.49-3.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 acl'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/acl-2.2.49-3.fc12
acl-2.2.49-5.fc13 has been pushed to the Fedora 13 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 acl'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/acl-2.2.49-5.fc13
acl-2.2.49-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
acl-2.2.49-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
acl-2.2.49-5.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.