devkitPro / wut

Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.
zlib License
236 stars 52 forks source link

libwhb: Fix length check in ConsoleAddLine #284

Closed Maschell closed 1 year ago

Maschell commented 1 year ago

Previously input strings with the length == LINE_LENGTH considered "okay", but lead to a to out of bounce write (sConsoleBuffer[sLineNum][length] = 0;)