Package: powertweak Version: 0.99.5-18+b1 Followup-For: Bug #417589 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
It seems I made a minor error in the bounds checking code. I've attached a patch to apply against the patched dmi.c. Sorry I didn't find it before you released the update. This is, of course, a very minor correction. I doubt that it's necessary to do another update based on it, but it's up to you, of course. .....Ron - -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.23.14-khufu-0 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages powertweak depends on: ii powertweak-extra 0.99.5-18+b1 Plugins for powertweakd ii powertweak-gtk 0.99.5-18+b1 GTK mode tool to configure hardwar ii powertweakd 0.99.5-18+b1 Tool to tune system for optimal pe powertweak recommends no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHo8vqitqjxNhsdN4RApXpAJ4og/zf5KeMEZcuPAQ/9mLpAj38gQCfVrFn 57MH4yUGTmwL5IeJpZE22ik= =kjqT -----END PGP SIGNATURE-----
--- dmi.c.orig 2008-01-20 13:37:16.000000000 -0500 +++ dmi.c 2008-02-01 20:41:27.630720522 -0500 @@ -111,7 +111,7 @@ if ((code >= 0xA0) && (code <= 0xA1)) return port_type[(code - 0xA0) + 0x20]; - if (code <= (sizeof(port_type) / sizeof(char *))) + if (code < (sizeof(port_type) / sizeof(char *))) return port_type[code]; /* if (code <= 0x1F)