abrt version: 1.1.14 architecture: i686 Attached file: backtrace cmdline: fsck.vfat -y /dev/sdb1 component: dosfstools crash_function: _IO_str_chk_overflow executable: /sbin/dosfsck kernel: 2.6.35.10-74.fc14.i686.PAE package: dosfstools-3.0.9-4.fc14 rating: 4 reason: Process /sbin/dosfsck was killed by signal 6 (SIGABRT) release: Fedora release 14 (Laughlin) time: 1296489853 uid: 0 How to reproduce ----- 1. tried to fsck a broken usb flash device 2. 3.
Created attachment 476222 [details] File: backtrace
Thanks, got it from the backtrace.
Created attachment 476231 [details] Fix alloc_rootdir_entry buffer overflow
Please try the following experimental build on your broken USB flash drive and report the results: http://koji.fedoraproject.org/koji/taskinfo?taskID=2753262
Thanks, seems to work fine. (But I wonder why it also found'n'fixed errors the second time I ran it. I would expect it to warn me the first time if that was likely to be necessary. Or is it common knowledge that fsck must be rerun until no failures are found?) [root@dev-mk ~]# rpm -q dosfstools dosfstools-3.0.9-5.fc14.i686 [root@dev-mk ~]# fsck -y /dev/sdb1 fsck from util-linux-ng 2.18 dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN Reclaimed 7 unused clusters (114688 bytes) in 4 chains. Performing changes. /dev/sdb1: 739 files, 23270/62952 clusters [root@dev-mk ~]# fsck -y /dev/sdb1 fsck from util-linux-ng 2.18 dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN /FSCK0000.\000\000\000 Bad file name. Auto-renaming it. Renamed to FSCK0000.000 /FSCK0001.\000\000\000 Bad file name. Auto-renaming it. Renamed to FSCK0000.001 /FSCK0002.\000\000\000 Bad file name. Auto-renaming it. Renamed to FSCK0000.002 /FSCK0003.\000\000\000 Bad file name. Auto-renaming it. Renamed to FSCK0000.003 Performing changes. /dev/sdb1: 739 files, 23270/62952 clusters [root@dev-mk ~]# fsck -y /dev/sdb1 fsck from util-linux-ng 2.18 dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN /dev/sdb1: 739 files, 23270/62952 clusters [root@dev-mk ~]#
Thanks, got it. It is another problem ;) I will push patches for both issues into update testing and I will also post it upstream. Watch this bugzilla for progress.
Created attachment 476370 [details] Fix alloc_rootdir_entry buffer overflow Updated patch addressing the issue from comment 5. Before applying, the dosfstools-3.0.9-fix-reclaim-file.patch must be also dropped.
Updated scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2754353 Patch sent upstream. Waiting for comments.
Created attachment 478664 [details] Reproducer Should return 0 on PASS, 1 on FAIL.
dosfstools-3.0.9-5.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/dosfstools-3.0.9-5.fc14
dosfstools-3.0.9-4.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/dosfstools-3.0.9-4.fc13
dosfstools-3.0.11-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/dosfstools-3.0.11-3.fc15
dosfstools-3.0.9-5.fc14 has been pushed to the Fedora 14 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 dosfstools'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/dosfstools-3.0.9-5.fc14
dosfstools-3.0.9-5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
dosfstools-3.0.11-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
dosfstools-3.0.9-5.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/dosfstools-3.0.9-5.fc13