Fix crash in test function on removable_cutoff(NULL)

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 9b6714ed9a1ab18af9cbfff8dd0f52cf99a1557e
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-01-16T12:43:32Z
Releases: 18.2
Fix crash in test function on removable_cutoff(NULL)

The function is part of the injection_points test module and only used
in tests. None of the current tests call it with a NULL argument, but
it is supposed to work.

Backpatch-through: 17

Files