[PATCH 2/2] i2c: fix stack buffer overflow vulnerability in i2c md command