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

From: David Howells
Date: Mon Apr 03 2017 - 11:48:43 EST


Eric Biggers <ebiggers3@xxxxxxxxx> wrote:

> - if (_payload) {
> + if (plen) {

"if (_payload && plen)" would be better.

David