[PATCH 4.14 470/496] audit: return on memory error to avoid null pointer dereference