Re: Fwd: New Defects reported by Coverity Scan for LyX

2023-11-22 Thread Jürgen Spitzmüller
Am Mittwoch, dem 22.11.2023 um 17:48 +0100 schrieb Jean-Marc Lasgouttes: > But 300 new defects is a bit more than I expected :) Yes, this scared me, too. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Fwd: New Defects reported by Coverity Scan for LyX

2023-11-22 Thread Jean-Marc Lasgouttes
Hi, I had to update coverity scan to the version 2023.06.2, and it has a new GLOBAL_INIT_ORDER error. In theory, it is a good idea, but as you will see below, it triggers for static docstring and pretends that these definitions require lyxrc or theCiteEnginesList. This does not make any

Re: Fwd: New Defects reported by Coverity Scan for LyX

2023-10-26 Thread Jürgen Spitzmüller
Am Donnerstag, dem 26.10.2023 um 03:44 +0200 schrieb Thibaut Cuvelier: > Dear list, > > I am attaching a patch that fixes two Coverity warnings. Could anyone > commit this to the Git repo (given I currently have no access to it)? > As it was generated with git format-patch, it should be easy to

Fwd: New Defects reported by Coverity Scan for LyX

2023-10-25 Thread Thibaut Cuvelier
-- Forwarded message - From: Thibaut Cuvelier Date: Thu, 26 Oct 2023, 03:35 Subject: Fwd: New Defects reported by Coverity Scan for LyX To: LyX Developers Dear list, I am attaching a patch that fixes two Coverity warnings. Could anyone commit this to the Git repo (given I

Re: Fwd: New Defects reported by Coverity Scan for LyX

2020-07-08 Thread Richard Kimberly Heck
On 7/8/20 11:28 AM, Jean-Marc Lasgouttes wrote: > Le 08/07/2020 à 14:53, Jean-Marc Lasgouttes a écrit : >> Hello, >> >> More work for Thibaut :) I ran coverity against master and here is >> what it returns (below). > > Now I tried clang 10 and I get the following 2 warnings. Besides the >

Re: Fwd: New Defects reported by Coverity Scan for LyX

2020-07-08 Thread Jean-Marc Lasgouttes
Le 08/07/2020 à 14:53, Jean-Marc Lasgouttes a écrit : Hello, More work for Thibaut :) I ran coverity against master and here is what it returns (below). Now I tried clang 10 and I get the following 2 warnings. Besides the overloading problem, the indentation issue seems to be related with

Fwd: New Defects reported by Coverity Scan for LyX

2020-07-08 Thread Jean-Marc Lasgouttes
Hello, More work for Thibaut :) I ran coverity against master and here is what it returns (below). Item 1 is about checking return of regex_match Item 2 is probably fixed by an earlier definition of the "label" variable Item 3&4 seem to be only an issue with libstdc++, we cannot do much

Re: Fwd: New Defects reported by Coverity Scan for LyX

2017-03-14 Thread Jean-Marc Lasgouttes
Le 14/03/2017 à 14:39, Jean-Marc Lasgouttes a écrit : A good example of non-obvious report is this one: a2bfe004. Then there are the really tricky reports like Converters::convert where part of the code checks whether buffer is null, and the other part uses it without any check. JMarc

Re: Fwd: New Defects reported by Coverity Scan for LyX

2017-03-14 Thread Jean-Marc Lasgouttes
Le 13/03/2017 à 21:16, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Here are new defaults discovered by coverity. Guillaume, I think that they should all ring bells wrt your recent external modification code. Btw since you were working on coverity bugs for a while now, how many _real_

Re: Fwd: New Defects reported by Coverity Scan for LyX

2017-03-13 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Here are new defaults discovered by coverity. Guillaume, I think that they > should all ring bells wrt your recent external modification code. Btw since you were working on coverity bugs for a while now, how many _real_ bugs have been found and what's the ratio to

Fwd: New Defects reported by Coverity Scan for LyX

2017-03-13 Thread Jean-Marc Lasgouttes
Here are new defaults discovered by coverity. Guillaume, I think that they should all ring bells wrt your recent external modification code. JMarc Message transféré Sujet : New Defects reported by Coverity Scan for LyX Date : Mon, 13 Mar 2017 09:50:13 -0700 De :