octave-maintainers
[Top][All Lists]
Advanced

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

Re: clang static analysis


From: John W. Eaton
Subject: Re: clang static analysis
Date: Tue, 13 Oct 2020 17:09:55 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 10/13/20 2:11 PM, Markus Mützel wrote:
Am 02. Oktober 2020 um 22:10 Uhr schrieb "Dmitri A. Sergatskov":
I ran a clang-11 static analysis on 2219027f5bd4 (stable).
Results are available at:
https://drive.google.com/file/d/13Qz6svSS4yEwffpNFkd7X-_wQN7ykLky/view?usp=sharing
I pushed a changeset here that hopefully avoids the detected "bad free":
https://hg.savannah.gnu.org/hgweb/octave/rev/02f0649f43d7

I suppose that change is OK, but I don't think the reference count for those nil_rep objects can ever be zero, so it seems to me that the warning could be safely ignored.

jwe



reply via email to

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