Your message dated Sun, 02 Dec 2018 09:51:06 +0000
with message-id <[email protected]>
and subject line Bug#790075: fixed in msr-tools 1.3-3
has caused the Debian Bug report #790075,
regarding msr-tools: Silently accepts unknown arguments and provides an answer
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
790075: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790075
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: msr-tools
Version: 1.3-2
Severity: wishlist
Tags: upstream

Dear Maintainer,

I tried to use rdmsr to read a particular MSR using:

    # rdmsr MSR_K8_TOP_MEM2

Thinking that if it didn't know what MSR_K8_TOP_MEM2 was it would produce an
error and I could look up the proper number. Instead it said "0" which was a
plausible answer and so I carried on.

However it turns out that it actually read whatever MSR
strtoul("MSR_K8_TOP_MEM2", NULL, 0) produces, which is unlikely to be the MSR
which was wanted.

It would be great if there could be some sanity checking of the input and/or
the error checks on the strtoul.

The strtoul(3) manpage suggests setting errno=0 before calling strtoul and then
checking for no-zero errno afterwards, since 0 is a legitimate converstion
result.
`
Thanks,
Ian.

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages msr-tools depends on:
ii  libc6  2.19-18

msr-tools recommends no packages.

msr-tools suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: msr-tools
Source-Version: 1.3-3

We believe that the bug you reported is fixed in the latest version of
msr-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andres Salomon <[email protected]> (supplier of updated msr-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 02 Dec 2018 07:44:39 +0000
Source: msr-tools
Binary: msr-tools
Architecture: source amd64
Version: 1.3-3
Distribution: unstable
Urgency: low
Maintainer: Andres Salomon <[email protected]>
Changed-By: Andres Salomon <[email protected]>
Description:
 msr-tools  - Utilities for modifying MSRs from userspace
Closes: 790075
Changes:
 msr-tools (1.3-3) unstable; urgency=low
 .
   * Merge fix to check that register is valid (closes: #790075).
   * Update package to catch up on 5 years of new debian policy,
     standards, debhelper, etc.
   * Add a watch file.
Checksums-Sha1:
 28ebd95dc528d3b6f101b2234f0c57bc908af342 1721 msr-tools_1.3-3.dsc
 900be009b296529847dd4ae95e726461fd3c3041 3911 msr-tools_1.3-3.diff.gz
 4bdb4a5534da97b315cd75b3215ef56e7b4eb48a 12260 msr-tools-dbgsym_1.3-3_amd64.deb
 5816e696d1b598bd4ffaef9f20e83fe5c572f382 5452 msr-tools_1.3-3_amd64.buildinfo
 ceadfd901943c356b2a9fe6eb44cd20be27e27e2 9696 msr-tools_1.3-3_amd64.deb
Checksums-Sha256:
 da576a3762b38f8298adb13de809738c117338367f72c762418ccfc2a2b4ec3f 1721 
msr-tools_1.3-3.dsc
 e3438cfdee2d0a771fbdb92b8e9067a219eb79c7686a1309ff81fc9bb4aa7577 3911 
msr-tools_1.3-3.diff.gz
 ee712edd49f3af7ecbe29295ef7355adce318ccdf293f8470fa0153c4083ad3f 12260 
msr-tools-dbgsym_1.3-3_amd64.deb
 cf598f86baf1a4cd3007cb03c573c5d08d1c0676f7a98d928ba4b61c195f2850 5452 
msr-tools_1.3-3_amd64.buildinfo
 3232630ae62e024c9abe0273f241e4fca8496934f6f3935ecb59fb0867b29e92 9696 
msr-tools_1.3-3_amd64.deb
Files:
 b3d1a77e521590ff07181829c2c9c899 1721 admin optional msr-tools_1.3-3.dsc
 fceec3b246a4e79511b6029c0577cfcf 3911 admin optional msr-tools_1.3-3.diff.gz
 8f55b91049f009cf315d80db9d206c1e 12260 debug optional 
msr-tools-dbgsym_1.3-3_amd64.deb
 af1e464a881699d58e9f8fabe69a6be1 5452 admin optional 
msr-tools_1.3-3_amd64.buildinfo
 67c637afc86917ebbd49561495bc96c5 9696 admin optional msr-tools_1.3-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEUAUk+X1YiTIjs19qZF0CR8NudjcFAlwDpV4UHGRpbGluZ2Vy
QHF1ZXVlZC5uZXQACgkQZF0CR8Nudjczqg/+Igv4MI8BxEhhobfwhzzksNts91Jg
qK1PYi1ZL2o2RVeutIdyQT9wCWZAdqnCTzi/5aZAzstySMxUnV7aK1ucPUSb99oY
jkQr7fA00OvdPySXaQWaHrL9hhPU48UeyISDuvtslT9GF/+VXNx2r/d4OrMEUBhM
4bZyUE+0Uw7t7+wIhbIL2fngS9t5gXEVBel7+sQR866m6un/x91BiW866eSRcuiU
4fPI9TDVcUa2g+1tRSU2wnVP3HoNMbXlkPBvuHSEUR7BLobg75BfaqKPfZMr9S+Z
kXvyBx+h0RzDQFaFCojFitHCgUyFZXkUBkHwkkRtiUD6XvymG4QWD37DStA7gxf6
NIp9HG+dXWG2O2/18QKBYahOIKepA3v+hSuwW397Dycuj4FRuxla9Ubo4OzqpAtS
tcE+qJ6+m3P++vEFFosbEwFz1ew2iibkJM7gIEFL0yODhJr2noHyheoa67cUJ91+
GaGtnmyaCSueMah3KTN2phg4w7i4MpASD2XrUV0Z+jJO4LjAACfLAuPiHNqWeXLJ
SlIs+e+ltWLJyag7uhaKk2ccGaZvasc1Enl7H+nLgy29eUMy1S+J2jmR1nRXAfBH
4MTvZVBwGSt8JF8+RGVOphD6+LSRDm9eaAVnLVyArzitb9l5kpXJ/S9A3E+yeWLQ
U4n4BmyB3xEiUlw=
=7f5g
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to