Chameleon

Chameleon Commit Details

Date:2014-01-11 10:08:15 (10 years 3 months ago)
Author:Chuck Fry
Commit:2330
Parents: 2329
Message:Fix inadvertent text buffer overflow in getDDRSerial
Changes:
M/branches/chucko/i386/libsaio/spd.c

File differences

branches/chucko/i386/libsaio/spd.c
242242
243243
244244
245
245
246246
247247
248248
{
sprintf(asciiSerial, "%X%X%X%X%X%X%X%X", SMST(95) /*& 0x7*/, SLST(95), SMST(96), SLST(96), SMST(97), SLST(97), SMST(98), SLST(98));
} else {
sprintf(asciiSerial, "0000000000000000");
sprintf(asciiSerial, "000000000000000");
}
return strdup(asciiSerial);

Archive Download the corresponding diff file

Revision: 2330