Files
Open_Ultra_SAST/benchmarks/pairs/vfc/openssl-cve-2023-0216/vuln.c
T
Marius Ciepluch 0116f9bea6 feat(real-world-vfc-slice): add labeled OpenSSL/Firefox/Chromium/curl pair corpus
Harvest 176 isolated vuln-vs-fix functions (109 CVEs, 352 training rows)
into benchmarks/pairs/vfc with provenance and a JSONL training manifest.
Score the slice as an honesty dashboard (ousast pairs --slice vfc);
keep the pair gate on the local fixtures only.
2026-09-04 16:45:38 +02:00

20 lines
628 B
C

/* Provenance: openssl/openssl STACK_OF (vuln).
* repo: openssl/openssl
* commit: 625faca931957719c76fb16094cf5b6e0debe23f
* parent: 625faca931957719c76fb16094cf5b6e0debe23f
* commit_url: https://github.com/openssl/openssl/commit/80253dbdc92bec584f4a9866b43f8674156d838a
* cve: CVE-2023-0216
* license: Apache-2.0
* function: STACK_OF
* relpath: crypto/pkcs7/pk7_lib.c
*/
static STACK_OF(X509) *pkcs7_get_signer_certs(const PKCS7 *p7)
{
if (PKCS7_type_is_signed(p7))
return p7->d.sign->cert;
if (PKCS7_type_is_signedAndEnveloped(p7))
return p7->d.signed_and_enveloped->cert;
return NULL;
}