diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-06-16 16:50:12 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-06-18 15:56:59 +0200 |
commit | 470972f3f854e92ee1cc8f1e2ada8412a2b97956 (patch) | |
tree | 8c0f07ecd01ce9a43c7988bd1d637ccf3b9d8850 /libports | |
parent | 7c5f22e6c746e97871c0339c0068825018754822 (diff) |
trans/fakeroot: fix error handling
Found using the Clang Static Analyzer.
* trans/fakeroot.c (new_node): Do not leak a pointer to freed memory.
Store NULL at *np instead. This fixes a node use-after-free in
netfs_S_dir_lookup.
Diffstat (limited to 'libports')
0 files changed, 0 insertions, 0 deletions