Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1019031 > unrolled thread
| Started by | Adam Borowski <kilobyte@angband.pl> |
|---|---|
| First post | 2020-07-23 17:40 +0200 |
| Last post | 2020-07-23 17:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.bugs.dist
Bug#966136: crazydiskinfo: negative/64-bit values overflow Adam Borowski <kilobyte@angband.pl> - 2020-07-23 17:40 +0200
| From | Adam Borowski <kilobyte@angband.pl> |
|---|---|
| Date | 2020-07-23 17:40 +0200 |
| Subject | Bug#966136: crazydiskinfo: negative/64-bit values overflow |
| Message-ID | <AvLua-3CI-19@gated-at.bofh.it> |
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 top | Article view | linux.debian.bugs.dist
csiph-web