Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Wed, 24 Jan 2001 17:32:39 +0000 (17:32 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Wed, 24 Jan 2001 17:32:39 +0000 (17:32 +0000)
commitdd540e7c8fe74d1940348277f125fd4ca7eeafc3
treee96465fec4974bdb9423895ddd3dcc0ea93e86e5
parent9d9daf7a1fdb8f53eb6b3567e5b0556a99249125
Author: Kev <klmitch@mit.edu>
Log message:

Fix buffer overflow problem; tune lengths fed into ircd_vsnprintf() to take
into account the fact that ircd_vsnprintf() already takes \0 into account.

Testing:

The old hack code to test for this buffer overflow is still in place,
intentionally, to catch any other problems that may crop up.  Otherwise,
this code has been compiled and tested and produces the correct results--
never knew I could write a simple client that rapidly ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@381 c9e4aea6-c8fd-4c43-8297-357d70d61c8c
ChangeLog
ircd/msgq.c