Files
chipsec-chipsec/chipsec
Nicolas Iooss a8fb150415 Fix SPI write when data size is not a multiple of 4
In `SPI.write_spi`, When `len(buf) % 4 != 0`, a dword value to be
written is computed with `ord(buf[...])`. This does not work, as in
Python 3, `buf[...]` directly gives an integer.

Fix this issue by removing the call to `ord`.

Fixes: https://github.com/chipsec/chipsec/issues/1775
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
2023-05-31 16:39:08 -07:00
..
2023-05-16 16:38:46 -07:00
2023-05-26 18:33:08 -07:00
2023-05-26 18:32:51 -07:00
2023-05-26 18:32:51 -07:00
2023-05-09 16:39:21 -07:00
2023-03-15 11:27:29 -07:00
2023-05-31 09:40:42 -07:00