DMI: Fixing memory corruption
authorErwan Velu <erwanaliasr1@gmail.com>
Thu, 6 May 2010 19:23:22 +0000 (21:23 +0200)
committerErwan Velu <erwanaliasr1@gmail.com>
Thu, 6 May 2010 19:23:22 +0000 (21:23 +0200)
commitd0a8cb5df51cdc4ba8ce5f3706db976fe016b733
treea0c96d43a49ff23eecf5ef44776058495536826b
parent7bc9c43fe8d59fd37f3c81612192f148dafb965a
DMI: Fixing memory corruption

Impact: avoid memory corruption

Too much usage of strcpy & sprintf was leading to serious memory
corruption. Using snprintf & strncpy is prefered.
com32/gpllib/dmi/dmi.c
com32/gpllib/dmi/dmi_memory.c