diff options
author | Wojciech Nizinski <w.nizinski at grinn-global.com> | 2015-10-20 14:08:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-17 20:35:20 +0100 |
commit | 5178df3e156a436c4888a1a95996aea55525e7b6 (patch) | |
tree | 91e85c6f73506dafa3c7a399ff9406e8a4c04b88 /test/mmap/mmap2.c | |
parent | 3aabb58d126445092dca953223c1730d975491dc (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 'test/mmap/mmap2.c')
0 files changed, 0 insertions, 0 deletions