DMI: Fixing memory mgmnt in dmi_memory_module_types
commit5c558dba97becf9d56a26a17f0cff96f780cf67d
authorLaurent Licour <laurent@licour.com>
Wed, 7 Jul 2010 18:53:22 +0000 (7 20:53 +0200)
committerErwan Velu <erwanaliasr1@gmail.com>
Wed, 7 Jul 2010 18:53:22 +0000 (7 20:53 +0200)
tree3d13982fe2febc996da3b4e4a55cf07ac44e7021
parent62926623081dd71e8cb4803375b70191df5592fe
DMI: Fixing memory mgmnt in dmi_memory_module_types

In some case, dmi_memory_module_types could read the entire memory as a
result of a bogus snprintf usage.
com32/gplinclude/dmi/dmi_memory.h
com32/gpllib/dmi/dmi.c
com32/gpllib/dmi/dmi_memory.c