[PATCH] KEYS: fix dereferencing NULL payload with nonzero length
From: dhowells@redhat.com (David Howells)
Date: 2017-04-03 15:47:17
Also in:
lkml, stable
From: dhowells@redhat.com (David Howells)
Date: 2017-04-03 15:47:17
Also in:
lkml, stable
Eric Biggers [off-list ref] wrote:
- if (_payload) {
+ if (plen) {"if (_payload && plen)" would be better. David -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html