zsh-workers
 help / color / mirror / code / Atom feed
From: Jun T <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] Silence use-after-free warning in compmatch.c
Date: Mon, 17 Oct 2022 13:18:47 +0900	[thread overview]
Message-ID: <72992960-C005-443A-AF31-8097161017E2@kba.biglobe.ne.jp> (raw)
In-Reply-To: <20221004175333.1250799-2-wesleys@opperschaap.net>

I've pushed this patch.

> 2022/10/05 2:53, Wesley Schwengle <wesleys@opperschaap.net> wrote:
> 
> compmatch.c:2081:26: warning: pointer ‘or’ used after ‘realloc’ [-Wuse-after-free]
> 
> Signed-off-by: Wesley Schwengle <wesleys@opperschaap.net>
> ---
> Src/Zle/compmatch.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
> index 56e5509a4..ddcecd589 100644
> --- a/Src/Zle/compmatch.c
> +++ b/Src/Zle/compmatch.c
(snip)



      reply	other threads:[~2022-10-17  4:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 17:53 Fix use after free " Wesley Schwengle
2022-10-04 17:53 ` [PATCH] Silence use-after-free " Wesley Schwengle
2022-10-17  4:18   ` Jun T [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=72992960-C005-443A-AF31-8097161017E2@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --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).