diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-10-21 16:36:51 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-10-21 16:36:51 +0000 |
commit | e406b8d2b07fd632185dfda31ba70efbfe6766ee (patch) | |
tree | 5be4c14b8130bcfff1bfe70a34df166ef179acae /etc/rc.d/dhcpd | |
parent | c845cd430790ce324139347c44bb6341813d23b8 (diff) |
In the case where len is not a multiple of sizeof(RC4_CHUNK) the RC4 code
will end up doing a read and write of up to 7 bytes beyond the specified
length. This is effectively a non-issue since we read and write back the
same data and due to alignment it is within a page boundary.
Regardless, avoid this by removing the "special" handling for the remaining
length and allow the standard (non-chunk) code to process the remaining
bytes, which does not result in overrun.
Reported by Pascal Cuoq <cuoq at trust-in-soft.com> - thanks!
ok beck@ miod@
Diffstat (limited to 'etc/rc.d/dhcpd')
0 files changed, 0 insertions, 0 deletions