bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex: avoid memory leak


From: Bruno Haible
Subject: Re: regex: avoid memory leak
Date: Sun, 28 Jul 2019 17:31:02 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-157-generic; KDE/5.18.0; x86_64; ; )

Hi Paul,

> I think there's a related memory bug nearby. See:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=24844

Good catch. Yes, when looking at the definitions of free_state,
re_node_set_free, re_free, it's clear that storing NULL in
newstate->entrance_nodes is going to cause a crash.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]