Re: [PATCH 3/5] trans/fakeroot: fix error handling

2014-06-17 Thread Samuel Thibault
Justus Winter, le Mon 16 Jun 2014 19:49:27 +0200, a écrit : > 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. Ack. > --- > trans/fakeroot.c |

[PATCH 3/5] trans/fakeroot: fix error handling

2014-06-16 Thread Justus Winter
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. --- trans/fakeroot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/trans/fakeroot.c b/trans/fakero