Olivier Lacoste-Bouchet closed issue #3: (fix) message length unchecked at OpenIPMC / OpenIPMC-SW

Olivier Lacoste-Bouchet
2022-10-07T16:15:21Z

In ipmb_0.c, length is received from ipmc_ios_ipmba_read(). The length is not checked for upper bounds. If length received is >32, it will start overwriting beyond the array provided by data_ipmb type.

Fix branch: https://gitlab.com/temp213/open-ipmc/-/commits/open_ipmc_update Commit: https://gitlab.com/temp213/open-ipmc/-/commit/1324fb6c0324ecfee1dfa70d6b55848006730d99

I have also

fixed various typos; (https://gitlab.com/temp213/open-ipmc/-/commit/006b26671043e62b6b2ae1c8ab2e1f8882c603a6)

fixed standard lib includes. (https://gitlab.com/temp213/open-ipmc/-/commit/f17aadc5cc226ff14a4d271f70ffa7754e0e6bab)

How would I go about merging these changes to main?