[PATCH] KEYS: fix dereferencing NULL payload with nonzero length

David Howells dhowells at redhat.com
Mon Apr 3 15:46:42 UTC 2017


Eric Biggers <ebiggers3 at gmail.com> 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



More information about the Linux-security-module-archive mailing list