[PATCH 6.6 058/114] Julia Lawall reported this null pointer dereference, this should fix it.