Author: cem
Date: Wed Apr 20 03:05:32 2016
New Revision: 298332
URL: https://svnweb.freebsd.org/changeset/base/298332
Log:
aesni(4): Initialize error before use
Reported by: Coverity
CID: 1331554
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/crypto/aesni/aesni.c
Modified: head/sys/crypto/aesni/aesni.c
==============================================================================
--- head/sys/crypto/aesni/aesni.c Wed Apr 20 02:58:22 2016
(r298331)
+++ head/sys/crypto/aesni/aesni.c Wed Apr 20 03:05:32 2016
(r298332)
@@ -534,6 +534,7 @@ aesni_cipher_process(struct aesni_sessio
if (buf == NULL)
return (ENOMEM);
+ error = 0;
authbuf = NULL;
authallocated = 0;
if (authcrd != NULL) {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"