NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/44616: Signed int overflow in the installer when 2TB drive is being partitioned (can be worse soon)



>Number:         44616
>Category:       install
>Synopsis:       Signed int overflow in the installer when 2TB drive is being 
>partitioned (can be worse soon)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 20 18:55:00 +0000 2011
>Originator:     Jaromír Cápík
>Release:        5.1
>Organization:
>Environment:
>Description:
The following picture is self explanatory.
It contains negative values of start sectors and sizes in the partitioning 
stage ... there's apparently signed integer (32bit) used for the sizes and 
positions. It still somehow works, but somebody should check, if sizes over 2TB 
can be handled by NetBSD correctly.

http://tavvva.net/files/bugs/netbsd/netbsd-installer-bug.jpg


>How-To-Repeat:
Take 2TB sized drive and try to partition it ....
>Fix:
n/a



Home | Main Index | Thread Index | Old Index