[Top][All Lists]

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

Re: diffutils-3.7.41-7475 exercises undefined behaviour

From: Bruno Haible
Subject: Re: diffutils-3.7.41-7475 exercises undefined behaviour
Date: Thu, 29 Jul 2021 16:17:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

Hi Jim,

I've reverted my own change and applied/pushed yours
with only a trivial comment change.

In the current state, I again get errors from valgrind during 'make check':

  Conditional jump or move depends on uninitialised value(s)
     at 0x402101: block_compare (cmp.c:624)
     by 0x402101: cmp (cmp.c:467)
     by 0x402101: main (cmp.c:361)

You really need *both* my change (for the first sentinel byte) and
your change (for the remaining bytes in the sentinel word).


reply via email to

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