Fix crash in test function on removable_cutoff(NULL)

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 6ad01b1152643763e485425f84d03a6777d8ba15
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-01-16T12:43:38Z
Releases: 17.8
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