Re: [PATCH 6.1 000/440] 6.1.103-rc3 review

From: Pavel Machek
Date: Mon Aug 05 2024 - 16:37:34 EST


Hi!

> This is the start of the stable review cycle for the 6.1.103 release.
> There are 440 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.

> Dmitry Safonov <0x7f454c46@xxxxxxxxx>
> jump_label: Prevent key->enabled int overflow

In practice, this will work, but theoretically signed overflow is
undefined and this depends on undefined behaviour.

+ int v;
...
+ if (v <= 0 || (v + 1) < 0)
+ return false;

Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Attachment: signature.asc
Description: PGP signature