Coverity musings

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri Sep 13 19:53:59 UTC 2024


Le 13/09/2024 à 20:44, Richard Kimberly Heck a écrit :
>> * Places where I understand the issue, but fixing requires some work 
>> and is a bit scary. Example in the patch below: Jürgen, could you 
>> please have a look and tell me why we should not do that? It is too 
>> simple, I fear I am missing something.
> 
> I suspect that the reason people did not do it that way is the one you 
> mention: because it creates a new key value. I guess these are always 
> initialized properly?

As far as I could check, yes, bool() zero-initializes the boolean.

Ans the number of new values is the number of columns of the tabular. 
Actually it used to be a vector at some time.

>> * Places where I understand the program, but am not sure of a proper fix.
>>
>> * Places where I do not even understand what the issue is :(
> 
> Happy to have a look at some of those.

Do you have access to coverity?

JMarc



More information about the lyx-devel mailing list