[PATCH 1/2] PKCS#7: Fix kernel panic when referring to the empty AuthorityKeyIdentifier

David Howells dhowells at redhat.com
Wed Jul 13 06:03:31 PDT 2016


Lans Zhang <jia.zhang at windriver.com> wrote:

> -		} else {
> -			auth = sig->auth_ids[1];
> +		} else if ((auth = sig->auth_ids[1])) {

Better to say:

	} else if (auth) {
		auth = sig->auth_ids[1];

David



More information about the kexec mailing list