]> jfr.im git - irc/freenode/ircd-seven.git/commit
linebuf: Fix possible memory corruption when receiving many CR/LF.
authorJilles Tjoelker <redacted>
Fri, 10 Oct 2014 21:56:16 +0000 (23:56 +0200)
committerJilles Tjoelker <redacted>
Wed, 5 Nov 2014 20:42:35 +0000 (21:42 +0100)
commit1c864688bb45e576c6da32c976e92378548c3009
tree17f902fdbefde50e6df5a9d125a8fd4b89082cbc
parent5d4a99540bff23d47dbaf23e436809ac5940f6a6
linebuf: Fix possible memory corruption when receiving many CR/LF.

The last byte of balloc.c's block pointer could be changed from 10 or 13 to
0. On amd64, this is not possible. On i386, this is possible and usually
causes a crash soon.
libratbox/src/linebuf.c