mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-08 18:28:43 +00:00
Replace another memset() with explicit_bzero() since the goal is the reason
why we have explicit_bzero(). OK matthieu@
This commit is contained in:
@@ -2659,7 +2659,7 @@ getPassword(void)
|
||||
#endif
|
||||
/* clear plaintext password so you can not grunge around
|
||||
/dev/kmem */
|
||||
(void) memset((char *) buffer, 0, sizeof (buffer));
|
||||
explicit_bzero(buffer, sizeof (buffer));
|
||||
|
||||
if (done) {
|
||||
#ifdef USE_SOUND
|
||||
|
||||
Reference in New Issue
Block a user