Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1019031

Bug#966136: crazydiskinfo: negative/64-bit values overflow

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Adam Borowski <kilobyte@angband.pl>
Newsgroups linux.debian.bugs.dist
Subject Bug#966136: crazydiskinfo: negative/64-bit values overflow
Date Thu, 23 Jul 2020 17:40:02 +0200
Message-ID <AvLua-3CI-19@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Jul 23 15:33:10 2020
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -0.45
Reply-To Adam Borowski <kilobyte@angband.pl>, 966136@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Hideki Yamane <henrich@debian.org>
X-Debian-Pr-Message report 966136
X-Debian-Pr-Package crazydiskinfo
X-Debian-Pr-Source crazydiskinfo
X-Spam-Bayes score:0.0000 Tokens: new, 31; hammy, 150; neutral, 86; spammy, 0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--cutf8
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 7.7.0
X-Sa-Exim-Connect-IP 89.73.149.240
X-Sa-Exim-Mail-From kilobyte@angband.pl
X-Sa-Exim-Version 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000)
X-Sa-Exim-Scanned Yes (on tartarus.angband.pl)
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1615153
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 48
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 23 Jul 2020 17:31:39 +0200
X-Original-Message-ID <159551829983.32524.3628805227602371080.reportbug@umbar.angband.pl>
Xref csiph.com linux.debian.bugs.dist:1019031

Show key headers only | View raw


Package: crazydiskinfo
Version: 1.1.0-1
Severity: normal

Hi!
For me, the display looks like:
    | Good    CA ta-increase-count                 71    71         0    00000000001D |
    | Good    CE flying-height                    100   100         0    000000000000 |
    | Good    D2 attribute-210                    100   100         0    000000000000 |
    | Good    F6 attribute-246                    100   100         0    FFFFFFFF9A3719
    3 Good    F7 attribute-247                    100   100         0    FFFFFFFFE5AEAB
    D Good    F8 attribute-248                    100   100         0    00005A6E7891 |
    +---------------------------------------------------------------------------------+
The values that are either 32-bit with highest bit set and promoted as signed,
or possibly 64-bit, overflow the display.  You give them only 12 digits while
a 64-bit value needs 16.  Thus, they overflow: 2 digits go over the table, 1
wraps over, 1 got overwritten by the next line.

In this case, my terminal is 91x47 big, usual defaults start at 80x24.  If
that's too small, you can axe the margins, etc.


Meow!
-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-rc2-umbar-00104-ge9e0d2dbf706 (SMP w/6 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages crazydiskinfo depends on:
ii  libatasmart4  0.19-5
ii  libc6         2.31-1
ii  libgcc-s1     10.1.0-6
ii  libncursesw6  6.2-1
ii  libstdc++6    10.1.0-6
ii  libtinfo6     6.2-1

crazydiskinfo recommends no packages.

crazydiskinfo suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#966136: crazydiskinfo: negative/64-bit values overflow Adam Borowski <kilobyte@angband.pl> - 2020-07-23 17:40 +0200

csiph-web