[LTP] LTP/Lite test float_trigo core dumps due to free(): invalid pointer
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Wed Jul 15 16:57:30 CEST 2026
Hi Tomas,
On Wed, 15 Jul 2026 15:04:46 +0200, Tomas Dzik wrote:
> LTP/Lite test float_trigo core dumps due to free(): invalid pointer
--- [PATCH 2/3] ---
> Add some checks for malloc() returning NULL
The subject does not name the affected component (the float gen* data
generator tools under testcases/misc/math/float/). Without that, a
reader browsing the git log cannot tell which tree the change belongs
to without opening the diff.
"some" also implies the coverage is partial. Inspection shows there is
exactly one malloc() call per changed file and all of them receive a
NULL check. Consider something like:
float: add malloc() NULL check in gen* data generator tools
Verdict - Needs revision
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list