Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ -v a[key] ]] syntax memory leak & undefined associative array keys detected as set
- X-seq: zsh-workers 43265
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Anssi.Palin@xxxxxxxxxxxx
- Subject: Re: [[ -v a[key] ]] syntax memory leak & undefined associative array keys detected as set
- Date: Thu, 9 Aug 2018 11:46:36 +0200
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZLT+zl7W2uuREByGdhOfy3Q8MQqhFtzX06l8b9gZu6o=; b=EGwgzcO/GjGJvFzZVQLUch1hSBsiBKHxaXwrAx55qr/0LPC++JFjk8eUfT1qHclCsu zj7U60oYzuMPKIZ8rN3x15oIMykl9S8vG1vaqHXyW2GscZpd8Sv4B4fadTSbkX3JlEOt XWaA8yi6lw4DbataxwKlyjDJTqKm+QYGTRFw8PSwGFlLh8z5me18GZi7Q9FQBiwOq9RR NCFLGC+fGlfRJPj3COKJ9Rbvr+j6CYDzJXYWErdoa8yl58URv67fywk6wMDCd8mEsVGh R+MfwGKJBZHar4L9xHUd9o67vVkjj1lW/9UkN/zt9meyUk24EnrVyziRUZZ+Xek3gXX6 cnrg==
- In-reply-to: <HE1PR05MB183333C4D7750364A8B01D0CD7900@HE1PR05MB1833.eurprd05.prod.outlook.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <HE1PR05MB183333C4D7750364A8B01D0CD7900@HE1PR05MB1833.eurprd05.prod.outlook.com>
On Sat, 19 May 2018 at 00:06, Anssi Palin <Anssi.Palin@xxxxxxxxxxxx> wrote:
>
> Hello,
>
> In workers/41719 I wrote about a memory leak with the (( ${+a[key]} )) syntax.
> While the issue has since been patched I've now noticed that the alternative
> [[ -v a[key] ]] syntax still suffers from the same problem in 5.5.1.
On that occasion I would like to mention, that if VATS automatic
Valgrind tests would have been integrated into upstream, we could
already have some group of people looking at it and reporting if in
doubt or after spotting something.
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author