]> git.tuebingen.mpg.de Git - paraslash.git/commit
rc4: Round up output buffer size.
authorAndre Noll <maan@systemlinux.org>
Fri, 14 Sep 2007 09:14:41 +0000 (11:14 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 14 Sep 2007 09:14:41 +0000 (11:14 +0200)
commit85cc0e3088ce09c02e919be2d9de6be4b40af2c1
treee5a3c6d990344f63ad98a63cb33259544ff09bb0
parent77960b7b4c6e5b03c5ef2fe897c5e00395b9ae15
rc4: Round up output buffer size.

valgrind indicated that RC4() writes beyond the end of the output buffer which
was was of the same size than the input buffer. Workaround this by rounding up
the output buffer size to a multiple of 8.
net.c
para.h