[patch 14/15] coredump: fix null pointer dereference on coredump