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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux