Skip to content

Commit 86bc6f8

Browse files
authored
Merge pull request #45 from HuO50/smbios-3.3.0
fix function dmi_slot_segment_bus_func null point error in system slot
2 parents 1221d49 + 384ae88 commit 86bc6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dmidecode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5236,7 +5236,7 @@ xmlNode *dmi_decode(xmlNode *prnt_n, dmi_codes_major *dmiMajor, struct dmi_heade
52365236
if(h->length < 0x11){
52375237
break;
52385238
}
5239-
dmi_slot_segment_bus_func(sub_n, WORD(data + 0x0D), data[0x0F], data[0x10]);
5239+
dmi_slot_segment_bus_func(sect_n, WORD(data + 0x0D), data[0x0F], data[0x10]);
52405240

52415241
if (h->length < 0x13){
52425242
break;

0 commit comments

Comments
 (0)