NetBSD Problem Report #44616

From www@NetBSD.org  Sun Feb 20 18:50:18 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id B388263B11D
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 20 Feb 2011 18:50:18 +0000 (UTC)
Message-Id: <20110220185017.F3EE563B100@www.NetBSD.org>
Date: Sun, 20 Feb 2011 18:50:17 +0000 (UTC)
From: tavvva@seznam.cz
Reply-To: tavvva@seznam.cz
To: gnats-bugs@NetBSD.org
Subject: Signed int overflow in the installer when 2TB drive is being partitioned (can be worse soon)
X-Send-Pr-Version: www-1.0

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 20 18:55:00 +0000 2011
>Closed-Date:    Mon Dec 07 18:29:06 +0000 2020
>Last-Modified:  Tue Dec 08 06:40:00 +0000 2020
>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

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 07 Dec 2020 18:29:06 +0000
State-Changed-Why:
addressed by martin's sysinst work.


From: John Nemeth <jnemeth@cue.bc.ca>
To: gnats-bugs@netbsd.org, install-manager@netbsd.org, netbsd-bugs@netbsd.org,
        gnats-admin@netbsd.org, maya@NetBSD.org, tavvva@seznam.cz
Cc: 
Subject: Re: install/44616 (Signed int overflow in the installer when 2TB drive is being partitioned (can be worse soon))
Date: Mon, 7 Dec 2020 22:03:25 -0800

 On Dec 7, 18:29, maya@NetBSD.org wrote:
 }
 } Synopsis: Signed int overflow in the installer when 2TB drive is being partitioned (can be worse soon)
 } 
 } State-Changed-From-To: open->closed
 } State-Changed-By: maya@NetBSD.org
 } State-Changed-When: Mon, 07 Dec 2020 18:29:06 +0000
 } State-Changed-Why:
 } addressed by martin's sysinst work.

      Does this require a pullup?  If so, the PR shouldn't be closed.

 }-- End of excerpt from maya@NetBSD.org

From: maya@NetBSD.org
To: John Nemeth <jnemeth@cue.bc.ca>, gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/44616 (Signed int overflow in the installer when 2TB
 drive is being partitioned (can be worse soon))
Date: Tue, 8 Dec 2020 06:05:43 +0000

 On Mon, Dec 07, 2020 at 10:03:25PM -0800, John Nemeth wrote:
 > On Dec 7, 18:29, maya@NetBSD.org wrote:
 > }
 > } Synopsis: Signed int overflow in the installer when 2TB drive is being partitioned (can be worse soon)
 > } 
 > } State-Changed-From-To: open->closed
 > } State-Changed-By: maya@NetBSD.org
 > } State-Changed-When: Mon, 07 Dec 2020 18:29:06 +0000
 > } State-Changed-Why:
 > } addressed by martin's sysinst work.
 > 
 >      Does this require a pullup?  If so, the PR shouldn't be closed.
 > 
 > }-- End of excerpt from maya@NetBSD.org

 I would very much prefer it wasn't pulled up since I encountered one of
 the cases where 9.1 can't be installed with sysinst while 8.2 can.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/44616 (Signed int overflow in the installer when 2TB
 drive is being partitioned (can be worse soon))
Date: Tue, 8 Dec 2020 07:38:58 +0100

 On Mon, Dec 07, 2020 at 10:03:25PM -0800, John Nemeth wrote:
 >      Does this require a pullup?  If so, the PR shouldn't be closed.

 It is in netbsd-9 and a pullup to -8 at this stage is ... unlikely.

 Martin

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.