summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
authorWojciech Nizinski <w.nizinski at grinn-global.com>2015-10-20 14:08:09 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-17 20:35:20 +0100
commit5178df3e156a436c4888a1a95996aea55525e7b6 (patch)
tree91e85c6f73506dafa3c7a399ff9406e8a4c04b88 /libc/misc/internals
parent3aabb58d126445092dca953223c1730d975491dc (diff)
libc/stdlib: canonicalize_file_name() memory leak
Uclibc's canonicalize_file_name() is allocating temprary buffer of 4kB (PATH_MAX), and passing it to realpath() as second argument. Function is not checking if realpath() fails and memory is lost.
Diffstat (limited to 'libc/misc/internals')
0 files changed, 0 insertions, 0 deletions