| Line | Source | Count |
| 1 | | - |
| 2 | static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *ext, | - |
| 3 | BIO *out, int indent); | - |
| 4 | static PROXY_CERT_INFO_EXTENSION *r2i_pci(X509V3_EXT_METHOD *method, | - |
| 5 | X509V3_CTX *ctx, char *str); | - |
| 6 | | - |
| 7 | const X509V3_EXT_METHOD v3_pci = | - |
| 8 | { 663, 0, (&(PROXY_CERT_INFO_EXTENSION_it)), | - |
| 9 | 0, 0, 0, 0, | - |
| 10 | 0, 0, | - |
| 11 | | - |
| 12 | ((void *)0) | - |
| 13 | , | - |
| 14 | ((void *)0) | - |
| 15 | , | - |
| 16 | (X509V3_EXT_I2R)i2r_pci, | - |
| 17 | (X509V3_EXT_R2I)r2i_pci, | - |
| 18 | | - |
| 19 | ((void *)0) | - |
| 20 | , | - |
| 21 | }; | - |
| 22 | | - |
| 23 | static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *pci, | - |
| 24 | BIO *out, int indent) | - |
| 25 | { | - |
| 26 | BIO_printf(out, "%*sPath Length Constraint: ", indent, ""); | - |
| 27 | if (pci->pcPathLengthConstraint| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
| 28 | i2a_ASN1_INTEGER(out, pci->pcPathLengthConstraint); never executed: i2a_ASN1_INTEGER(out, pci->pcPathLengthConstraint); | 0 |
| 29 | else | - |
| 30 | BIO_printf(out, "infinite");executed 4 times by 1 test: BIO_printf(out, "infinite"); | 4 |
| 31 | BIO_puts(out, "\n"); | - |
| 32 | BIO_printf(out, "%*sPolicy Language: ", indent, ""); | - |
| 33 | i2a_ASN1_OBJECT(out, pci->proxyPolicy->policyLanguage); | - |
| 34 | BIO_puts(out, "\n"); | - |
| 35 | if (pci->proxyPolicy->policy| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
&& pci->proxyPolicy->policy->data| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 36 | BIO_printf(out, "%*sPolicy Text: %s\n", indent, "",executed 2 times by 1 test: BIO_printf(out, "%*sPolicy Text: %s\n", indent, "", pci->proxyPolicy->policy->data); | 2 |
| 37 | pci->proxyPolicy->policy->data);executed 2 times by 1 test: BIO_printf(out, "%*sPolicy Text: %s\n", indent, "", pci->proxyPolicy->policy->data); | 2 |
| 38 | returnexecuted 4 times by 1 test: return 1; 1;executed 4 times by 1 test: return 1; | 4 |
| 39 | } | - |
| 40 | | - |
| 41 | static int process_pci_value(CONF_VALUE *val, | - |
| 42 | ASN1_OBJECT **language, ASN1_INTEGER **pathlen, | - |
| 43 | ASN1_OCTET_STRING **policy) | - |
| 44 | { | - |
| 45 | int free_policy = 0; | - |
| 46 | | - |
| 47 | if ( | - |
| 48 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 49 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 50 | ) && __builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 51 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 52 | ) && (__s1_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 53 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 54 | ), __s2_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 55 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 56 | ), (!((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 57 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 58 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 59 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 60 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 61 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 62 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 63 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 64 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 65 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 66 | , | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 67 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 68 | ) : (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 69 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 70 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 71 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 72 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 73 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 74 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 75 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 76 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 77 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 78 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 79 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 80 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 81 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 82 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 83 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 84 | , | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 85 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 86 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 87 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 88 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 89 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 90 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 91 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 92 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 93 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 94 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 95 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); | 0-8 |
| 96 | ))[3] - __s2[3]);| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 97 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 98 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 99 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 100 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 101 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 102 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 103 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 104 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 105 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 106 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 107 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 108 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 109 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 110 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 111 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 112 | , | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 113 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 114 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 115 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 116 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 117 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 118 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 119 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 120 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 121 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 122 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "language" ))[3] - __s2[3]); | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 123 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "language" ))[3] - __s2[3]); | 0-8 |
| 124 | ))[3] - __s2[3]);| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "language" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 0-8 |
| 125 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 126 | , | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 127 | "language"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 128 | )))); }) | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 129 | == 0| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
) { | 4-8 |
| 130 | if (*| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
language| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 131 | ERR_put_error(34,(150),(155),__FILE__,94) | - |
| 132 | ; | - |
| 133 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 134 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 135 | } | - |
| 136 | if ((*| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
language = OBJ_txt2obj(val->value, 0)) == | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 137 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 138 | ) { | - |
| 139 | ERR_put_error(34,(150),(110),__FILE__,100) | - |
| 140 | ; | - |
| 141 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 142 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 143 | } | - |
| 144 | }executed 4 times by 1 test: end of block else if ( | 4 |
| 145 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 146 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 147 | ) && __builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 148 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 149 | ) && (__s1_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 150 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 151 | ), __s2_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 152 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 153 | ), (!((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 154 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 155 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 156 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 157 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 158 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 159 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 160 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 161 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 162 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 163 | , | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 164 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 165 | ) : (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 166 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 167 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 168 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 169 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 170 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 171 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 172 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 173 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 174 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 175 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 176 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 177 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 178 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 179 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 180 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 181 | , | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 182 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 183 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 184 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 185 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 186 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 187 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 188 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 189 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 190 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 191 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 192 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); | 0-4 |
| 193 | ))[3] - __s2[3]);| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 194 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 195 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 196 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 197 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 198 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 199 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 200 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 201 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 202 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 203 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 204 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 205 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 206 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 207 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 208 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 209 | , | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 210 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 211 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 212 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 213 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 214 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 215 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 216 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 217 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 218 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 219 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "pathlen" ))[3] - __s2[3]); | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 220 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "pathlen" ))[3] - __s2[3]); | 0-4 |
| 221 | ))[3] - __s2[3]);| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "pathlen" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 222 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 223 | , | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 224 | "pathlen"| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 225 | )))); }) | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 226 | == 0| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) { | 4 |
| 227 | if (*| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
pathlen| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 228 | ERR_put_error(34,(150),(157),__FILE__,107) | - |
| 229 | ; | - |
| 230 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 231 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 232 | } | - |
| 233 | if (!X509V3_get_value_int(val, pathlen)| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 234 | ERR_put_error(34,(150),(156),__FILE__,113) | - |
| 235 | ; | - |
| 236 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 237 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 238 | } | - |
| 239 | }executed 4 times by 1 test: end of block else if ( | 4 |
| 240 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 241 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 242 | ) && __builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 243 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 244 | ) && (__s1_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 245 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 246 | ), __s2_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 247 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 248 | ), (!((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 249 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 250 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 251 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 252 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 253 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 254 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 255 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 256 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 257 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 258 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 259 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 260 | ) : (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 261 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 262 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 263 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 264 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 265 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 266 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 267 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 268 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 269 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 270 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 271 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 272 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 273 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 274 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 275 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 276 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 277 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 278 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 279 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 280 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 281 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 282 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 283 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 284 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 285 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 286 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 287 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); | 0-4 |
| 288 | ))[3] - __s2[3]);| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 289 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 290 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 291 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 292 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 293 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 294 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 295 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 296 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 297 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 298 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 299 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 300 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 301 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 302 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 303 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 304 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 305 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 306 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 307 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 308 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 309 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 310 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 311 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 312 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 313 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 314 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "policy" ))[3] - __s2[3]); | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 315 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "policy" ))[3] - __s2[3]); | 0-4 |
| 316 | ))[3] - __s2[3]);| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "policy" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 317 | val->name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 318 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 319 | "policy"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 320 | )))); }) | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 321 | == 0| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) { | 0-4 |
| 322 | unsigned char *tmp_data = | - |
| 323 | ((void *)0) | - |
| 324 | ; | - |
| 325 | long val_len; | - |
| 326 | if (!*policy| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) { | 0-4 |
| 327 | *policy = ASN1_OCTET_STRING_new(); | - |
| 328 | if (*| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
policy == | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 329 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 330 | ) { | - |
| 331 | ERR_put_error(34,(150),((1|64)),__FILE__,123); | - |
| 332 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 333 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 334 | } | - |
| 335 | free_policy = 1; | - |
| 336 | }executed 4 times by 1 test: end of block | 4 |
| 337 | if ( | - |
| 338 | (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
__extension__ (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 339 | 4| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 340 | )| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
&& ((__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 341 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 342 | )| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
&& strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 343 | val->value| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 344 | ) < ((size_t) (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 345 | 4| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 346 | ))| TRUE | never evaluated | | FALSE | never evaluated |
) || (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 347 | "hex:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 348 | )| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
&& strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 349 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 350 | ) < ((size_t) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 351 | 4| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 352 | ))| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 353 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 354 | ) && __builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 355 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 356 | ) && (__s1_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 357 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 358 | ), __s2_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 359 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 360 | ), (!((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 361 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 362 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 363 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 364 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 365 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 366 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 367 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 368 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 369 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 370 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 371 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 372 | ) : (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 373 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 374 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 375 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 376 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 377 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 378 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 379 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 380 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 381 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 382 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 383 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 384 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 385 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 386 | ) == 1) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 387 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 388 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 389 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 390 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 391 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 392 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 393 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 394 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 395 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 396 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 397 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 398 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 399 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); | 0-4 |
| 400 | ))[3] - __s2[3]);| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 401 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 402 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 403 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 404 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 405 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 406 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 407 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 408 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 409 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 410 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 411 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 412 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 413 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 414 | ) == 1) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 415 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 416 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 417 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 418 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 419 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 420 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 421 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 422 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 423 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 424 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 425 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 426 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "hex:" ))[3] - __s2[3]); | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 427 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "hex:" ))[3] - __s2[3]); | 0-4 |
| 428 | ))[3] - __s2[3]);| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "hex:" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 429 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 430 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 431 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 432 | )))); }) : strncmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 433 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 434 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 435 | "hex:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 436 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 437 | 4| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 438 | ))) | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 439 | == 0| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 440 | unsigned char *tmp_data2 = | - |
| 441 | OPENSSL_hexstr2buf(val->value + 4, &val_len); | - |
| 442 | | - |
| 443 | if (!tmp_data2| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 444 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 445 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 446 | } | - |
| 447 | | - |
| 448 | tmp_data = CRYPTO_realloc((*policy)->data, (*policy)->length + val_len + 1, | - |
| 449 | __FILE__ | - |
| 450 | , | - |
| 451 | 139 | - |
| 452 | ) | - |
| 453 | ; | - |
| 454 | if (tmp_data| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 455 | (*policy)->data = tmp_data; | - |
| 456 | memcpy(&(*policy)->data[(*policy)->length], | - |
| 457 | tmp_data2, val_len); | - |
| 458 | (*policy)->length += val_len; | - |
| 459 | (*policy)->data[(*policy)->length] = '\0'; | - |
| 460 | } never executed: end of block else { | 0 |
| 461 | CRYPTO_free(tmp_data2, __FILE__, 147); | - |
| 462 | | - |
| 463 | | - |
| 464 | | - |
| 465 | | - |
| 466 | CRYPTO_free((*policy)->data, __FILE__, 152); | - |
| 467 | (*policy)->data = | - |
| 468 | ((void *)0) | - |
| 469 | ; | - |
| 470 | (*policy)->length = 0; | - |
| 471 | ERR_put_error(34,(150),((1|64)),__FILE__,155); | - |
| 472 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 473 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 474 | } | - |
| 475 | CRYPTO_free(tmp_data2, __FILE__, 159); | - |
| 476 | } never executed: end of block else if ( | 0 |
| 477 | (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
__extension__ (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 478 | 5| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 479 | )| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
&& ((__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 480 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 481 | )| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
&& strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 482 | val->value| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 483 | ) < ((size_t) (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 484 | 5| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 485 | ))| TRUE | never evaluated | | FALSE | never evaluated |
) || (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 486 | "file:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 487 | )| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
&& strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 488 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 489 | ) < ((size_t) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 490 | 5| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 491 | ))| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 492 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 493 | ) && __builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 494 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 495 | ) && (__s1_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 496 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 497 | ), __s2_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 498 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 499 | ), (!((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 500 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 501 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 502 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 503 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 504 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 505 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 506 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 507 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 508 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 509 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 510 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 511 | ) : (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 512 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 513 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 514 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 515 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 516 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 517 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 518 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 519 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 520 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 521 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 522 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 523 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 524 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 525 | ) == 1) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 526 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 527 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 528 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 529 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 530 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 531 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 532 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 533 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 534 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 535 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 536 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 537 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 538 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); | 0-4 |
| 539 | ))[3] - __s2[3]);| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 540 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 541 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 542 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 543 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 544 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 545 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 546 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 547 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 548 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 549 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 550 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 551 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 552 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 553 | ) == 1) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 554 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 555 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 556 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 557 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 558 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 559 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 560 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 561 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 562 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 563 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 564 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 565 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "file:" ))[3] - __s2[3]); | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 566 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "file:" ))[3] - __s2[3]); | 0-4 |
| 567 | ))[3] - __s2[3]);| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "file:" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 568 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 569 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 570 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 571 | )))); }) : strncmp (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 572 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 573 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 574 | "file:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 575 | , | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 576 | 5| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 577 | ))) | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 578 | == 0| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 579 | unsigned char buf[2048]; | - |
| 580 | int n; | - |
| 581 | BIO *b = BIO_new_file(val->value + 5, "r"); | - |
| 582 | if (!b| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 583 | ERR_put_error(34,(150),(32),__FILE__,165); | - |
| 584 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 585 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 586 | } | - |
| 587 | while ((| TRUE | never evaluated | | FALSE | never evaluated |
n = BIO_read(b, buf, sizeof(buf))) > 0| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 588 | || (n == 0| TRUE | never evaluated | | FALSE | never evaluated |
&& BIO_test_flags(b, 0x08)| TRUE | never evaluated | | FALSE | never evaluated |
)) { | 0 |
| 589 | if (!n| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 590 | continue; never executed: continue; | 0 |
| 591 | | - |
| 592 | tmp_data = CRYPTO_realloc((*policy)->data, (*policy)->length + n + 1, | - |
| 593 | __FILE__ | - |
| 594 | , | - |
| 595 | 175 | - |
| 596 | ) | - |
| 597 | ; | - |
| 598 | | - |
| 599 | if (!tmp_data| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 600 | CRYPTO_free((*policy)->data, __FILE__, 178); | - |
| 601 | (*policy)->data = | - |
| 602 | ((void *)0) | - |
| 603 | ; | - |
| 604 | (*policy)->length = 0; | - |
| 605 | ERR_put_error(34,(150),((1|64)),__FILE__,182) | - |
| 606 | ; | - |
| 607 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 608 | BIO_free_all(b); | - |
| 609 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 610 | } | - |
| 611 | | - |
| 612 | (*policy)->data = tmp_data; | - |
| 613 | memcpy(&(*policy)->data[(*policy)->length], buf, n); | - |
| 614 | (*policy)->length += n; | - |
| 615 | (*policy)->data[(*policy)->length] = '\0'; | - |
| 616 | } never executed: end of block | 0 |
| 617 | BIO_free_all(b); | - |
| 618 | | - |
| 619 | if (n < 0| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 620 | ERR_put_error(34,(150),(32),__FILE__,196); | - |
| 621 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 622 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 623 | } | - |
| 624 | } never executed: end of block else if ( | 0 |
| 625 | (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
__extension__ (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 626 | 5| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 627 | )| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
&& ((__builtin_constant_p (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 628 | val->value| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 629 | )| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
&& strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 630 | val->value| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 631 | ) < ((size_t) (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 632 | 5| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 633 | ))| TRUE | never evaluated | | FALSE | never evaluated |
) || (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 634 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 635 | )| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
&& strlen (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 636 | "text:"| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 637 | ) < ((size_t) (| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 638 | 5| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 639 | ))| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 640 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 641 | ) && __builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 642 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 643 | ) && (__s1_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 644 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 645 | ), __s2_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 646 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 647 | ), (!((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 648 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 649 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 650 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 651 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 652 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 653 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 654 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 655 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 656 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 657 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 658 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 659 | ) : (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 660 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 661 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 662 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 663 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 664 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 665 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 666 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 667 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 668 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 669 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 670 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 671 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 672 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 673 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 674 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 675 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 676 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 677 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 678 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 679 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 680 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 681 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 682 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 683 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 684 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 685 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 686 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); | 0-4 |
| 687 | ))[3] - __s2[3]);| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( val->value ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 688 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 689 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 690 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 691 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 692 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 693 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 694 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 695 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 696 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 697 | ) && ((size_t)(const void *)((| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 698 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 699 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 700 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 701 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 702 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 703 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 704 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 705 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 706 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 707 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 708 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 709 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 710 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 711 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 712 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 713 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "text:" ))[3] - __s2[3]); | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 714 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "text:" ))[3] - __s2[3]); | 0-4 |
| 715 | ))[3] - __s2[3]);| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "text:" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 716 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 717 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 718 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 719 | )))); }) : strncmp (| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 720 | val->value| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 721 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 722 | "text:"| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 723 | , | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 724 | 5| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 725 | ))) | TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
| 0-4 |
| 726 | == 0| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) { | 0-4 |
| 727 | val_len = strlen(val->value + 5); | - |
| 728 | tmp_data = CRYPTO_realloc((*policy)->data, (*policy)->length + val_len + 1, | - |
| 729 | __FILE__ | - |
| 730 | , | - |
| 731 | 203 | - |
| 732 | ) | - |
| 733 | ; | - |
| 734 | if (tmp_data| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) { | 0-4 |
| 735 | (*policy)->data = tmp_data; | - |
| 736 | memcpy(&(*policy)->data[(*policy)->length], | - |
| 737 | val->value + 5, val_len); | - |
| 738 | (*policy)->length += val_len; | - |
| 739 | (*policy)->data[(*policy)->length] = '\0'; | - |
| 740 | }executed 4 times by 1 test: end of block else { | 4 |
| 741 | | - |
| 742 | | - |
| 743 | | - |
| 744 | | - |
| 745 | CRYPTO_free((*policy)->data, __FILE__, 215); | - |
| 746 | (*policy)->data = | - |
| 747 | ((void *)0) | - |
| 748 | ; | - |
| 749 | (*policy)->length = 0; | - |
| 750 | ERR_put_error(34,(150),((1|64)),__FILE__,218); | - |
| 751 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 752 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 753 | } | - |
| 754 | } else { | - |
| 755 | ERR_put_error(34,(150),(152),__FILE__,224) | - |
| 756 | ; | - |
| 757 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 758 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 759 | } | - |
| 760 | if (!tmp_data| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 761 | ERR_put_error(34,(150),((1|64)),__FILE__,229); | - |
| 762 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
| 763 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 764 | } | - |
| 765 | }executed 4 times by 1 test: end of block | 4 |
| 766 | returnexecuted 12 times by 1 test: return 1; 1;executed 12 times by 1 test: return 1; | 12 |
| 767 | err: | - |
| 768 | if (free_policy| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 769 | ASN1_OCTET_STRING_free(*policy); | - |
| 770 | *policy = | - |
| 771 | ((void *)0) | - |
| 772 | ; | - |
| 773 | } never executed: end of block | 0 |
| 774 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 775 | } | - |
| 776 | | - |
| 777 | static PROXY_CERT_INFO_EXTENSION *r2i_pci(X509V3_EXT_METHOD *method, | - |
| 778 | X509V3_CTX *ctx, char *value) | - |
| 779 | { | - |
| 780 | PROXY_CERT_INFO_EXTENSION *pci = | - |
| 781 | ((void *)0) | - |
| 782 | ; | - |
| 783 | struct stack_st_CONF_VALUE *vals; | - |
| 784 | ASN1_OBJECT *language = | - |
| 785 | ((void *)0) | - |
| 786 | ; | - |
| 787 | ASN1_INTEGER *pathlen = | - |
| 788 | ((void *)0) | - |
| 789 | ; | - |
| 790 | ASN1_OCTET_STRING *policy = | - |
| 791 | ((void *)0) | - |
| 792 | ; | - |
| 793 | int i, j; | - |
| 794 | | - |
| 795 | vals = X509V3_parse_list(value); | - |
| 796 | for (i = 0; i < sk_CONF_VALUE_num(vals)| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
; i++) { | 4-8 |
| 797 | CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); | - |
| 798 | if (!cnf->name| TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
|| (*| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 2 times by 1 test |
cnf->name != '@'| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 2 times by 1 test |
&& !cnf->value| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
)) { | 0-8 |
| 799 | ERR_put_error(34,(155),(153),__FILE__,258) | - |
| 800 | ; | - |
| 801 | ERR_add_error_data(6, "section:", (cnf)->section, ",name:", (cnf)->name, ",value:", (cnf)->value); | - |
| 802 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 803 | } | - |
| 804 | if (*| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 6 times by 1 test |
cnf->name == '@'| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) { | 2-6 |
| 805 | struct stack_st_CONF_VALUE *sect; | - |
| 806 | int success_p = 1; | - |
| 807 | | - |
| 808 | sect = X509V3_get_section(ctx, cnf->name + 1); | - |
| 809 | if (!sect| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
| 810 | ERR_put_error(34,(155),(135),__FILE__,268); | - |
| 811 | ERR_add_error_data(6, "section:", (cnf)->section, ",name:", (cnf)->name, ",value:", (cnf)->value); | - |
| 812 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 813 | } | - |
| 814 | for (j = 0; success_p| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
&& j < sk_CONF_VALUE_num(sect)| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 2 times by 1 test |
; j++) { | 0-8 |
| 815 | success_p = | - |
| 816 | process_pci_value(sk_CONF_VALUE_value(sect, j), | - |
| 817 | &language, &pathlen, &policy); | - |
| 818 | }executed 6 times by 1 test: end of block | 6 |
| 819 | X509V3_section_free(ctx, sect); | - |
| 820 | if (!success_p| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
| 821 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 822 | }executed 2 times by 1 test: end of block else { | 2 |
| 823 | if (!process_pci_value(cnf, &language, &pathlen, &policy)| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) { | 0-6 |
| 824 | ERR_add_error_data(6, "section:", (cnf)->section, ",name:", (cnf)->name, ",value:", (cnf)->value); | - |
| 825 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 826 | } | - |
| 827 | }executed 6 times by 1 test: end of block | 6 |
| 828 | } | - |
| 829 | | - |
| 830 | | - |
| 831 | if (!language| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 832 | ERR_put_error(34,(155),(154),__FILE__,291) | - |
| 833 | ; | - |
| 834 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 835 | } | - |
| 836 | i = OBJ_obj2nid(language); | - |
| 837 | if ((i == 667| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
|| i == 665| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) && policy| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-4 |
| 838 | ERR_put_error(34,(155),(159),__FILE__,297) | - |
| 839 | ; | - |
| 840 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 841 | } | - |
| 842 | | - |
| 843 | pci = PROXY_CERT_INFO_EXTENSION_new(); | - |
| 844 | if (pci == | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 845 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 846 | ) { | - |
| 847 | ERR_put_error(34,(155),((1|64)),__FILE__,303); | - |
| 848 | goto never executed: goto err; err;never executed: goto err; | 0 |
| 849 | } | - |
| 850 | | - |
| 851 | pci->proxyPolicy->policyLanguage = language; | - |
| 852 | language = | - |
| 853 | ((void *)0) | - |
| 854 | ; | - |
| 855 | pci->proxyPolicy->policy = policy; | - |
| 856 | policy = | - |
| 857 | ((void *)0) | - |
| 858 | ; | - |
| 859 | pci->pcPathLengthConstraint = pathlen; | - |
| 860 | pathlen = | - |
| 861 | ((void *)0) | - |
| 862 | ; | - |
| 863 | gotoexecuted 4 times by 1 test: goto end; end;executed 4 times by 1 test: goto end; | 4 |
| 864 | err: | - |
| 865 | ASN1_OBJECT_free(language); | - |
| 866 | ASN1_INTEGER_free(pathlen); | - |
| 867 | pathlen = | - |
| 868 | ((void *)0) | - |
| 869 | ; | - |
| 870 | ASN1_OCTET_STRING_free(policy); | - |
| 871 | policy = | - |
| 872 | ((void *)0) | - |
| 873 | ; | - |
| 874 | PROXY_CERT_INFO_EXTENSION_free(pci); | - |
| 875 | pci = | - |
| 876 | ((void *)0) | - |
| 877 | ; | - |
| 878 | end: code before this statement never executed: end: | 0 |
| 879 | sk_CONF_VALUE_pop_free(vals, X509V3_conf_free); | - |
| 880 | returnexecuted 4 times by 1 test: return pci; pci;executed 4 times by 1 test: return pci; | 4 |
| 881 | } | - |
| | |