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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.