|
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 pushed a changeset here that hopefully avoids the detected "bad free":I ran a clang-11 static analysis on 2219027f5bd4 (stable). Results are available at: https://drive.google.com/file/d/13Qz6svSS4yEwffpNFkd7X-_wQN7ykLky/view?usp=sharinghttps://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
[Prev in Thread] | Current Thread | [Next in Thread] |