Page MenuHomeFreeBSD

Assign and test `malloc` result separately
ClosedPublic

Authored by ngie on Aug 30 2026, 6:34 PM.
Tags
None
Referenced Files
F175450950: D59274.id185445.diff
Sat, Oct 10, 11:14 PM
F175450944: D59274.id185445.diff
Sat, Oct 10, 11:14 PM
F175431623: D59274.id186020.diff
Sat, Oct 10, 7:42 PM
Unknown Object (File)
Tue, Oct 6, 9:44 PM
Unknown Object (File)
Mon, Oct 5, 10:23 PM
Unknown Object (File)
Thu, Oct 1, 7:45 PM
Unknown Object (File)
Thu, Oct 1, 5:19 PM
Unknown Object (File)
Thu, Oct 1, 2:20 PM

Details

Summary

The previous pattern is cited as an issue with ATF 0.22+ when using
clang/gcc post-[1].

MFC after: 2 weeks
Reported by: clang (-Wparenthesis)

[1]: https://github.com/freebsd/atf/pull/72

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable