BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001016 [BusyBox] Other crash always 09-02-06 21:13 09-29-06 07:29
Reporter rockeychu View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.2.x
Summary 0001016: mount -a crashing
Description With recent SVN version, "mount -a" can't work, causing can't ssh on my system.
when checking mount.c, the problem is corrected by following patch:

--- mount.c_org 2006-09-02 17:59:27.000000000 +0800
+++ mount.c     2006-09-03 11:48:54.000000000 +0800
@@ -513,8 +513,8 @@
                fstabname = bb_path_mtab_file;
        else fstabname="/etc/fstab";

-       storage_path = bb_simplify_path(argv[optind]);
-
+       if(argv[optind])
+               storage_path = bb_simplify_path(argv[optind]);
        if (!(fstab=setmntent(fstabname,"r")))
                bb_perror_msg_and_die("Cannot read %s",fstabname);
Additional Information
Attached Files

- Relationships

- Notes
(0001651)
vda
09-29-06 07:29

From the code inspection current SVN has this fixed
 

- Issue History
Date Modified Username Field Change
09-02-06 21:13 rockeychu New Issue
09-02-06 21:13 rockeychu Status new => assigned
09-02-06 21:13 rockeychu Assigned To  => BusyBox
09-29-06 07:29 vda Status assigned => closed
09-29-06 07:29 vda Note Added: 0001651
09-29-06 07:29 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker