cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: a darwinssl-related crash, #1369

From: Toby Peterson <toby_at_apple.com>
Date: Tue, 13 May 2014 19:58:12 -0700

I believe SecPKCS12Import can "succeed" with items set to an empty array, in which case this would crash:

    status = SecPKCS12Import(pkcs_data, options, &items);
    if(status == noErr) {
      CFDictionaryRef identity_and_trust = CFArrayGetValueAtIndex(items, 0L);

- Toby

On May 9, 2014, at 0:25, Daniel Stenberg <daniel_at_haxx.se> wrote:

> Hey friends,
>
> As I have no Mac to work this out on, I would appreciate some help on this problem:
>
> https://sourceforge.net/p/curl/bugs/1369/
>
> It is a crash somewhere in darwinssl_connect_common() in 7.36.0...
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-14