after
dict
before
dict
domain
stringclasses
1 value
language
stringclasses
13 values
pair_id
stringlengths
24
107
repository
stringlengths
7
51
schema_version
int64
1
1
source_datasets
listlengths
1
1
type_labels
unknown
{ "labels": { "bug": 0, "security": 0 }, "method_name": "HPHP.FastCGIServer", "path": "hphp/runtime/server/fastcgi/fastcgi-server.cpp", "revision": "97ef580ec2cca9a54da6f9bd9fdd9a455f6d74ed", "source": "FastCGIServer::FastCGIServer(const std::string &address,\n int port,\...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "HPHP.FastCGIServer", "path": "hphp/runtime/server/fastcgi/fastcgi-server.cpp", "revision": "149c1e1562e122012cc08aada707bce577fb5f3a", "source": "FastCGIServer::FastCGIServer(const std::string &address,\n int port,\...
security
cpp
009ffed856a8788e2837bdaa
facebook/hhvm
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "lmp_print_data_link_subobjs", "path": "print-lmp.c", "revision": "0b661e0aa61850234b64394585cf577aac570bf4", "source": "static int\nlmp_print_data_link_subobjs(netdissect_options *ndo, const u_char *obj_tptr,\n int t...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "lmp_print_data_link_subobjs", "path": "print-lmp.c", "revision": "d97e94223720684c6aa740ff219e0d19426c2220", "source": "static int\nlmp_print_data_link_subobjs(netdissect_options *ndo, const u_char *obj_tptr,\n int t...
security
c
00af7e3e9c7782d0f963dad2
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "imap_hcache_open", "path": "imap/util.c", "revision": "31eef6c766f47df8281942d19f76e35f475c781d", "source": "header_cache_t* imap_hcache_open (IMAP_DATA* idata, const char* path)\n{\n IMAP_MBOX mx;\n ciss_url_t url;\n char cachepath[LONG...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "imap_hcache_open", "path": "imap/util.c", "revision": "6aed28b40a0410ec47d40c8c7296d8d10bae7576", "source": "header_cache_t* imap_hcache_open (IMAP_DATA* idata, const char* path)\n{\n IMAP_MBOX mx;\n ciss_url_t url;\n char cachepath[LONG_ST...
security
c
015d5e44896fe6018e25e0ea
muttmua/mutt
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ospf6_decode_v3", "path": "print-ospf6.c", "revision": "88b2dac837e81cf56dce05e6e7b5989332c0092d", "source": "static int\nospf6_decode_v3(netdissect_options *ndo,\n register const struct ospf6hdr *op,\n register c...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "ospf6_decode_v3", "path": "print-ospf6.c", "revision": "571a6f33f47e7a2394fa08f925e534135c29cf1e", "source": "static int\nospf6_decode_v3(netdissect_options *ndo,\n register const struct ospf6hdr *op,\n register c...
security
c
038f185d2f8b3ee7a7a1ac47
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "flac_buffer_copy", "path": "src/flac.c", "revision": "60b234301adf258786d8b90be5c1d437fc8799e0", "source": "static sf_count_t\nflac_buffer_copy (SF_PRIVATE *psf)\n{\tFLAC_PRIVATE* pflac = (FLAC_PRIVATE*) psf->codec_data ;\n\tconst FLAC__Frame ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "flac_buffer_copy", "path": "src/flac.c", "revision": "febad4673f294801dfcaadf9657dedf255f0789d", "source": "static sf_count_t\nflac_buffer_copy (SF_PRIVATE *psf)\n{\tFLAC_PRIVATE* pflac = (FLAC_PRIVATE*) psf->codec_data ;\n\tconst FLAC__Frame ...
security
c
04ca917fbec3ac7644115c56
erikd/libsndfile
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "onig_new_deluxe", "path": "src/regext.c", "revision": "0f7f61ed1b7b697e283e37bd2d731d0bd57adb55", "source": "extern int\nonig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end,\n OnigCompileInfo* ci, On...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "onig_new_deluxe", "path": "src/regext.c", "revision": "c509265c5f6ae7264f7b8a8aae1cfa5fc59d108c", "source": "extern int\nonig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end,\n OnigCompileInfo* ci, OnigE...
security
c
05346635f356557804b71b5b
kkos/oniguruma
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "tftp_connect", "path": "lib/tftp.c", "revision": "facb0e4662415b5f28163e853dc6742ac5fafb3d", "source": "static CURLcode tftp_connect(struct connectdata *conn, bool *done)\n{\n tftp_state_data_t *state;\n int blksize;\n int need_blksize;\n\n...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "tftp_connect", "path": "lib/tftp.c", "revision": "82f3ba3806a34fe94dcf9e5c9b88deda6679ca1b", "source": "static CURLcode tftp_connect(struct connectdata *conn, bool *done)\n{\n tftp_state_data_t *state;\n int blksize;\n\n blksize = TFTP_BLKS...
security
c
06d65527e1365ae63de933af
curl/curl
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "aiff_read_chanmap", "path": "src/aiff.c", "revision": "f833c53cb596e9e1792949f762e0b33661822748", "source": "static int\naiff_read_chanmap (SF_PRIVATE * psf, unsigned dword)\n{\tconst AIFF_CAF_CHANNEL_MAP * map_info ;\n\tunsigned channel_bitma...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "aiff_read_chanmap", "path": "src/aiff.c", "revision": "66aa47ffeea1f6010a5ab45d13fa53b5bcad4e6b", "source": "static int\naiff_read_chanmap (SF_PRIVATE * psf, unsigned dword)\n{\tconst AIFF_CAF_CHANNEL_MAP * map_info ;\n\tunsigned channel_bitma...
security
c
0fdf03c6c5e3da1ab02991a9
erikd/libsndfile
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "sc_oberthur_read_file", "path": "src/libopensc/pkcs15-oberthur.c", "revision": "6903aebfddc466d966c7b865fae34572bf3ed23e", "source": "static int\nsc_oberthur_read_file(struct sc_pkcs15_card *p15card, const char *in_path,\n\t\tunsigned char **o...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "sc_oberthur_read_file", "path": "src/libopensc/pkcs15-oberthur.c", "revision": "9ffb9bae63c8b7fbababb8481a83f1b575e59a18", "source": "static int\nsc_oberthur_read_file(struct sc_pkcs15_card *p15card, const char *in_path,\n\t\tunsigned char **o...
security
c
105fe03be99c099cbfa5eed5
opensc/opensc
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "wb_prep", "path": "print-wb.c", "revision": "cc356512f512e7fa423b3674db4bb31dbe40ffec", "source": "static int\nwb_prep(netdissect_options *ndo,\n const struct pkt_prep *prep, u_int len)\n{\n\tint n;\n\tconst struct pgstate *ps;\n\tconst...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "wb_prep", "path": "print-wb.c", "revision": "13ab8d18617d616c7d343530f8a842e7143fb5cc", "source": "static int\nwb_prep(netdissect_options *ndo,\n const struct pkt_prep *prep, u_int len)\n{\n\tint n;\n\tconst struct pgstate *ps;\n\tconst...
security
c
1af8d68290cf1ea185eb1c99
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "kadm5_modify_principal", "path": "src/lib/kadm5/srv/svr_principal.c", "revision": "b863de7fbf080b15e347a736fdda0a82d42f4f6b", "source": "kadm5_ret_t\nkadm5_modify_principal(void *server_handle,\n kadm5_principal_ent_t ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "kadm5_modify_principal", "path": "src/lib/kadm5/srv/svr_principal.c", "revision": "df17a1224a3406f57477bcd372c61e04c0e5a5bb", "source": "kadm5_ret_t\nkadm5_modify_principal(void *server_handle,\n kadm5_principal_ent_t ent...
security
c
1c35a030b24491c2ec1934aa
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "opj_pi_create_decode", "path": "src/lib/openjp2/pi.c", "revision": "ef01f18dfc6780b776d0674ed3e7415c6ef54d24", "source": "opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image,\n\t\t\t\t\t\t\t\t\t\topj_cp_t *p_cp,\n\t\t\t\t\t\t\t\t\t\tO...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "opj_pi_create_decode", "path": "src/lib/openjp2/pi.c", "revision": "e078172b1c3f98d2219c37076b238fb759c751ea", "source": "opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image,\n\t\t\t\t\t\t\t\t\t\topj_cp_t *p_cp,\n\t\t\t\t\t\t\t\t\t\tO...
security
c
1ec1e10d8ecc3aeec647c7f5
uclouvain/openjpeg
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "call_hook", "path": "ipsecmod/ipsecmod.c", "revision": "34e52a4313d59b9d57e928c44300fd81e1a48910", "source": "static int\ncall_hook(struct module_qstate* qstate, struct ipsecmod_qstate* iq,\n\tstruct ipsecmod_env* ATTR_UNUSED(ie))\n{\n\tsiz...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "call_hook", "path": "ipsecmod/ipsecmod.c", "revision": "b83d9f8d0481918253ef178629daccc2e66afe93", "source": "static int\ncall_hook(struct module_qstate* qstate, struct ipsecmod_qstate* iq,\n\tstruct ipsecmod_env* ATTR_UNUSED(ie))\n{\n\tsize_t...
security
c
247ca4e518f9cfccd1235591
nlnetlabs/unbound
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.Internal.PngChunk", "path": "src/pngchunk_int.cpp", "revision": "35b3e596edacd2437c2c5d3dd2b5c9502626163d", "source": " DataBuf PngChunk::parseTXTChunk(const DataBuf& data,\n int keysiz...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.Internal.PngChunk", "path": "src/pngchunk_int.cpp", "revision": "6da77e2c644d04e6e459d12a133730af22b8c1dc", "source": " DataBuf PngChunk::parseTXTChunk(const DataBuf& data,\n int keysize,\...
security
cpp
25bbbc4db0e5bddcdfbed2fc
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 1...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "parse_sec_attr_44", "path": "src/libopensc/card-setcos.c", "revision": "c3f23b836e5a1766c36617fe1da30d22f7b63de2", "source": "static void parse_sec_attr_44(sc_file_t *file, const u8 *buf, size_t len)\n{\n\t/* OpenSc Operation values for each c...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "parse_sec_attr_44", "path": "src/libopensc/card-setcos.c", "revision": "6263afbe43e668bd0a34ce870d7e9fc61503b512", "source": "static void parse_sec_attr_44(sc_file_t *file, const u8 *buf, size_t len)\n{\n\t/* OpenSc Operation values for each c...
security
c
261ce2748427d99d3051df01
opensc/opensc
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "pi_next_rpcl", "path": "src/lib/openmj2/pi.c", "revision": "c277159986c80142180fbe5efb256bbf3bdf3edc", "source": "static opj_bool pi_next_rpcl(opj_pi_iterator_t * pi)\n{\n opj_pi_comp_t *comp = NULL;\n opj_pi_resolution_t *res = NULL;\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "pi_next_rpcl", "path": "src/lib/openmj2/pi.c", "revision": "46822d0eddc3324b2a056bc60ffa997027bebd66", "source": "static opj_bool pi_next_rpcl(opj_pi_iterator_t * pi)\n{\n opj_pi_comp_t *comp = NULL;\n opj_pi_resolution_t *res = NULL;\n ...
security
c
2738b17989a2f974474f276b
uclouvain/openjpeg
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "icmp_print", "path": "print-icmp.c", "revision": "1a1bce0526a77b62e41531b00f8bb5e21fd4f3a3", "source": "void\nicmp_print(netdissect_options *ndo, const u_char *bp, u_int plen, const u_char *bp2,\n int fragmented)\n{\n\tchar *cp;\n\tc...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "icmp_print", "path": "print-icmp.c", "revision": "e5ec0d6b59b02423ef6a29544bca34b62745c180", "source": "void\nicmp_print(netdissect_options *ndo, const u_char *bp, u_int plen, const u_char *bp2,\n int fragmented)\n{\n\tchar *cp;\n\tc...
security
c
2e1ed03341b81618774be08b
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "process_secondary_order", "path": "orders.c", "revision": "4dca546d04321a610c1835010b5dad85163b65e1", "source": "static void\nprocess_secondary_order(STREAM s)\n{\n\t/* The length isn't calculated correctly by the server.\n\t * For very com...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "process_secondary_order", "path": "orders.c", "revision": "1f13bf5c5e86cbc99a6f0492fcdcd38cf0da2105", "source": "static void\nprocess_secondary_order(STREAM s)\n{\n\t/* The length isn't calculated correctly by the server.\n\t * For very compac...
security
c
357c8e2348fbf98e5acbced4
rdesktop/rdesktop
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 1, "before": 1 }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": 1, "before": 1 }, "cwe_190": { "after": null, "b...
{ "labels": { "bug": null, "security": 0 }, "method_name": "process_tgs_req", "path": "src/kdc/do_tgs_req.c", "revision": "d775c95af7606a51bf79547a94fa52ddd1cb7f49", "source": "krb5_error_code\nprocess_tgs_req(krb5_kdc_req *request, krb5_data *pkt,\n const krb5_fulladdr *from, kdc_rea...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "process_tgs_req", "path": "src/kdc/do_tgs_req.c", "revision": "35fac31b7645e14d75200d31c631a8530c9b855c", "source": "krb5_error_code\nprocess_tgs_req(krb5_kdc_req *request, krb5_data *pkt,\n const krb5_fulladdr *from, kdc_realm_...
security
c
3a31bb868463917b689ce316
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.WebPImage", "path": "src/webpimage.cpp", "revision": "caa4e6745a76a23bb80127cf54c0d65096ae684c", "source": " void WebPImage::decodeChunks(uint32_t filesize)\n {\n DataBuf chunkId(5);\n byte size_buff[WEBP_TA...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.WebPImage", "path": "src/webpimage.cpp", "revision": "db870755b928cca7411a092ce12292afe9c4fa36", "source": " void WebPImage::decodeChunks(uint64_t filesize)\n {\n DataBuf chunkId(5);\n byte size_buff[WEBP_TAG_S...
security
cpp
3a6a4ed778ce4385e51447ce
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "crypto_xmit", "path": "ntpd/ntp_crypto.c", "revision": "c4cd4aaf418f57f7225708a93bf48afb2bc9c1da", "source": "int\ncrypto_xmit(\n\tstruct peer *peer,\t/* peer structure pointer */\n\tstruct pkt *xpkt,\t/* transmit packet pointer */\n\tstruct r...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "crypto_xmit", "path": "ntpd/ntp_crypto.c", "revision": "629c87e8d3a4f8a3f6c9b1d898d9e78c7da9f6d2", "source": "int\ncrypto_xmit(\n\tstruct peer *peer,\t/* peer structure pointer */\n\tstruct pkt *xpkt,\t/* transmit packet pointer */\n\tstruct r...
security
c
3c9ae3d147336a5c5e3627f3
ntp-project/ntp
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "jpc_int_firstone", "path": "src/libjasper/jpc/jpc_math.c", "revision": "e6c8d5a838b49f94616be14753aa5c89d64605b5", "source": "int jpc_int_firstone(int x)\n{\n\tint n;\n\n\t/* The argument must be nonnegative. */\n\tassert(x >= 0);\n\n\tn = ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "jpc_firstone", "path": "src/libjasper/jpc/jpc_math.c", "revision": "0fac0048c5c2fcf7ced06a72334d73ffd411ca9d", "source": "int jpc_firstone(int x)\n{\n\tint n;\n\n\t/* The argument must be nonnegative. */\n\tassert(x >= 0);\n\n\tn = -1;\n\twhil...
security
c
3de33225d89b155a5f3914fd
mdadams/jasper
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "return_enc_padata", "path": "src/kdc/kdc_preauth.c", "revision": "94e5eda5bb94d1d44733a49c3d9b6d1e42c74def", "source": "krb5_error_code\nreturn_enc_padata(krb5_context context, krb5_data *req_pkt,\n krb5_kdc_req *request, k...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "return_enc_padata", "path": "src/kdc/kdc_preauth.c", "revision": "0b8c6f3e1e8e561aa56a7d4e2171320119991dae", "source": "krb5_error_code\nreturn_enc_padata(krb5_context context, krb5_data *req_pkt,\n krb5_kdc_req *request, krb5...
security
c
407abd649d9db1383b657dd9
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "diff_addremove", "path": "diff.c", "revision": "fd55a19eb1d49ae54008d932a65f79cd6fda45c9", "source": "void diff_addremove(struct diff_options *options,\n\t\t int addremove, unsigned mode,\n\t\t const unsigned char *sha1,\n\t\t const c...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "diff_addremove", "path": "diff.c", "revision": "620e2bb93785ed8eb60846d94fd4753d4817c8ec", "source": "void diff_addremove(struct diff_options *options,\n\t\t int addremove, unsigned mode,\n\t\t const unsigned char *sha1,\n\t\t const c...
security
c
41f69794b35b5cb7fac3242f
git/git
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 1 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "ReadBMP", "path": "plug-ins/file-bmp/bmp-read.c", "revision": "e3afc99b2fa7aeddf0dba4778663160a5bc682d3", "source": "gint32\nReadBMP (const gchar *name,\n GError **error)\n{\n FILE *fd;\n guchar buffer[64];\n gint ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "ReadBMP", "path": "plug-ins/file-bmp/bmp-read.c", "revision": "b6e57b11d3f1215aee131d0c2d619dd968971b0a", "source": "gint32\nReadBMP (const gchar *name,\n GError **error)\n{\n FILE *fd;\n guchar buffer[64];\n gint ...
security
c
4205cebfc75fcd1739752426
gnome/gimp
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "pi_next_cprl", "path": "src/lib/openmj2/pi.c", "revision": "c277159986c80142180fbe5efb256bbf3bdf3edc", "source": "static opj_bool pi_next_cprl(opj_pi_iterator_t * pi)\n{\n opj_pi_comp_t *comp = NULL;\n opj_pi_resolution_t *res = NULL;\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "pi_next_cprl", "path": "src/lib/openmj2/pi.c", "revision": "46822d0eddc3324b2a056bc60ffa997027bebd66", "source": "static opj_bool pi_next_cprl(opj_pi_iterator_t * pi)\n{\n opj_pi_comp_t *comp = NULL;\n opj_pi_resolution_t *res = NULL;\n ...
security
c
47b7780c89aa5812110eed03
uclouvain/openjpeg
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.readHeader", "path": "src/bigtiffimage.cpp", "revision": "1647908e00a4df7246d76678e59587e62c690dcd", "source": " Header readHeader(BasicIo& io)\n {\n byte header[2];\n io.read(header, 2);\n\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.readHeader", "path": "src/bigtiffimage.cpp", "revision": "4be065595e4b81e876e32c9c4705f8313f896d43", "source": " Header readHeader(BasicIo& io)\n {\n byte header[2];\n io.read(header, 2);\n\n ...
security
cpp
4968c82de13768d1e773e1aa
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.isoSpeed", "path": "src/easyaccess.cpp", "revision": "6e42c1b55e0fc4f360cc56010b0ffe19aa6062d9", "source": " ExifData::const_iterator isoSpeed(const ExifData& ed)\n {\n static const char* keys[] = {\n \"Exif.Ph...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.isoSpeed", "path": "src/easyaccess.cpp", "revision": "dc04cc92ebd6dd475a6c20ebc6f6fe80022856d5", "source": " ExifData::const_iterator isoSpeed(const ExifData& ed)\n {\n static const char* keys[] = {\n \"Exif.Photo...
security
cpp
4c5f3b9e4b2f3ebaf1cc34f3
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": n...
{ "labels": { "bug": null, "security": 0 }, "method_name": "jas_image_readcmpt", "path": "src/libjasper/base/jas_image.c", "revision": "243749e5a6384acdb9f0a59515c0b85dfd62bd5b", "source": "int jas_image_readcmpt(jas_image_t *image, int cmptno, jas_image_coord_t x,\n jas_image_coord_t y, jas_image_...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "jas_image_readcmpt", "path": "src/libjasper/base/jas_image.c", "revision": "573a6e47d45c9166331c115e78be962061c00bca", "source": "int jas_image_readcmpt(jas_image_t *image, int cmptno, jas_image_coord_t x,\n jas_image_coord_t y, jas_image_coo...
security
c
4d9a475e32f6e90d74ea8c43
mdadams/jasper
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ieee802_15_4_if_print", "path": "print-802_15_4.c", "revision": "8512734883227c11568bb35da1d48b9f8466f43f", "source": "u_int\nieee802_15_4_if_print(netdissect_options *ndo,\n const struct pcap_pkthdr *h, const u_char *p)\n...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "ieee802_15_4_if_print", "path": "print-802_15_4.c", "revision": "a7e5f58f402e6919ec444a57946bade7dfd6b184", "source": "u_int\nieee802_15_4_if_print(netdissect_options *ndo,\n const struct pcap_pkthdr *h, const u_char *p)\n...
security
c
5134e123046d3103a2806fe1
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.WebPImage", "path": "src/webpimage.cpp", "revision": "c73d1e27198a389ce7caf52ac30f8e2120acdafd", "source": " void WebPImage::decodeChunks(uint32_t filesize)\n {\n DataBuf chunkId(5);\n byte size_buff[WEBP_TA...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.WebPImage", "path": "src/webpimage.cpp", "revision": "b5e3b5687cf937a998fb9873c64c2e4d812736ad", "source": " void WebPImage::decodeChunks(uint64_t filesize)\n {\n DataBuf chunkId(5);\n byte size_buff[WEBP_TAG_S...
security
cpp
5204d731dd4caa97f4432b22
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.WebPImage", "path": "src/webpimage.cpp", "revision": "783b3a6ff15ed6f82a8f8e6c8a6f3b84a9b04d4b", "source": " void WebPImage::doWriteMetadata(BasicIo& outIo)\n {\n if (!io_->isopen()) throw Error(kerInputDataReadFailed);\n...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.WebPImage", "path": "src/webpimage.cpp", "revision": "dbde0bc5367e2ad29909ed84170e3fe4c28c9dea", "source": " void WebPImage::doWriteMetadata(BasicIo& outIo)\n {\n if (!io_->isopen()) throw Error(kerInputDataReadFailed);\n ...
security
cpp
5b07b9698a1dac640b6a30e5
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 1 }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": 0, "before": 1 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": null, "before"...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "babel_print_v2", "path": "print-babel.c", "revision": "12f66f69f7bf1ec1266ddbee90a7616cbf33696b", "source": "static void\nbabel_print_v2(netdissect_options *ndo,\n const u_char *cp, u_int length)\n{\n u_int i;\n u_short bod...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "babel_print_v2", "path": "print-babel.c", "revision": "aa3e54f594385ce7e1e319b0c84999e51192578b", "source": "static void\nbabel_print_v2(netdissect_options *ndo,\n const u_char *cp, u_int length)\n{\n u_int i;\n u_short bod...
security
c
5d3ffa606a8425d16a648f57
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "eigrp_print", "path": "print-eigrp.c", "revision": "de981e6070d168b58ec1bb0713ded77ed4ad87f4", "source": "void\neigrp_print(netdissect_options *ndo, register const u_char *pptr, register u_int len)\n{\n const struct eigrp_common_header *eig...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "eigrp_print", "path": "print-eigrp.c", "revision": "7ac73d6cd41e9d4ac0ca7e6830ca390e195bb21c", "source": "void\neigrp_print(netdissect_options *ndo, register const u_char *pptr, register u_int len)\n{\n const struct eigrp_common_header *eig...
security
c
5f865c5240f0ecb5c6ff0a78
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "fits_decode_header", "path": "plug-ins/file-fits/fits-io.c", "revision": "ace45631595e8781a1420842582d67160097163c", "source": "static FITS_HDU_LIST *fits_decode_header (FITS_RECORD_LIST *hdr,\n long hdr_offset, long ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "fits_decode_header", "path": "plug-ins/file-fits/fits-io.c", "revision": "09e3ce9206e032c1ff5a9daac491eebaf6e9f3e8", "source": "static FITS_HDU_LIST *fits_decode_header (FITS_RECORD_LIST *hdr,\n long hdr_offset, long dat...
security
c
620f1545074247139286ddd9
gnome/gimp
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "olsr_print", "path": "print-olsr.c", "revision": "0cb1b8a434b599b8d636db029aadb757c24e39d6", "source": "void\nolsr_print(netdissect_options *ndo,\n const u_char *pptr, u_int length, int is_ipv6)\n{\n union {\n const struct ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "olsr_print", "path": "print-olsr.c", "revision": "26b956739a77641634964e90aa765884daef0d0f", "source": "void\nolsr_print(netdissect_options *ndo,\n const u_char *pptr, u_int length, int is_ipv6)\n{\n union {\n const struct ...
security
c
6676c3e5c95408a04fdcad72
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "check_rpcsec_auth", "path": "src/kadmin/server/kadm_rpc_svc.c", "revision": "6609658db0799053fbef0d7d0aa2f1fd68ef32d8", "source": "static int\ncheck_rpcsec_auth(struct svc_req *rqstp)\n{\n gss_ctx_id_t ctx;\n krb5_context kctx;\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "check_rpcsec_auth", "path": "src/kadmin/server/kadm_rpc_svc.c", "revision": "a197e92349a4aa2141b5dff12e9dd44c2a2166e3", "source": "static int\ncheck_rpcsec_auth(struct svc_req *rqstp)\n{\n gss_ctx_id_t ctx;\n krb5_context kctx;\n O...
security
c
66b2b198cff88186ab71e2f0
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "Curl_urldecode", "path": "lib/escape.c", "revision": "192c4f788d48f82c03e9cef40013f34370e90737", "source": "CURLcode Curl_urldecode(struct SessionHandle *data,\n const char *string, size_t length,\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Curl_urldecode", "path": "lib/escape.c", "revision": "da0db499fd1fed3ab061d8c03d25c06164c9f429", "source": "CURLcode Curl_urldecode(struct SessionHandle *data,\n const char *string, size_t length,\n ...
security
c
66e090ca0791f5119b220d6b
curl/curl
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "pi_next_pcrl", "path": "src/lib/openmj2/pi.c", "revision": "c277159986c80142180fbe5efb256bbf3bdf3edc", "source": "static opj_bool pi_next_pcrl(opj_pi_iterator_t * pi)\n{\n opj_pi_comp_t *comp = NULL;\n opj_pi_resolution_t *res = NULL;\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "pi_next_pcrl", "path": "src/lib/openmj2/pi.c", "revision": "46822d0eddc3324b2a056bc60ffa997027bebd66", "source": "static opj_bool pi_next_pcrl(opj_pi_iterator_t * pi)\n{\n opj_pi_comp_t *comp = NULL;\n opj_pi_resolution_t *res = NULL;\n ...
security
c
698e1aa9f5800ee5c7575233
uclouvain/openjpeg
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "process_chpw_request", "path": "src/kadmin/server/schpw.c", "revision": "cf1a0c411b2668c57c41e9c4efd15ba17b6b322c", "source": "static krb5_error_code\nprocess_chpw_request(krb5_context context, void *server_handle, char *realm,\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "process_chpw_request", "path": "src/kadmin/server/schpw.c", "revision": "0a97afba6986e2818cd26869704820e00efcae63", "source": "static krb5_error_code\nprocess_chpw_request(krb5_context context, void *server_handle, char *realm,\n ...
security
c
6af986859c7063fe8b388f07
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": 1, "before": 1 }, "cwe_190": { "after": null, ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.Internal.CiffDirectory", "path": "src/crwimage_int.cpp", "revision": "c0ecc2ae36f34462be98623deb85ba1747ae2175", "source": " void CiffDirectory::readDirectory(const byte* pData,\n uint32_t si...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.Internal.CiffDirectory", "path": "src/crwimage_int.cpp", "revision": "f4a37c63f2f890c16ff7192fc89a75a7c34ae82b", "source": " void CiffDirectory::readDirectory(const byte* pData,\n uint32_t size,...
security
cpp
6cb6258d5e326089603a74fb
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 1...
{ "labels": { "bug": null, "security": 0 }, "method_name": "current_quote", "path": "src/textobject.c", "revision": "2f074f4685897ab7212e25931eeeb0212292829f", "source": " int\ncurrent_quote(\n oparg_T\t*oap,\n long\tcount,\n int\t\tinclude,\t// TRUE == include quote char\n int\t\tquo...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "current_quote", "path": "src/textobject.c", "revision": "2ff7e7e16db4791ec3fe45766120552ece42e8a6", "source": " int\ncurrent_quote(\n oparg_T\t*oap,\n long\tcount,\n int\t\tinclude,\t// TRUE == include quote char\n int\t\tquotec...
security
c
6cc4a25b2017467599498ade
vim/vim
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": 1, "before": 1 }, "cwe_190": { "after": null, ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "sc_pkcs15emu_gemsafeGPK_init", "path": "src/libopensc/pkcs15-gemsafeGPK.c", "revision": "ed55fcd2996930bf58b9bb57e9ba7b1f3a753c43", "source": "static int sc_pkcs15emu_gemsafeGPK_init(sc_pkcs15_card_t *p15card)\n{\n\tconst cdata certs[] = {\n\t...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "sc_pkcs15emu_gemsafeGPK_init", "path": "src/libopensc/pkcs15-gemsafeGPK.c", "revision": "96a7eca99ab4f33117d6ada6bbe9d7d31705343d", "source": "static int sc_pkcs15emu_gemsafeGPK_init(sc_pkcs15_card_t *p15card)\n{\n\tconst cdata certs[] = {\n\t...
security
c
6d5fe014dadf13725b42cb6a
opensc/opensc
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 1 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "HPHP.FastCGITransport", "path": "hphp/runtime/server/fastcgi/fastcgi-transport.cpp", "revision": "423b4b719afd5ef4e6e19d8447fbf7b6bc0d0a25", "source": "void FastCGITransport::onHeader(std::unique_ptr<folly::IOBuf> key_chain,\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "HPHP.FastCGITransport", "path": "hphp/runtime/server/fastcgi/fastcgi-transport.cpp", "revision": "a47d75b728c476d47eb7606493dd97bb7cfbca8e", "source": "void FastCGITransport::onHeader(std::unique_ptr<folly::IOBuf> key_chain,\n ...
security
cpp
73c04cf71d1288dc47441e1f
facebook/hhvm
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "main", "path": "client/mount.cifs.c", "revision": "a065c177dfc8f968775593ba00dffafeebb2e054", "source": "int main(int argc, char ** argv)\n{\n\tint c;\n\tunsigned long flags = MS_MANDLOCK;\n\tchar * orgoptions = NULL;\n\tchar * share_name = NU...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "main", "path": "client/mount.cifs.c", "revision": "3ae5dac462c4ed0fb2cd94553583c56fce2f9d80", "source": "int main(int argc, char ** argv)\n{\n\tint c;\n\tunsigned long flags = MS_MANDLOCK;\n\tchar * orgoptions = NULL;\n\tchar * share_name = NU...
security
c
7612b23c90606b137e454075
samba-team/samba
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "validate_as_request", "path": "src/kdc/kdc_util.c", "revision": "93b4a6306a0026cf1cc31ac4bd8a49ba5d034ba7", "source": "int\nvalidate_as_request(kdc_realm_t *kdc_active_realm,\n register krb5_kdc_req *request, krb5_db_entr...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "validate_as_request", "path": "src/kdc/kdc_util.c", "revision": "560e11dabb63b141df29c54aaa2e120309a1e021", "source": "int\nvalidate_as_request(kdc_realm_t *kdc_active_realm,\n register krb5_kdc_req *request, krb5_db_entry c...
security
c
78abe56a2d260a1c8f3f5176
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "bmp_decode", "path": "src/libjasper/bmp/bmp_dec.c", "revision": "5d66894d2313e3f3469f19066e149e08ff076698", "source": "jas_image_t *bmp_decode(jas_stream_t *in, char *optstr)\n{\n\tjas_image_t *image;\n\tbmp_hdr_t hdr;\n\tbmp_info_t *info;\...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "bmp_decode", "path": "src/libjasper/bmp/bmp_dec.c", "revision": "cfa945c7246407cb8ceeb7f6cb205c60295c906f", "source": "jas_image_t *bmp_decode(jas_stream_t *in, char *optstr)\n{\n\tjas_image_t *image;\n\tbmp_hdr_t hdr;\n\tbmp_info_t *info;\n\t...
security
c
78ef2ab20b15b8019da5fb12
mdadams/jasper
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.PngImage", "path": "src/pngimage.cpp", "revision": "8cd95e221889e41e9cc153e2cfb5a7b41c7bc7a4", "source": " void PngImage::readMetadata()\n {\n#ifdef DEBUG\n std::cerr << \"Exiv2::PngImage::readMetadata: Reading PNG file \...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.PngImage", "path": "src/pngimage.cpp", "revision": "f05d100579effd7459fd0715b26239d4cd2c9bcc", "source": " void PngImage::readMetadata()\n {\n#ifdef DEBUG\n std::cerr << \"Exiv2::PngImage::readMetadata: Reading PNG file \" <...
security
cpp
797441380f97402071701620
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2", "path": "src/http.cpp", "revision": "ae20c30805b330275b2aa0303a42e1f2bbd53661", "source": "int Exiv2::http(Exiv2::Dictionary& request,Exiv2::Dictionary& response,std::string& errors)\n{\n if ( !request.count(\"verb\") ) request...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2", "path": "src/http.cpp", "revision": "c79af9f5adb33043c0a5aaae1a30120cd98ef694", "source": "int Exiv2::http(Exiv2::Dictionary& request,Exiv2::Dictionary& response,std::string& errors)\n{\n if ( !request.count(\"verb\") ) request[\"...
security
cpp
79ef854f441e5e005dede7f7
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "update_read_bitmap_update", "path": "libfreerdp/core/update.c", "revision": "445a5a42c500ceb80f8fa7f2c11f3682538033f3", "source": "BITMAP_UPDATE* update_read_bitmap_update(rdpUpdate* update, wStream* s)\n{\n\tUINT32 i;\n\tBITMAP_UPDATE* bitmap...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "update_read_bitmap_update", "path": "libfreerdp/core/update.c", "revision": "602f4a2e14b41703b5f431de3154cd46a5750a2d", "source": "BITMAP_UPDATE* update_read_bitmap_update(rdpUpdate* update, wStream* s)\n{\n\tUINT32 i;\n\tBITMAP_UPDATE* bitmap...
security
c
7c89f164befc57c36b273ccf
freerdp/freerdp
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "xdr_nullstring", "path": "src/lib/kadm5/kadm_rpc_xdr.c", "revision": "df17a1224a3406f57477bcd372c61e04c0e5a5bb", "source": "bool_t xdr_nullstring(XDR *xdrs, char **objp)\n{\n u_int size;\n\n if (xdrs->x_op == XDR_ENCODE) {\n\t if (...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "xdr_nullstring", "path": "src/lib/kadm5/kadm_rpc_xdr.c", "revision": "c546a30c7c9299a419f757768a3349bde09c9cd4", "source": "bool_t xdr_nullstring(XDR *xdrs, char **objp)\n{\n u_int size;\n\n if (xdrs->x_op == XDR_ENCODE) {\n\t if (*ob...
security
c
80133fac5187335603dbac23
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 1 }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": null, "b...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "pixFillMapHoles", "path": "src/adaptmap.c", "revision": "3c18c43b6a3f753f0dfff99610d46ad46b8bfac4", "source": "l_ok\npixFillMapHoles(PIX *pix,\n l_int32 nx,\n l_int32 ny,\n l_int32 filltype)\...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "pixFillMapHoles", "path": "src/adaptmap.c", "revision": "cf6ba577e1af60e88034b8090a9a5d82e7f88298", "source": "l_ok\npixFillMapHoles(PIX *pix,\n l_int32 nx,\n l_int32 ny,\n l_int32 filltype)\...
security
c
80f374c987a98accac7d3dfc
danbloomberg/leptonica
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "credential_write_item", "path": "credential.c", "revision": "9a6bbee8006c24b46a85d29e7b38cfa79e9ab21b", "source": "static void credential_write_item(FILE *fp, const char *key, const char *value)\n{\n\tif (!value)\n\t\treturn;\n\tif (strchr(val...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "credential_write_item", "path": "credential.c", "revision": "a5ab8d03173458b76b8452efd90a7173f490c132", "source": "static void credential_write_item(FILE *fp, const char *key, const char *value)\n{\n\tif (!value)\n\t\treturn;\n\tfprintf(fp, \"...
security
c
821d3ce8d185720b79723bbd
git/git
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "git_delta_apply", "path": "src/delta.c", "revision": "c1577110467b701dcbcf9439ac225ea851b47d22", "source": "int git_delta_apply(\n\tvoid **out,\n\tsize_t *out_len,\n\tconst unsigned char *base,\n\tsize_t base_len,\n\tconst unsigned char *de...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "git_delta_apply", "path": "src/delta.c", "revision": "9844d38bed10e9ff17174434b3421b227ae710f3", "source": "int git_delta_apply(\n\tvoid **out,\n\tsize_t *out_len,\n\tconst unsigned char *base,\n\tsize_t base_len,\n\tconst unsigned char *delta...
security
c
83e994830fe8ff96ca977578
libgit2/libgit2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": null, ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "Curl_auth_create_plain_message", "path": "lib/vauth/cleartext.c", "revision": "f3a24d7916b9173c69a3e0ee790102993833d6c5", "source": "CURLcode Curl_auth_create_plain_message(struct Curl_easy *data,\n const...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Curl_auth_create_plain_message", "path": "lib/vauth/cleartext.c", "revision": "81d135d67155c5295b1033679c606165d4e28f3f", "source": "CURLcode Curl_auth_create_plain_message(struct Curl_easy *data,\n const...
security
c
85446b959645e502e7989adc
curl/curl
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "jp2_encode", "path": "src/libjasper/jp2/jp2_enc.c", "revision": "a632c6b54bd4ffc3bebab420e00b7e7688aa3846", "source": "int jp2_encode(jas_image_t *image, jas_stream_t *out, const char *optstr)\n{\n\tjp2_box_t *box;\n\tjp2_ftyp_t *ftyp;\n\tj...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "jp2_encode", "path": "src/libjasper/jp2/jp2_enc.c", "revision": "22a8d03983d569b43a45f16112018670f21c9bf5", "source": "int jp2_encode(jas_image_t *image, jas_stream_t *out, const char *optstr)\n{\n\tjp2_box_t *box;\n\tjp2_ftyp_t *ftyp;\n\tjp2_...
security
c
8d584955ddbfa7757b9c2206
mdadams/jasper
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": 1, "before": 1 }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": null, ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "eap_print", "path": "print-eap.c", "revision": "985122081165753c7442bd7824c473eb9ff56308", "source": "void\neap_print(netdissect_options *ndo,\n register const u_char *cp,\n u_int length)\n{\n const struct eap_frame_t *eap...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "eap_print", "path": "print-eap.c", "revision": "cc356512f512e7fa423b3674db4bb31dbe40ffec", "source": "void\neap_print(netdissect_options *ndo,\n register const u_char *cp,\n u_int length)\n{\n const struct eap_frame_t *eap...
security
c
8e30ac2db5e5902be2d456ce
the-tcpdump-group/tcpdump
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "main", "path": "src/appl/user_user/server.c", "revision": "102bb6ebf20f9174130c85c3b052ae104e5073ec", "source": "int main(argc, argv)\n int argc;\n char *argv[];\n{\n krb5_data pname_data, tkt_data;\n int sock = 0;\n socklen_...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "main", "path": "src/appl/user_user/server.c", "revision": "5e54fa769d1b04ccf0d904164e897d081051647f", "source": "int main(argc, argv)\n int argc;\n char *argv[];\n{\n krb5_data pname_data, tkt_data;\n int sock = 0;\n socklen_t l...
security
c
8f3c80d85ff6da9dcd021f21
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": n...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "image_render_color_thresh", "path": "base/gxicolor.c", "revision": "027c546e0dd11e0526f1780a7f3c2c66acffe209", "source": "static int\nimage_render_color_thresh(gx_image_enum *penum_orig, const byte *buffer, int data_x,\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "image_render_color_thresh", "path": "base/gxicolor.c", "revision": "1159afbcad927e1a32008b0ab87e257fc21da8e2", "source": "static int\nimage_render_color_thresh(gx_image_enum *penum_orig, const byte *buffer, int data_x,\n ...
security
c
91a633dfc0b38c554a5170e4
artifexsoftware/ghostpdl
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "HandleCursorShape", "path": "libvncclient/cursor.c", "revision": "54220248886b5001fbbb9fa73c4e1a2cb9413fed", "source": "rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc)\n{\n int bytesPerPixe...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "HandleCursorShape", "path": "libvncclient/cursor.c", "revision": "6073771eed1caf72f196e410182471e0dfd32149", "source": "rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc)\n{\n int bytesPerPixe...
security
c
9890c2702a4e82caa9f24db7
libvnc/libvncserver
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "cbs_av1_read_uvlc", "path": "libavcodec/cbs_av1.c", "revision": "b97a4b658814b2de8b9f2a3bce491c002d34de31", "source": "static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc,\n const char *name,...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "cbs_av1_read_uvlc", "path": "libavcodec/cbs_av1.c", "revision": "dfd656632e8980574dcae5c13a22c0872bc0ac75", "source": "static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc,\n const char *name,...
security
c
9a0bbebbbb97dd3969884629
ffmpeg/ffmpeg
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 1 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "opj_pi_next_pcrl", "path": "src/lib/openjp2/pi.c", "revision": "d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b", "source": "static OPJ_BOOL opj_pi_next_pcrl(opj_pi_iterator_t * pi)\n{\n opj_pi_comp_t *comp = NULL;\n opj_pi_resolution_t *res = ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "opj_pi_next_pcrl", "path": "src/lib/openjp2/pi.c", "revision": "39e962a0ca5e53722f6badda8e93681aad412cf1", "source": "static OPJ_BOOL opj_pi_next_pcrl(opj_pi_iterator_t * pi)\n{\n opj_pi_comp_t *comp = NULL;\n opj_pi_resolution_t *res = ...
security
c
a11da60389905c67b9a81b8d
uclouvain/openjpeg
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "mv_read_header", "path": "libavformat/mvdec.c", "revision": "4f05e2e2dc1a89f38cd9f0960a6561083d714f1e", "source": "static int mv_read_header(AVFormatContext *avctx)\n{\n MvContext *mv = avctx->priv_data;\n AVIOContext *pb = avctx->pb;\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "mv_read_header", "path": "libavformat/mvdec.c", "revision": "96f24d1bee7fe7bac08e2b7c74db1a046c9dc0de", "source": "static int mv_read_header(AVFormatContext *avctx)\n{\n MvContext *mv = avctx->priv_data;\n AVIOContext *pb = avctx->pb;\n ...
security
c
a12c5e58b7335ea19586c736
ffmpeg/ffmpeg
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 0 }, "cwe_120": { "after": 0, "before": 0 }, "cwe_121": { "after": 0, "before": 0 }, "cwe_122": { "after": 0, "before": 0 }, "cwe_125": { "after": 0, "before": 0 }, "cwe_190": { "after": 0, "before": 0 }, "cwe...
{ "labels": { "bug": null, "security": 0 }, "method_name": "ng_pkt", "path": "src/transports/smart_pkt.c", "revision": "1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649", "source": "static int ng_pkt(git_pkt **out, const char *line, size_t len)\n{\n\tgit_pkt_ng *pkt;\n\tconst char *ptr;\n\tsize_t alloclen;\...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "ng_pkt", "path": "src/transports/smart_pkt.c", "revision": "faa7650b8d1ab7cb0709492bcc7c68464a944201", "source": "static int ng_pkt(git_pkt **out, const char *line, size_t len)\n{\n\tgit_pkt_ng *pkt;\n\tconst char *ptr;\n\tsize_t alloclen;\n\n...
security
c
a72fd4598050896bc168e8b4
libgit2/libgit2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": n...
{ "labels": { "bug": null, "security": 0 }, "method_name": "HPHP.OutputFile", "path": "hphp/runtime/base/output-file.cpp", "revision": "6e4dd9ec3f14b48170fc45dc9d13a3261765f994", "source": "int64_t OutputFile::readImpl(char* /*buffer*/, int64_t /*length*/) {\n raise_warning(\"cannot read from a php...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "HPHP.OutputFile", "path": "hphp/runtime/base/output-file.cpp", "revision": "50a1c8c05ef3955fbd0087f2028c7eb8e47063e1", "source": "int64_t OutputFile::readImpl(char* /*buffer*/, int64_t /*length*/) {\n raise_warning(\"cannot read from a php://...
security
cpp
a8cb4e80fac6926be114f107
facebook/hhvm
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "prep_reprocess_req", "path": "src/kdc/do_tgs_req.c", "revision": "8ee70ec63931d1e38567905387ab9b1d45734d81", "source": "static krb5_int32\nprep_reprocess_req(krb5_kdc_req *request, krb5_principal *krbtgt_princ)\n{\n krb5_error_code retva...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "prep_reprocess_req", "path": "src/kdc/do_tgs_req.c", "revision": "2fef06bf57bf317c72d6c91d332935b6fc2e98e5", "source": "static krb5_int32\nprep_reprocess_req(krb5_kdc_req *request, krb5_principal *krbtgt_princ)\n{\n krb5_error_code retval =...
security
c
a9ad184ae23276e87a956e50
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": 1 }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": 0, "before": null...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.Internal.PngChunk", "path": "src/pngchunk_int.cpp", "revision": "43f154f44b838e6b232193ccbd48e5a2e94bdd35", "source": " DataBuf PngChunk::readRawProfile(const DataBuf& text,bool iTXt)\n {\n DataBuf info;\n...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.Internal.PngChunk", "path": "src/pngchunk_int.cpp", "revision": "d3e69f6d2c60bd06bf1c0564b919989ecfc89ec1", "source": " DataBuf PngChunk::readRawProfile(const DataBuf& text,bool iTXt)\n {\n DataBuf info;\n ...
security
cpp
ad6344edc356b385dbc0358b
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.PsdImage", "path": "src/psdimage.cpp", "revision": "b7c71f3ad0386cd7af3b73443c0615ada073f0d5", "source": " void PsdImage::readMetadata()\n {\n#ifdef DEBUG\n std::cerr << \"Exiv2::PsdImage::readMetadata: Reading Photoshop ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.PsdImage", "path": "src/psdimage.cpp", "revision": "68966932510213b5656fcf433ab6d7e26f48e23b", "source": " void PsdImage::readMetadata()\n {\n#ifdef DEBUG\n std::cerr << \"Exiv2::PsdImage::readMetadata: Reading Photoshop fil...
security
cpp
ae691539f9c62bf00e14566e
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": 0, "before": 1 }, "cwe_190": { "after": null, ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "rfc822_parse_adrlist", "path": "rfc822.c", "revision": "4a2becbdb4422aaffe3ce314991b9d670b7adf17", "source": "ADDRESS *rfc822_parse_adrlist (ADDRESS *top, const char *s)\n{\n int ws_pending, nl;\n#ifdef EXACT_ADDRESS\n const char *begin;\...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "rfc822_parse_adrlist", "path": "rfc822.c", "revision": "464a9bc6a21e2263ed0d4d6204ddfb747a5eecac", "source": "ADDRESS *rfc822_parse_adrlist (ADDRESS *top, const char *s)\n{\n int ws_pending, nl;\n#ifdef EXACT_ADDRESS\n const char *begin;\n#e...
security
c
b062a56813546c5a916f761f
muttmua/mutt
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2.Jp2Image", "path": "src/jp2image.cpp", "revision": "f6ee71526eef5649a529ac6da3f2843e3b63e227", "source": " void Jp2Image::encodeJp2Header(const DataBuf& boxBuf,DataBuf& outBuf)\n {\n DataBuf output(boxBuf.size_ + iccProfi...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2.Jp2Image", "path": "src/jp2image.cpp", "revision": "e118d145150649f79bd9e60807ec7c48b8cd433d", "source": " void Jp2Image::encodeJp2Header(const DataBuf& boxBuf,DataBuf& outBuf)\n {\n DataBuf output(boxBuf.size_ + iccProfile_...
security
cpp
b2c986cde9a41483d45f18a8
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": 1, "before": 1 }, "cwe_190": { "after": null, ...
{ "labels": { "bug": null, "security": 0 }, "method_name": "mif_process_cmpt", "path": "src/libjasper/mif/mif_cod.c", "revision": "df5d2867e8004e51e18b89865bc4aa69229227b3", "source": "static int mif_process_cmpt(mif_hdr_t *hdr, char *buf)\n{\n\tjas_tvparser_t *tvp;\n\tmif_cmpt_t *cmpt;\n\tint id;\n...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "mif_process_cmpt", "path": "src/libjasper/mif/mif_cod.c", "revision": "b13b8c86be870107f83b0a9a4b77557cb2b65d69", "source": "static int mif_process_cmpt(mif_hdr_t *hdr, char *buf)\n{\n\tjas_tvparser_t *tvp;\n\tmif_cmpt_t *cmpt;\n\tint id;\n\n\...
security
c
b75aff52bd00efaefa6d6fbc
mdadams/jasper
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "Exiv2", "path": "src/http.cpp", "revision": "ccde30afa8ca787a3fe17388a15977f107a53b72", "source": "int Exiv2::http(Exiv2::Dictionary& request, Exiv2::Dictionary& response, std::string& errors)\n{\n if (!request.count(\"verb\"))\n ...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "Exiv2", "path": "src/http.cpp", "revision": "19e0693920b687ee789c37c4068e829e083d3838", "source": "int Exiv2::http(Exiv2::Dictionary& request, Exiv2::Dictionary& response, std::string& errors)\n{\n if (!request.count(\"verb\"))\n req...
security
cpp
ba45172346eba2b6db3dfb69
exiv2/exiv2
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": 0, "before": null }, "cwe_120": { "after": 0, "before": null }, "cwe_121": { "after": 0, "before": null }, "cwe_122": { "after": 0, "before": null }, "cwe_125": { "after": 0, "before": null }, "cwe_190": { "after": 0, "before"...
{ "labels": { "bug": null, "security": 0 }, "method_name": "krb5_ldap_get_password_policy_from_dn", "path": "src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c", "revision": "d1f707024f1d0af6e54a18885322d70fa15ec4d3", "source": "static krb5_error_code\nkrb5_ldap_get_password_policy_from_dn(krb5_cont...
{ "labels": { "bug": 1, "security": 1 }, "method_name": "krb5_ldap_get_password_policy_from_dn", "path": "src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c", "revision": "8466003864b294cdb9e5547c2f8e574d2c156b13", "source": "static krb5_error_code\nkrb5_ldap_get_password_policy_from_dn(krb5_context...
security
c
bdba1fd64f20d55589f9eb3a
krb5/krb5
1
[ "PrimeVul-v0.1 train" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "header", "path": "lib/response.js", "revision": "9a34acf03cb818ff3f8bc40e44176e277a25cbb9", "source": "res.header = function header(field, val) {\n if (arguments.length === 2) {\n var value = Array.isArray(val)\n ? val.map(String)\n ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "header", "path": "lib/response.js", "revision": "3ce6d0eb86e9d93529ff3191c6bb5db8ce6e72c8", "source": "res.header = function header(field, val) {\n if (arguments.length === 2) {\n var value = Array.isArray(val)\n ? val.map(String)\n ...
security
javascript
benign-multilang:0138f357ea09258549a2f532
expressjs/express
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "completeRequireFlags", "path": "completions.go", "revision": "746ef07158728502482cea9f880a6f4b21ef29a9", "source": "func completeRequireFlags(finalCmd *Command, toComplete string) []Completion {\n\tvar completions []Completion\n\n\tdoCompleteR...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "completeRequireFlags", "path": "completions.go", "revision": "f2878bab8c96afd6e36968af96343b35dbb82a82", "source": "func completeRequireFlags(finalCmd *Command, toComplete string) []Completion {\n\tvar completions []Completion\n\n\tdoCompleteR...
security
go
benign-multilang:0ac5658da2c1f5fddd1dd69d
spf13/cobra
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ngx_ssl_get_sigalg", "path": "src/event/ngx_event_openssl.c", "revision": "4f86b96da93a5a1dab922b393e02b5aaf0396425", "source": "ngx_int_t\nngx_ssl_get_sigalg(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s)\n{\n#ifdef SSL_get0_signature_n...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ngx_ssl_get_sigalg", "path": "src/event/ngx_event_openssl.c", "revision": "0831b97e722be322c4bb18bcdbe7610ba98f569e", "source": "ngx_int_t\nngx_ssl_get_sigalg(ngx_connection_t *c, ngx_pool_t *pool, ngx_str_t *s)\n{\n#ifdef SSL_get0_signature_n...
security
c
benign-multilang:0de2751599cf46ca2047fba5
nginx/nginx
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ActiveAdmin.LayoutHelper.action_items_for_action", "path": "app/helpers/active_admin/layout_helper.rb", "revision": "b4ecf58d17e68d0890ab3d9fe30ae2968529fae2", "source": " def action_items_for_action\n @action_items_for_action ||= begi...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ActiveAdmin.LayoutHelper.action_items_for_action", "path": "app/helpers/active_admin/layout_helper.rb", "revision": "4cb2839820e1fbd21a7e8bb8fbd7f328c92b3df2", "source": " def action_items_for_action\n @action_items_for_action ||= begi...
security
ruby
benign-multilang:0e8de1b04d8569cd8ce2d329
activeadmin/activeadmin
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "Faker.Deprecator.included", "path": "lib/helpers/deprecator.rb", "revision": "3a22f4e843a35156914880bfe7580f874c22be56", "source": " def self.included(base)\n extension = Module.new do\n def const_missing(missing_const_name)\n ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "Faker.Deprecator.included", "path": "lib/helpers/deprecator.rb", "revision": "cca4184947e09fdd02afb8b89d25a9c8ebc7274e", "source": " def self.included(base)\n extension = Module.new do\n def const_missing(missing_const_name)\n ...
security
ruby
benign-multilang:0fee4dc591e95326c5dfe29f
faker-ruby/faker
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ExclusiveBetweenValidatorTests.When_the_value_is_between_the_range_specified_by_icomparer_then_the_validator_should_pass", "path": "src/FluentValidation.Tests/ExclusiveBetweenValidatorTests.cs", "revision": "fa9787a0d4fd0c0b99f9682292d76d5ad97ba...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ExclusiveBetweenValidatorTests.When_the_value_is_between_the_range_specified_by_icomparer_then_the_validator_should_pass", "path": "src/FluentValidation.Tests/ExclusiveBetweenValidatorTests.cs", "revision": "daa00b795450881c233253488e3ddeb362f59...
security
csharp
benign-multilang:13874bf72887dde77429b509
FluentValidation/FluentValidation
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "discriminatedUnion", "path": "packages/zod/src/v4/classic/schemas.ts", "revision": "cc4cd4ee9c52fcaa10964e48cc144541e41a5ed9", "source": "export function discriminatedUnion<\n Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTy...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "discriminatedUnion", "path": "packages/zod/src/v4/classic/schemas.ts", "revision": "ca0229a404818290e6cdcfefcd7eb2d04bcbb543", "source": "export function discriminatedUnion<\n Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTy...
security
typescript
benign-multilang:14601090a841227286500c46
colinhacks/zod
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "RestClientResponse.toMediaType", "path": "httpclient5-jakarta-rest-client/src/main/java/org/apache/hc/client5/http/rest/RestClientResponse.java", "revision": "0e9150389d8a466a1be7dd9e92d9d9c7e8bd1947", "source": " private static MediaType t...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "RestClientResponse.toMediaType", "path": "httpclient5-jakarta-rest-client/src/main/java/org/apache/hc/client5/http/rest/RestClientResponse.java", "revision": "7cded0c43929e6e989ecb966c875646a5fd8a8e7", "source": " private static MediaType t...
security
java
benign-multilang:14d49cac2e1e166e9eddb812
apache/httpcomponents-client
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "NewDevelopmentEncoderConfig", "path": "config.go", "revision": "4892335e05f14bce8a98a69a577fcf3844a42623", "source": "func NewDevelopmentEncoderConfig() zapcore.EncoderConfig {\n\treturn zapcore.EncoderConfig{\n\t\t// Keys can be anything exce...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "NewDevelopmentEncoderConfig", "path": "config.go", "revision": "3532124e52751881368f661fc4ba7a57dcd2bd42", "source": "func NewDevelopmentEncoderConfig() zapcore.EncoderConfig {\n\treturn zapcore.EncoderConfig{\n\t\t// Keys can be anything exce...
security
go
benign-multilang:15378e18c6754a8ecece526b
uber-go/zap
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "toggle_details", "path": "lib/capybara/rack_test/node.rb", "revision": "bc4159f1ecf85524f7d57a8e223a0d10333340d8", "source": " def toggle_details(details = nil)\n details ||= native.xpath('.//ancestor-or-self::details').last\n return un...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "toggle_details", "path": "lib/capybara/rack_test/node.rb", "revision": "e7728e0cd90be401dc7c6a87593f925e51e7feeb", "source": " def toggle_details(details = nil)\n details ||= native.xpath('.//ancestor-or-self::details').last\n return un...
security
ruby
benign-multilang:15cf2152cfdfac26ed91a9b0
teamcapybara/capybara
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "newBackend", "path": "backend_kqueue.go", "revision": "853adeb28b4e7b01cf719f12619fcdeea8c06d48", "source": "func newBackend(ev chan Event, errs chan error) (backend, error) {\n\tkq, closepipe, err := newKqueue()\n\tif err != nil {\n\t\treturn...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "newBackend", "path": "backend_kqueue.go", "revision": "76b01a6e8f502187fecedea8b025e79e5a86085c", "source": "func newBackend(ev chan Event, errs chan error) (backend, error) {\n\tkq, closepipe, err := newKqueue()\n\tif err != nil {\n\t\treturn...
security
go
benign-multilang:19956600361395992e5cb35b
fsnotify/fsnotify
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "RangeValidator.IsValid", "path": "src/FluentValidation/Validators/RangeValidator.cs", "revision": "fa9787a0d4fd0c0b99f9682292d76d5ad97ba6cb", "source": "\tpublic override bool IsValid(ValidationContext<T> context, TProperty value) {\r\n\t\t// ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "RangeValidator.IsValid", "path": "src/FluentValidation/Validators/RangeValidator.cs", "revision": "daa00b795450881c233253488e3ddeb362f59f56", "source": "\tpublic override bool IsValid(ValidationContext<T> context, TProperty value) {\r\n\t\t// ...
security
csharp
benign-multilang:1d3eba96de8a7106e2d9d41b
FluentValidation/FluentValidation
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "AuthChallengeParser.ChallengeInt.toString", "path": "httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java", "revision": "458e7ef871ee031ca296fdf8e83d3b29c8097588", "source": " @Override\n public...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "AuthChallengeParser.ChallengeInt.toString", "path": "httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java", "revision": "0e9150389d8a466a1be7dd9e92d9d9c7e8bd1947", "source": " @Override\n public...
security
java
benign-multilang:2491165b4c2eed67864968f5
apache/httpcomponents-client
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "JsonPrimitive.getAsString", "path": "gson/src/main/java/com/google/gson/JsonPrimitive.java", "revision": "15ca7360379cf3c1502b59981569050489f2d73e", "source": " @Override\n public String getAsString() {\n if (value instanceof String) {\n ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "JsonPrimitive.getAsString", "path": "gson/src/main/java/com/google/gson/JsonPrimitive.java", "revision": "455ca70ab72bac69ccdb87d960ee0dc9f29b48c9", "source": " @Override\n public String getAsString() {\n if (value instanceof String) {\n ...
security
java
benign-multilang:25407da290d2827e791c58ae
google/gson
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "NewBufferedWatcher", "path": "fsnotify.go", "revision": "58d0c04e1e157f143fd65e6a3e3e927ba7df81c7", "source": "func NewBufferedWatcher(sz uint) (*Watcher, error) {\n\tev, errs := make(chan Event, sz), make(chan error)\n\tb, err := newBackend(e...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "NewBufferedWatcher", "path": "fsnotify.go", "revision": "3e3007f510e4ff2f3d8aa0cb84c94704062a66bd", "source": "func NewBufferedWatcher(sz uint) (*Watcher, error) {\n\tev, errs := make(chan Event, sz), make(chan error)\n\tb, err := newBackend(e...
security
go
benign-multilang:28ae3257260e937eca0a0269
fsnotify/fsnotify
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "convertSlogLevel", "path": "exp/zapslog/handler.go", "revision": "5ae580e125a8d47b8159e37a6e2e33a8f46c2e18", "source": "func convertSlogLevel(l slog.Level) zapcore.Level {\n\tswitch {\n\tcase l >= slog.LevelError:\n\t\treturn zapcore.ErrorLeve...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "convertSlogLevel", "path": "exp/zapslog/handler.go", "revision": "bb1a55dd13257cf7cbd06b4146674c67ca614dea", "source": "func convertSlogLevel(l slog.Level) zapcore.Level {\n\tswitch {\n\tcase l >= slog.LevelError:\n\t\treturn zapcore.ErrorLeve...
security
go
benign-multilang:2a7992f41afc329a3555823c
uber-go/zap
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "<anonymous>.getJasmineRequireObj().Clock.Clock.setTimeout", "path": "lib/jasmine-core/jasmine.js", "revision": "eb00d3ae5cc9b6690603794348c6a9365780a804", "source": " function setTimeout(fn, delay) {\n if (!NODE_JS) {\n return d...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "<anonymous>.getJasmineRequireObj().Clock.Clock.setTimeout", "path": "lib/jasmine-core/jasmine.js", "revision": "303e1352e373c5683b80327656be957f664bfe67", "source": " function setTimeout(fn, delay) {\n if (!NODE_JS) {\n return d...
security
javascript
benign-multilang:309f41718d6ffba903bbd7ba
jasmine/jasmine
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "<anonymous>.getJasmineRequireObj().buildExpectationResult.buildExpectationResult.stack", "path": "lib/jasmine-core/jasmine.js", "revision": "390d31e48106dd0d0b6dbcf5cf9071650fb2b4bf", "source": " function stack() {\n if (options.passed...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "<anonymous>.getJasmineRequireObj().buildExpectationResult.buildExpectationResult.stack", "path": "lib/jasmine-core/jasmine.js", "revision": "c29ae9d906ad186a69893191126fb4b3c19dc29c", "source": " function stack() {\n if (options.passed...
security
javascript
benign-multilang:369b29e7f6a8e1e696909108
jasmine/jasmine
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "Sealed.parse_internal", "path": "time/src/parsing/parsable.rs", "revision": "b6230664f20b4d78389f77a51ddcf31f526302d3", "source": " fn parse_internal(\n &self,\n input: &[u8],\n defaults: Option<Parsed>,...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "Sealed.parse_internal", "path": "time/src/parsing/parsable.rs", "revision": "46f15201784a38e3eb03d0fd087bb0a40395ba72", "source": " fn parse_internal(\n &self,\n input: &[u8],\n defaults: Option<Parsed>,...
security
rust
benign-multilang:3b9ac94bcea50bd0fe889baa
time-rs/time
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "tx.<anonymous>.<anonymous>.step", "path": "packages/effect/src/Effect.ts", "revision": "3495bd8858de3a7b7e75090587f813e096e851ee", "source": " step(exit: Exit.Exit<A, E>) {\n if (state.retry || !isTransactionConsistent(stat...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "tx.<anonymous>.<anonymous>.step", "path": "packages/effect/src/Effect.ts", "revision": "2a8f5c748d83d8de22bf865618aa76ec77b000b2", "source": " step(exit: Exit.Exit<A, E>) {\n if (state.retry || !isTransactionConsistent(stat...
security
typescript
benign-multilang:3f64996b0cc7ecafb65d97bb
Effect-TS/effect
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "EqualError", "path": "assert/assertions.go", "revision": "5c949551ee9608c5eb900229b79cbd5a548f9066", "source": "func EqualError(t TestingT, theError error, errString string, msgAndArgs ...interface{}) bool {\n\tif h, ok := t.(tHelper); ok {\n\...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "EqualError", "path": "assert/assertions.go", "revision": "b50b016f5259bddde36ba5f07c0a8c9585c6ca99", "source": "func EqualError(t TestingT, theError error, errString string, msgAndArgs ...interface{}) bool {\n\tif h, ok := t.(tHelper); ok {\n\...
security
go
benign-multilang:4094c921d509c6d72d061b9b
stretchr/testify
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "absl.flags_internal.FinalizeRegistry", "path": "absl/flags/reflection.cc", "revision": "0065a4ad89fddbbf6460f9e489e8dd0438993a89", "source": "void FinalizeRegistry() {\n auto& registry = FlagRegistry::GlobalRegistry();\n FlagRegistryLock frl...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "absl.flags_internal.FinalizeRegistry", "path": "absl/flags/reflection.cc", "revision": "188c4204e2ef60207cbf5c9f34a8df90a5ca1a6d", "source": "void FinalizeRegistry() {\n auto& registry = FlagRegistry::GlobalRegistry();\n FlagRegistryLock frl...
security
cpp
benign-multilang:409532fc083d11011bca8c5b
abseil/abseil-cpp
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "MessageTemplateParser.TryContinuePropertyName", "path": "src/Serilog/Parsing/MessageTemplateParser.cs", "revision": "bebc7719004f76187ae72e64ce138ec2540f2070", "source": " static bool TryContinuePropertyName(char c, ref bool beginIdent)\n ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "MessageTemplateParser.TryContinuePropertyName", "path": "src/Serilog/Parsing/MessageTemplateParser.cs", "revision": "49b5339ce85385dc52d4d8e8f2b8308becf23506", "source": " static bool TryContinuePropertyName(char c, ref bool beginIdent)\n ...
security
csharp
benign-multilang:414af95f38efd514210b784e
serilog/serilog
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "datetime", "path": "packages/zod/src/v4/core/regexes.ts", "revision": "cc4cd4ee9c52fcaa10964e48cc144541e41a5ed9", "source": "export function datetime(args: {\n precision?: number | null;\n offset?: boolean;\n local?: boolean;\n}): RegExp {\...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "datetime", "path": "packages/zod/src/v4/core/regexes.ts", "revision": "ca0229a404818290e6cdcfefcd7eb2d04bcbb543", "source": "export function datetime(args: {\n precision?: number | null;\n offset?: boolean;\n local?: boolean;\n}): RegExp {\...
security
typescript
benign-multilang:42463dd590cbbd4b0eeae512
colinhacks/zod
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "RSpec.Matchers.BuiltIn.expected_error", "path": "rspec-expectations/lib/rspec/matchers/built_in/raise_error.rb", "revision": "2e372979e9e8bb3c1df2c18debe06646a3599f37", "source": " def expected_error\n case @expected_message\n ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "RSpec.Matchers.BuiltIn.expected_error", "path": "rspec-expectations/lib/rspec/matchers/built_in/raise_error.rb", "revision": "6252a8d8f89c79d23bacc3e2ca419fc7439b3438", "source": " def expected_error\n case @expected_message\n ...
security
ruby
benign-multilang:47481e6e080e8503ff207e70
rspec/rspec
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ExclusiveBetweenValidatorTests.When_the_value_is_larger_than_the_range_by_icomparer_then_the_validator_should_fail", "path": "src/FluentValidation.Tests/ExclusiveBetweenValidatorTests.cs", "revision": "fa9787a0d4fd0c0b99f9682292d76d5ad97ba6cb", ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "ExclusiveBetweenValidatorTests.When_the_value_is_larger_than_the_range_by_icomparer_then_the_validator_should_fail", "path": "src/FluentValidation.Tests/ExclusiveBetweenValidatorTests.cs", "revision": "daa00b795450881c233253488e3ddeb362f59f56", ...
security
csharp
benign-multilang:4bbcbee869b1dc55acab34a7
FluentValidation/FluentValidation
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "absl.flags_internal.FlagSaverImpl.SaveFromRegistry", "path": "absl/flags/reflection.cc", "revision": "0065a4ad89fddbbf6460f9e489e8dd0438993a89", "source": " void SaveFromRegistry() {\n assert(backup_registry_.empty()); // call only once!\...
{ "labels": { "bug": 0, "security": 0 }, "method_name": "absl.flags_internal.FlagSaverImpl.SaveFromRegistry", "path": "absl/flags/reflection.cc", "revision": "188c4204e2ef60207cbf5c9f34a8df90a5ca1a6d", "source": " void SaveFromRegistry() {\n assert(backup_registry_.empty()); // call only once!\...
security
cpp
benign-multilang:53a460ef0082168db35b96be
abseil/abseil-cpp
1
[ "public open-source pinned before/after source snapshots" ]
{ "cwe_119": { "after": null, "before": null }, "cwe_120": { "after": null, "before": null }, "cwe_121": { "after": null, "before": null }, "cwe_122": { "after": null, "before": null }, "cwe_125": { "after": null, "before": null }, "cwe_190": { "after": ...