diff options
author | phk <phk@FreeBSD.org> | 2003-09-06 18:37:17 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-09-06 18:37:17 +0000 |
commit | db461ec795d15cc1d15ff3a7ce7ff6d3fba7fe83 (patch) | |
tree | 9ee98a2b9b0377c9381f698a718418e44fe3613e /sys | |
parent | 5fa153fd709e02dbbf5c4578ad82857baa96dd14 (diff) | |
download | FreeBSD-src-db461ec795d15cc1d15ff3a7ce7ff6d3fba7fe83.zip FreeBSD-src-db461ec795d15cc1d15ff3a7ce7ff6d3fba7fe83.tar.gz |
Bzero the right number of bytes.
Found by: Juergen Buchmueller <pullmoll@stop1984.com>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/geom/bde/g_bde_crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/bde/g_bde_crypt.c b/sys/geom/bde/g_bde_crypt.c index 97fe8d2..05ca2a1 100644 --- a/sys/geom/bde/g_bde_crypt.c +++ b/sys/geom/bde/g_bde_crypt.c @@ -159,7 +159,7 @@ g_bde_crypt_read(struct g_bde_work *wp) } bzero(skey, sizeof skey); bzero(&ci, sizeof ci); - bzero(&ki, sizeof ci); + bzero(&ki, sizeof ki); } /* |