[PATCH 6.8 075/143] Julia Lawall reported this null pointer dereference, this should fix it.