summaryrefslogtreecommitdiff
path: root/crypto/drbg.c
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2018-05-09 09:27:08 +0900
committerInki Dae <inki.dae@samsung.com>2018-05-09 09:27:08 +0900
commit211e2d329a0a41286b2b64332ed1640c6cb45301 (patch)
treefb78e31032dcca2fcb0e9123cf11be12728f99c5 /crypto/drbg.c
parent23d6bea047b81c3165a5a34871197d4024936d4c (diff)
parentef734472771a62ae9f901367a40a89382a991917 (diff)
downloadlinux-crypto-211e2d329a0a41286b2b64332ed1640c6cb45301.tar.gz
linux-crypto-211e2d329a0a41286b2b64332ed1640c6cb45301.zip
Merge tag 'exynos-drm-fixes-for-v4.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into exynos-drm-next
Fixup pagefault issue of mixer driver - it makes sure to check shadow register for interlace scan. - it corrects chroma_addr[1], height and vertical position values. And trivial cleanup - it just removes duplicated drm_bridge_attach.
Diffstat (limited to 'crypto/drbg.c')
-rw-r--r--crypto/drbg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/drbg.c b/crypto/drbg.c
index 4faa2781..466a112a 100644
--- 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;