diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2016-07-21 01:39:35 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-07-22 13:36:40 +1000 |
commit | fcd135c9df440bcd2d5870405ad3311743d78d97 (patch) | |
tree | 0d66a792ade2b7cca30f5df586714fb1cf5f2265 /mac.h | |
parent | 324583e8fb3935690be58790425793df619c6d4d (diff) |
upstream commit
Skip passwords longer than 1k in length so clients can't
easily DoS sshd by sending very long passwords, causing it to spend CPU
hashing them. feedback djm@, ok markus@.
Brought to our attention by tomas.kuthan at oracle.com, shilei-c at
360.cn and coredump at autistici.org
Upstream-ID: d0af7d4a2190b63ba1d38eec502bc4be0be9e333
Diffstat (limited to 'mac.h')
0 files changed, 0 insertions, 0 deletions