Fix crash in test function on removable_cutoff(NULL)

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 71379663fe25aa90049726e913f48daa30a03ff0
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-01-16T12:42:22Z
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