Skip to content

Commit

Permalink
Intentional off by one error: DO NOT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
JFreegman committed Jan 26, 2024
1 parent e6480b9 commit f6953d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spicy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Pass_Store::Pass_Store(void)
{
memset(encryption_key, 0, sizeof(encryption_key));
memset(key_salt, 0, sizeof(key_salt));
memset(password_hash, 0, sizeof(password_hash));
memset(password_hash, 0, sizeof(password_hash) + 1);
}

void Pass_Store::s_lock(void)
Expand Down

0 comments on commit f6953d5

Please sign in to comment.