INNER CODE UNIT · C

i

Tongsuo-Project/Tongsuo · apps/asn1parse.c:217

                i = BIO_read(in, &(buf->data[num]), BUFSIZ);
                if (i <= 0)
                    break;
                /* make sure num doesn't overflow */
                if (i > LONG_MAX - num)
                    goto end;
                num += i;
            }
        }
        str = (unsigned char *)buf->data;

    }

    /* If any structs to parse go through in sequence */

    if (sk_OPENSSL_STRING_num(osk)) {
        tmpbuf = str;
        tmplen = num;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…