bug-gnulib
[Top][All Lists]
Advanced

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

Re: byteswap side-effect defect report from Coverity


From: Collin Funk
Subject: Re: byteswap side-effect defect report from Coverity
Date: Mon, 20 May 2024 12:15:49 -0700
User-agent: Mozilla Thunderbird

Hi Paul,

On 5/20/24 9:13 AM, Paul Eggert wrote:
> Gnulib does not support glibc 2.1.x and older, so this should not be a 
> problem when porting to glibc. However, I worried that other platforms might 
> have the bug, until I noticed that m4/byteswap.m4 already inadvertently tests 
> for it. I installed the attached patch to document the test.

I was worried about other systems too. After you mentioned that macros
don't work on double arguments correctly I used it in byteswap.m4
since it seemed like a nice compile-time check. I probably should have
commented it though, thanks.

> We can ignore this Coverity defect report as a false positive, just as we 
> ignore many other defect reports.

Interesting. I just learned what a Coverity scan is. Do I have to have
permission to view the defects?

Collin



reply via email to

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