VirtualBox

忽略:
時間撮記:
2022-3-31 上午09:00:36 (3 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
150730
訊息:

libs/openssl: Update to 3.0.2 and switch to it, bugref:10128

位置:
trunk/src/libs/openssl-3.0.2
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/libs/openssl-3.0.2

    • 屬性 svn:mergeinfo
      •  

        old new  
        1313/vendor/openssl/1.1.1k:145841-145843
        1414/vendor/openssl/3.0.1:150323-150324
        15 /vendor/openssl/current:147554-150322
         15/vendor/openssl/3.0.2:150728-150729
         16/vendor/openssl/current:147554-150727
  • trunk/src/libs/openssl-3.0.2/fuzz/asn1.c

    r94082 r94404  
    11/*
    2  * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    44 * Licensed under the Apache License 2.0 (the "License");
     
    219219        BIO *bio = BIO_new(BIO_s_null()); \
    220220        \
    221         PRINT(bio, type); \
    222         BIO_free(bio); \
     221        if (bio != NULL) { \
     222            PRINT(bio, type); \
     223            BIO_free(bio); \
     224        } \
    223225        len2 = I2D(type, &der); \
    224226        if (len2 != 0) {} \
     
    236238        BIO *bio = BIO_new(BIO_s_null()); \
    237239        \
    238         PRINT(bio, type, 0); \
    239         BIO_free(bio); \
     240        if (bio != NULL) { \
     241            PRINT(bio, type, 0); \
     242            BIO_free(bio); \
     243        } \
    240244        I2D(type, &der); \
    241245        OPENSSL_free(der); \
     
    252256        BIO *bio = BIO_new(BIO_s_null()); \
    253257        \
    254         PRINT(bio, type, 0, pctx); \
    255         BIO_free(bio); \
     258        if (bio != NULL) { \
     259            PRINT(bio, type, 0, pctx); \
     260            BIO_free(bio); \
     261        } \
    256262        I2D(type, &der); \
    257263        OPENSSL_free(der); \
     
    308314        if (o != NULL) {
    309315            BIO *bio = BIO_new(BIO_s_null());
    310 
    311             ASN1_item_print(bio, o, 4, i, pctx);
    312             BIO_free(bio);
     316            if (bio != NULL) {
     317                ASN1_item_print(bio, o, 4, i, pctx);
     318                BIO_free(bio);
     319            }
    313320            ASN1_item_i2d(o, &der, i);
    314321            OPENSSL_free(der);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette