Fixed overflow in bcrypt kernel in expand_key() function

This commit is contained in:
jsteube
2017-03-03 15:26:59 +01:00
parent d57b493d13
commit 89f8739dde
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -383,6 +383,8 @@ void expand_key (u32 E[18], const u32 W[16], const u32 len)
while (W_cur < W_stop)
{
*E_cur++ = *W_cur++;
if (E_cur == E_stop) return;
}
*E_cur++ = 0;