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

Re: [PATCH] pki_crypto: pad RSA signature blobs


Hi Jon,

Thanks for your patch. I was skeptic until I read your reference links,
thanks for including them.

Could you just tweak your patch to remove the NULL tests ?
ssh_string_data is guaranteed to return non-NULL by construction. With
this you can also remove the paderrout: label.

Regards,

Aris

Le 20/01/14 04:08, Jon Simons a écrit :
> +        blob_padded_data = (char *) ssh_string_data(sig_blob_padded);
> +        if (blob_padded_data == NULL) {
> +            goto paderrout;
> +        }
> +
> +        blob_orig = (char *) ssh_string_data(sig_blob);
> +        if (blob_orig == NULL) {
> +            goto paderrout;
> +        }

Follow-Ups:
Re: [PATCH] pki_crypto: pad RSA signature blobsAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: [PATCH] pki_crypto: pad RSA signature blobsJon Simons <jon@xxxxxxxxxxxxx>
References:
[PATCH] pki_crypto: pad RSA signature blobsJon Simons <jon@xxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org