]> git.ipfire.org Git - thirdparty/systemd.git/commit
many: more checks for pointer access without NULL check (#41370)
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Fri, 27 Mar 2026 13:58:27 +0000 (14:58 +0100)
committerGitHub <noreply@github.com>
Fri, 27 Mar 2026 13:58:27 +0000 (14:58 +0100)
commit5f2258affcbcf7690da9655308a1f308d0baf7fd
treec3111c5de9500df73d16701a4d8bcba1999cc3aa
parentbb5c7328cf6b63f8750bc0595b4ce03d097b9c6d
parent44b2d1e1557fdded45b57ac0d431d1ea8d4cdbe1
many: more checks for pointer access without NULL check (#41370)

This is a followup for https://github.com/systemd/systemd/pull/41096
that makes more subsystems pass the new `check-pointer-deref` coccinelle
checks. See the individual commits.

My plan is to do a few more of these PRs until we have it all covered. I
could also do it in a single very big PR but I'm worried about a)
conflicts b) that its just too big/annoying to review. Only 7 dirs left
but some (like src/basic) are quite big (~50k loc) so those PRs will be
a bit bigger.