Home
last modified time | relevance | path

Searched hist:"02 dbb148837f7059e6806ec06dd097f44801d32f" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/lib/libc/
H A Dstrtol.c02dbb148837f7059e6806ec06dd097f44801d32f Mon Nov 03 16:23:06 UTC 2025 Govindraj Raja <govindraj.raja@arm.com> fix(libc): fix coverity overflowed constant

Assigning acc which of type unsigned long(long) with (L)LONG_MAX or (L)LONG_MIN
will cause a overflow of type acc.

Coverity Message:
-----------------
Overflowed constant (INTEGER_OVERFLOW)
overflow_const: Expression acc, where
neg ? -9223372036854775808L : 9223372036854775807L is known to be equal
to -9223372036854775808, underflows the type of acc, which is type
unsigned long.

Change-Id: Ic97c3ad8a2a281dfe7ef6b28b2500fd48e45f19e
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
H A Dstrtoll.c02dbb148837f7059e6806ec06dd097f44801d32f Mon Nov 03 16:23:06 UTC 2025 Govindraj Raja <govindraj.raja@arm.com> fix(libc): fix coverity overflowed constant

Assigning acc which of type unsigned long(long) with (L)LONG_MAX or (L)LONG_MIN
will cause a overflow of type acc.

Coverity Message:
-----------------
Overflowed constant (INTEGER_OVERFLOW)
overflow_const: Expression acc, where
neg ? -9223372036854775808L : 9223372036854775807L is known to be equal
to -9223372036854775808, underflows the type of acc, which is type
unsigned long.

Change-Id: Ic97c3ad8a2a281dfe7ef6b28b2500fd48e45f19e
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>