2b13220d63
vsprintf() is dangerous, and can overflow easily, especially with small buffers like the 100 byte one that was being used. This changes the buffer size to a more sane 4KiB, and uses vsnprintf() to automatically concatenate a large log message instead of overflowing and crashing. |
||
---|---|---|
.. | ||
.vscode | ||
cmd | ||
internal | ||
.editorconfig | ||
.env.development | ||
build | ||
go.mod | ||
go.sum | ||
neko.go |