Wireshark mailing list archives

Re: QtCustomPlot: New Defects reported by Coverity Scan for Wireshark


From: Dario Lombardo <lomato () gmail com>
Date: Wed, 25 Sep 2019 11:09:16 +0200

On Wed, Sep 25, 2019 at 8:24 AM Roland Knall <rknall () gmail com> wrote:

Hi Jaap

I was in contact with the original developer of QCustomPlot. According to
his statement, this warning is a false-positive, as it cannot occur with
real numbers.


Maybe I'm wrong but I read

20769           result[i*2+0].setX(valueAxis->coordToPixel(0));

and the issue is within coordToPixel() called with 0. As far as I recall,
qcustomplot is "amalgamated" (QCustomPlot uses code amalgamation to
generate the single .h/.cpp pair from its source tree). Maybe the error is
in the amalgamation routine not the code itself. Just guessing.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: