summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/machine_i2c.c
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2017-07-24 12:58:30 +0200
committerDamien George <damien.p.george@gmail.com>2017-07-25 12:29:02 +1000
commit363087aa11a5121ecff38f9e3a2372a42fa224ac (patch)
tree3517714e20a5164691986ef4de273ace2e54f7fd /extmod/machine_i2c.c
parenta10467b58ab92352217c7ab42eafd320bb671565 (diff)
downloadmicropython-363087aa11a5121ecff38f9e3a2372a42fa224ac.tar.gz
micropython-363087aa11a5121ecff38f9e3a2372a42fa224ac.zip
extmod/modframebuf: Fix invalid stride for odd widths in GS4_HMSB fmt.
Since the stride is specified in pixels, in a 4-bit horizontal format it has to always be even, otherwise the computation is wrong and we can write outside of the buffer sometimes.
Diffstat (limited to 'extmod/machine_i2c.c')
0 files changed, 0 insertions, 0 deletions