nima / python-dmidecode

Python DMI-Decode
39 stars 27 forks source link

Fix memory Type Detail map size #23

Closed lian-bo closed 4 years ago

lian-bo commented 4 years ago

Fix memory Type Detail map size

Bit mapped type descriptions array size must be kept coerent with bit mask, for index and array size in xml map otherwise nasty errors could arise. Problem discovered on a machine having

Signed-off-by: Marco Filippi
codecov[bot] commented 4 years ago

Codecov Report

Merging #23 into master will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #23   +/-   ##
=======================================
  Coverage   70.85%   70.85%           
=======================================
  Files          10       10           
  Lines        3215     3215           
=======================================
  Hits         2278     2278           
  Misses        937      937