]> git.donarmstrong.com Git - qmk_firmware.git/commit
[Keyboard] Cannon Keys Satisfaction75: Fix buffer sizes for sprintfs. (#6954)
authorNoshBar <noshbar+git@gmail.com>
Mon, 7 Oct 2019 21:35:28 +0000 (23:35 +0200)
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>
Mon, 7 Oct 2019 21:35:28 +0000 (14:35 -0700)
commit2c51d1422309d389346022711b4cbc54a8c42f79
treebacb06e2442f1024ea5ca75675e7d7b227db1508
parent6bed2394866f0b98ac9b13a82999c875abc9e44a
[Keyboard] Cannon Keys Satisfaction75: Fix buffer sizes for sprintfs. (#6954)

sprintf always adds a NULL terminator at the end of the buffer it works on.
A few places made just enough space for the resulting string, but not the terminator.
So this just adds one to the buffer size to make room for it.
keyboards/cannonkeys/satisfaction75/satisfaction_oled.c