Date: Thu, 16 Aug 2018 10:09:38 +0300
From: Andreas Gustafsson <[email protected]>
Message-ID: <[email protected]>
| Christos Zoulas wrote:
| > This is intended....
|
| The code in case has "undefined behavior" per the C11 standard,
| section 6.5.6.8:
Yes, it is, but it works anyway.... If this is to be fixed, it should be
shipped upstream to be fixed there (a change would not be difficult,
but we should not be wasting time changing other people's working
code for reasons like this).
I made the same comment to CHristos in off-list mail, and similarly
asked Kamil not to "fix" it (here) if UBsan complains.
kre