[LTP] float_trigo: Fix acos/asin/atan input generation
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Mon Oct 19 21:05:25 CEST 2026
Hi Jan,
On Mon, 19 Oct 2026, Jan Stancek via ltp wrote:
> float_trigo: Fix acos/asin/atan input generation
Verdict - Reviewed
Pre-existing issue (low severity; separate follow-up):
In genacos.c, genasin.c and genatan.c, both create_*_file() functions
test open() with if (!fp) and ignore write() failures. An output path
that is a directory therefore makes either mode report success and exit
0 without producing data, both before and after this patch. Check
fp < 0, handle write() failures and propagate failure from main().
---
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