bug-gawk
[Top][All Lists]
Advanced

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

Re: Test suite failures under UndefinedBehaviorSanitizer (UBSAN)


From: Sam James
Subject: Re: Test suite failures under UndefinedBehaviorSanitizer (UBSAN)
Date: Sun, 1 Jan 2023 18:54:40 +0000


> On 1 Jan 2023, at 18:50, arnold@skeeve.com wrote:
> 
> Hi.
> 
> Thank you for the bug report, and in particular for using the
> gawkbug script.
> 
> I took a walk through the code.  I don't think that your patch
> is correct -- the returned cnt should either be positive or
> negative all the time, but if there was an error we want
> to report it and then return the value.  errcode is initialized
> to zero before being passed to get_a_record, so if it comes
> back non-zero, we know something bad happened.
> 
> In any case, I don't think applying your patch is correct.
> 

Thanks for explaining! No problem at all.

Let me know if more info is needed to address the original issue.

> Thanks,
> 
> Arnold

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

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