cryptui: Fix a crash with certification path (resend)

Alexandre Julliard julliard at winehq.org
Wed Oct 6 10:41:35 CDT 2010


André Hentschel <nerv at dawncrow.de> writes:

> @@ -4051,8 +4050,8 @@ static void show_cert_chain(HWND hwnd, struct hierarchy_data *data)
>                   */
>                  tvis.u.item.iImage = 2;
>              }
> -            else if (provSigner->pasCertChain[i - 1].pChainElement->TrustStatus.
> -             dwErrorStatus == 0)
> +            else if (i > 1 &&
> +                     provSigner->pasCertChain[i - 1].pChainElement->TrustStatus.dwErrorStatus == 0)

What is this change for?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list