From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Daley Subject: [PATCH 2/2] xenstore: don't leak permissions info in 'xenstore ls -p' Date: Sat, 6 Jul 2013 13:50:42 +1200 Message-ID: <1373075442-3756-2-git-send-email-mattjd@gmail.com> References: <1373075442-3756-1-git-send-email-mattjd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1373075442-3756-1-git-send-email-mattjd@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Matthew Daley , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Signed-off-by: Matthew Daley --- tools/xenstore/xenstore_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xenstore/xenstore_client.c b/tools/xenstore/xenstore_client.c index 996ee64..f42d06d 100644 --- a/tools/xenstore/xenstore_client.c +++ b/tools/xenstore/xenstore_client.c @@ -214,6 +214,7 @@ static void do_ls(struct xs_handle *h, char *path, int cur_depth, int show_perms fputs(buf, stdout); } putchar(')'); + free(perms); } } -- 1.7.10.4