Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Silence use-after-free warning in compmatch.c



I've pushed this patch.

> 2022/10/05 2:53, Wesley Schwengle <wesleys@xxxxxxxxxxxxxxx> wrote:
> 
> compmatch.c:2081:26: warning: pointer ‘or’ used after ‘realloc’ [-Wuse-after-free]
> 
> Signed-off-by: Wesley Schwengle <wesleys@xxxxxxxxxxxxxxx>
> ---
> 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)





Messages sorted by: Reverse Date, Date, Thread, Author