summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorRonit Halder <ronit.crj@gmail.com>2015-09-30 09:09:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-30 13:26:20 +0300
commit5b62408ffe42ffce28e94bc5e7a6dec45e6456ee (patch)
tree784812a62a502d33f0cdba13368839ea667b068e /include/linux/stackprotector.h
parent4221c5958796174a5ea13043075816b199a60d09 (diff)
downloadlinux-5b62408ffe42ffce28e94bc5e7a6dec45e6456ee.tar.xz
staging: dgap: fix memory leak in dgap_parsefile()
In dgap_parsefile() char pointers are set with kstrdup() without checking that some string is allocated to that char pointer before. This patch frees the memory if already allocated and then set the poniter with kstrdup(). Signed-off-by: Ronit halder <ronit.crj@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions