[Bug 11176] New: fdisk partition size is limited by atoi

bugzilla at busybox.net bugzilla at busybox.net
Tue Jul 24 15:11:40 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=11176

            Bug ID: 11176
           Summary: fdisk partition size is limited by atoi
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: dcaleca at wyplay.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Except when using the default values, fdisk cannot create partitions bigger
than 1TB (when using 512 bytes sectors, on 32 bits architectures).

This is because there is a type mismatch between sector_t (unsigned int) and
atoi (int).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list