ID:357 - out-of-bound access in DDR4 code

Commit increases RAW_SPD_SIZE from 256 to 512 as an attempt to fix OOB in
ipmi_rawspd_main(), resp. ipmi_spd_print().
This commit is contained in:
Zdenek Styblik 2015-01-16 20:18:41 +01:00
parent dab7f5bf81
commit 0ff2d6e464

View File

@ -130,7 +130,7 @@ ipmi_master_write_read(struct ipmi_intf * intf, uint8_t bus, uint8_t addr,
return rsp; return rsp;
} }
#define RAW_SPD_SIZE 256 #define RAW_SPD_SIZE 512
int int
ipmi_rawspd_main(struct ipmi_intf * intf, int argc, char ** argv) ipmi_rawspd_main(struct ipmi_intf * intf, int argc, char ** argv)