zsh-workers
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Anssi.Palin@edu.omnia.fi
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [[ -v a[key] ]] syntax memory leak & undefined associative array keys detected as set
Date: Thu, 9 Aug 2018 11:46:36 +0200	[thread overview]
Message-ID: <CAKc7PVAqvGXSq3wXybgLvGF=5wdVZnP4g_fOKyMxiOVc4ZXbmA@mail.gmail.com> (raw)
In-Reply-To: <HE1PR05MB183333C4D7750364A8B01D0CD7900@HE1PR05MB1833.eurprd05.prod.outlook.com>

On Sat, 19 May 2018 at 00:06, Anssi Palin <Anssi.Palin@edu.omnia.fi> 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


      parent reply	other threads:[~2018-08-09  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 21:59 Anssi Palin
2018-05-19  8:49 ` Oliver Kiddle
2018-08-08 21:31 ` Anssi Palin
2018-08-08 22:44   ` Joey Pabalinas
2018-08-09  8:30   ` Peter Stephenson
2018-08-09  9:46 ` Sebastian Gniazdowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKc7PVAqvGXSq3wXybgLvGF=5wdVZnP4g_fOKyMxiOVc4ZXbmA@mail.gmail.com' \
    --to=sgniazdowski@gmail.com \
    --cc=Anssi.Palin@edu.omnia.fi \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).