summaryrefslogtreecommitdiff
path: root/lib/lru_cache.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-04-05 20:11:06 +0300
committerKees Cook <keescook@chromium.org>2016-04-07 02:22:24 +0300
commitd2e10088ce01191748857296999b8c24a9a51959 (patch)
tree9c063da5fdfe44ae4e3ecc8714b89dc69ce2937c /lib/lru_cache.c
parent50fbd977733d1cbafe75baf4b50424434dcfea8c (diff)
downloadlinux-d2e10088ce01191748857296999b8c24a9a51959.tar.xz
lkdtm: fix memory leak of base
This case is supposed to read from a memory after it has been freed, but we missed freeing base if the memory 'val' could not be allocated. Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib/lru_cache.c')
0 files changed, 0 insertions, 0 deletions