Package: dmidecode / 2.11-9

Metadata

Package Version Patches format
dmidecode 2.11-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 ansi c.patch | (download)

types.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 Make sure the code compiles when using -ansi. Renames non-ANSI C 'inline' to
 '__inline'.

02 chassis type.patch | (download)

dmidecode.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 Make dmi_chassis_type aware of the lock bit (Closes: #637028).
 .
 Previously all bits of the parameter passed to dmi_chassis_type were
 used to derive the chassis type although the 7th bit indicates a
 lock and only bits 6:0 encode the chassis type (7.4 System Enclosure
 or Chassis (Type 3), offset 05h). This is ok as long as the input is
 masked as it was done in dmi_decode, but it was forgotten in
 dmi_table_string, resulting in wrong output if there is a lock
 present:
 .
	dmidecode -s chassis-type
	<OUT OF SPEC>
 .
 although the normal output is correct:
 .
	 [...]
	Handle 0x0003, DMI type 3, 17 bytes
	Chassis Information
		Manufacturer: Chassis Manufacture
		Type: Desktop
		Lock: Present
	[...]
 .
 dump (the 5th byte (83) is the interesting one):
 .
	dmidecode -t chassis -u
	SMBIOS 2.3 present.
.
	Handle 0x0003, DMI type 3, 17 bytes
		Header and Data:
			03 11 03 00 01 83 02 03 04 03 03 03 03 01 00 00
			00
.
 Tested with current CVS code on a "Laptop" without a lock (by me)
 and on the "Desktop" board dumped above (by Florian Zumbiehl, thanks!).

03 hurd.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 enable build of all targets on gnu/hurd (closes: #643649).

04 type16 fix.patch | (download)

CHANGELOG | 5 5 + 0 - 0 !
dmidecode.c | 2 1 + 1 - 0 !
2 files changed, 6 insertions(+), 1 deletion(-)

 Fix boundary checks of memory array location codes (DMI type 16).

05 smbios 271.patch | (download)

CHANGELOG | 9 9 + 0 - 0 !
dmidecode.c | 38 31 + 7 - 0 !
2 files changed, 40 insertions(+), 7 deletions(-)

 update to support smbios specification version 2.7.1.

06 build.patch | (download)

Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 avoid overwriting build environment rather than to just extend it.

07 manpage hyphen.patch | (download)

man/dmidecode.8 | 88 44 + 44 - 0 !
1 file changed, 44 insertions(+), 44 deletions(-)

 escaping hyphens in manpage.