I believe I have found a bug in asn1_d2i_read_bio() when a read is shorter than expected. I found this when I was reading a DER-encoded message from a socket and the server happened to send a packet of four bytes. The call fails with err...
在容器中...mounts一个名为abc.fpx的目录(保存abc.pfx文件)
ASN1err(ASN1_F_ASN1_D2I_READ_BIO, ERR_R_MALLOC_FAILURE);gotoerr; } i = BIO_read(in, &(b->data[len]), want);if((i <0) && ((len - off) ==0)) { ASN1err(ASN1_F_ASN1_D2I_READ_BIO, ASN1_R_NOT_ENOUGH_DATA);gotoerr; }if(i >0) {if(len + i < len) { ASN1er...
ASN1_item_d2i_bio() andASN1_item_d2i_fp() are similar toASN1_item_d2i() except that they read from aBIOorFILE, respectively. d2i_ASN1_TYPE() is similar toASN1_item_d2i() except that it does not require a desired type to be specified by the user, but instead returns anASN1_TYP...
#define ASN1_F_ASN1_D2I_READ_BIO 107 #define ASN1_F_ASN1_DIGEST 184 #define ASN1_F_ASN1_DO_ADB 110 #define ASN1_F_ASN1_DUP 111 #define ASN1_F_ASN1_ENUMERATED_SET 112 #define ASN1_F_ASN1_ENUMERATED_TO_BN 113 #define ASN1_F_ASN1_EX_C2I 204 #define ASN1_F_ASN1_FIND_...
83 {ERR_FUNC(ASN1_F_ASN1_D2I_EX_PRIMITIVE), "ASN1_D2I_EX_PRIMITIVE"}, 84 {ERR_FUNC(ASN1_F_ASN1_D2I_FP), "ASN1_d2i_fp"}, 85 {ERR_FUNC(ASN1_F_ASN1_D2I_READ_BIO), "ASN1_D2I_READ_BIO"}, 86 {ERR_FUNC(ASN1_F_ASN1_DIGEST), "ASN1_digest"}, 87 {ERR_FUNC(ASN1_F...
('asn1 encoding routines', 'asn1_d2i_ex_primitive', 'nested asn1 error'), ('asn1 encoding routines', 'asn1_template_noexp_d2i', 'nested asn1 error'), ('asn1 encoding routines', 'asn1_template_noexp_d2i', 'nested asn1 error'), ('PEM routines', 'PEM_ASN1_read_bio', 'ASN1...
mingw32-openssl: asn1_d2i_read_bio integer errors leading to buffer overflow [epel-5] Keywords: Security × SecurityTracking × Status: CLOSED WONTFIX Alias: None Product: Fedora EPEL Component: mingw32-openssl Version: el5 Hardware: All OS: Linux Priority: high Severity: high ...