secur32: check for variable before freeing it

Henri Verbeet hverbeet at gmail.com
Tue Oct 13 03:13:04 CDT 2009


2009/10/13 Austin English <austinenglish at gmail.com>:
>              cred = schan_free_handle(i, SCHAN_HANDLE_CRED);
> -            pgnutls_certificate_free_credentials(cred->credentials);
> +            if(cred) pgnutls_certificate_free_credentials(cred->credentials);
I don't think "cred" is ever supposed to be NULL. Could you add some
traces to see where that handle comes from?



More information about the wine-devel mailing list