projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rxe: fix error completion wr_id and qp_num
[platform/kernel/linux-rpi.git]
/
crypto
/
drbg.c
diff --git
a/crypto/drbg.c
b/crypto/drbg.c
index
7001839
..
6c32213
100644
(file)
--- a/
crypto/drbg.c
+++ b/
crypto/drbg.c
@@
-1134,8
+1134,10
@@
static inline void drbg_dealloc_state(struct drbg_state *drbg)
if (!drbg)
return;
kzfree(drbg->Vbuf);
+ drbg->Vbuf = NULL;
drbg->V = NULL;
kzfree(drbg->Cbuf);
+ drbg->Cbuf = NULL;
drbg->C = NULL;
kzfree(drbg->scratchpadbuf);
drbg->scratchpadbuf = NULL;