| #
e655b00d |
| 10-Nov-2025 |
Mark Dykes <mark.dykes@arm.com> |
Merge changes from topic "gr/cov_fixes" into integration
* changes: fix(libc): fix coverity overflowed constant fix(libc): fix coverity overflowed constant fix(psci): fix coverity issue with o
Merge changes from topic "gr/cov_fixes" into integration
* changes: fix(libc): fix coverity overflowed constant fix(libc): fix coverity overflowed constant fix(psci): fix coverity issue with out-of-bounds read fix(fvp): fix coverity issue unsigned_compare
show more ...
|
| #
02dbb148 |
| 03-Nov-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: ----------------- Ov
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>
show more ...
|
| #
94b0c334 |
| 11-Feb-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "mp/strto_libc" into integration
* changes: libc: Import strtoull from FreeBSD project libc: Import strtoll from FreeBSD project libc: Import strtoul from FreeBSD proj
Merge changes from topic "mp/strto_libc" into integration
* changes: libc: Import strtoull from FreeBSD project libc: Import strtoll from FreeBSD project libc: Import strtoul from FreeBSD project libc: Import strtol from FreeBSD project
show more ...
|
| #
587c1556 |
| 28-Jan-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
libc: Import strtoll from FreeBSD project
From commit: 21571b1d140ae7bb44e94c0afba2ec61456b275b The coding guidelines[1] in TF-A forbid the use of ato*() functions in favour of strto*(). However, th
libc: Import strtoll from FreeBSD project
From commit: 21571b1d140ae7bb44e94c0afba2ec61456b275b The coding guidelines[1] in TF-A forbid the use of ato*() functions in favour of strto*(). However, the TF-A libc does not provide an implementation of strto*(), making this rule impossible to satisfy.
Also made small changes to fit into TF-A project. Added the source files to the libc makefile
[1] https://trustedfirmware-a.readthedocs.io/en/latest/process/coding-guidelines.html#libc-functions-that-are-banned-or-to-be-used-with-caution
Change-Id: I9cb581574d46de73c3d6917ebf78935fc5ac075a Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
show more ...
|