On Fri, 29 Jun 2018 21:44:53 +0300 Andrey Ryabinin
wrote:
> Signed integer overflow is undefined according to the C standard.
> The overflow in ksys_fadvise64_64() is deliberate, but since it is signed
> overflow, UBSAN complains:
> UBSAN: Undefined behaviour in mm/fadvise.c:76:10
>
Signed integer overflow is undefined according to the C standard.
The overflow in ksys_fadvise64_64() is deliberate, but since it is signed
overflow, UBSAN complains:
UBSAN: Undefined behaviour in mm/fadvise.c:76:10
signed integer overflow:
4 + 9223372036854775805 cannot be
2 matches
Mail list logo