Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
stringclasses
1 value
completions
listlengths
1
431
labels
listlengths
1
431
source
stringclasses
1 value
other_info
dict
index
int64
5
33k
Determine whether the code is vulnerable or not.
[ "static int crypto_ctr_crypt_segment(struct blkcipher_walk *walk,\n\t\t\t\t struct crypto_cipher *tfm)\n{\n\tvoid (*fn)(struct crypto_tfm *, u8 *, const u8 *) =\n\t\t crypto_cipher_alg(tfm)->cia_encrypt;\n\tunsigned int bsize = crypto_cipher_blocksize(tfm);\n\tu8 *ctrblk = walk->iv;\n\tu8 *src = walk->src.virt...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-9644", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-9644/", "CWE ID": "CWE-264", "codeLink": "https://github.com/torvalds/linux/commit/4943ba16bbc2db05115707b3ff7b4874e9e3c560", "commit_id": "4943ba16bbc2db05115707b3ff7b4874e9e3c560", "commit_message": "crypto: include crypto- ...
32,885
Determine whether the code is vulnerable or not.
[ "archive_write_set_skip_file(struct archive *_a, int64_t d, int64_t i)\n{\n\tstruct archive_write *a = (struct archive_write *)_a;\n\tarchive_check_magic(&a->archive, ARCHIVE_WRITE_MAGIC,\n\t ARCHIVE_STATE_ANY, \"archive_write_set_skip_file\");\n\ta->skip_file_set = 1;\n\ta->skip_file_dev = d;\n\ta->skip_file_in...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0211", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0211/", "CWE ID": "CWE-189", "codeLink": "https://github.com/libarchive/libarchive/commit/22531545514043e04633e1c015c7540b9de9dbe4", "commit_id": "22531545514043e04633e1c015c7540b9de9dbe4", "commit_message": "Limit write reque...
32,887
Determine whether the code is vulnerable or not.
[ "GfxShadingPattern::GfxShadingPattern(GfxShading *shadingA, double *matrixA):\n GfxPattern(2)\n{\n int i;", " shading = shadingA;\n for (i = 0; i < 6; ++i) {\n matrix[i] = matrixA[i];\n }\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2009-3605", "CVE Page": "https://www.cvedetails.com/cve/CVE-2009-3605/", "CWE ID": "CWE-189", "codeLink": "https://cgit.freedesktop.org/poppler/poppler/commit/?id=7b2d314a61fd0e12f47c62996cb49ec0d1ba747a", "commit_id": "7b2d314a61fd0e12f47c62996cb49ec0d1ba747a", "commit_message": null, "l...
32,891
Determine whether the code is vulnerable or not.
[ " RenderbufferManager* renderbuffer_manager() {\n return group_->renderbuffer_manager();\n }\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2858", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2858/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/c13e1da62b5f5f0e6fe8c1f769a5a28415415244", "commit_id": "c13e1da62b5f5f0e6fe8c1f769a5a28415415244", "commit_message": "Revert \"Revert 10049...
32,896
Determine whether the code is vulnerable or not.
[ "static bool hwsim_ps_rx_ok(struct mac80211_hwsim_data *data,\n\t\t\t struct sk_buff *skb)\n{\n\tswitch (data->ps) {\n\tcase PS_DISABLED:\n\t\treturn true;\n\tcase PS_ENABLED:\n\t\treturn false;\n\tcase PS_AUTO_POLL:\n\t\t/* TODO: accept (some) Beacons by default and other frames only\n\t\t * if pending PS-Poll h...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-8087", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-8087/", "CWE ID": "CWE-772", "codeLink": "https://github.com/torvalds/linux/commit/0ddcff49b672239dda94d70d0fcf50317a9f4b51", "commit_id": "0ddcff49b672239dda94d70d0fcf50317a9f4b51", "commit_message": "mac80211_hwsim: fix poss...
32,899
Determine whether the code is vulnerable or not.
[ "ChildThread* ChildThread::current() {\n return g_lazy_tls.Pointer()->Get();\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-3154", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-3154/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/f14efc560a12a513696d6396413b138879dabd7a", "commit_id": "f14efc560a12a513696d6396413b138879dabd7a", "commit_message": "[FileAPI] Clean up WebFile...
32,909
Determine whether the code is vulnerable or not.
[ " void OnPrintForPrintPreview(const DictionaryValue& dict) {\n PrintWebViewHelper::Get(view_)->OnPrintForPrintPreview(dict);\n }\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-2891", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-2891/", "CWE ID": "CWE-200", "codeLink": "https://github.com/chromium/chromium/commit/116d0963cadfbf55ef2ec3d13781987c4d80517a", "commit_id": "116d0963cadfbf55ef2ec3d13781987c4d80517a", "commit_message": "Print preview: Use an...
32,910
Determine whether the code is vulnerable or not.
[ "void RenderWidgetHostImpl::IncrementInFlightEventCount() {\n ++in_flight_event_count_;\n if (!is_hidden_)\n StartInputEventAckTimeout(hung_renderer_delay_);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-17467", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-17467/", "CWE ID": "CWE-20", "codeLink": "https://github.com/chromium/chromium/commit/7da6c3419fd172405bcece1ae4ec6ec8316cd345", "commit_id": "7da6c3419fd172405bcece1ae4ec6ec8316cd345", "commit_message": "Start rendering time...
32,922
Determine whether the code is vulnerable or not.
[ "static int _etc_hosts_lookup(const char *cszName, char *szIP, const int ciMaxIPLen) {\n#define EHL_LINE_LEN 260\n int iSuccess = 0;\n size_t iLen;\n char szLine[EHL_LINE_LEN + 1]; /* one extra for the space character (*) */\n char *pcStart, *pcEnd;\n FILE *fHosts;", " do {\n /* initializ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-3525", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-3525/", "CWE ID": "CWE-20", "codeLink": "https://github.com/Jabberd2/jabberd2/commit/aabcffae560d5fd00cd1d2ffce5d760353cf0a4d", "commit_id": "aabcffae560d5fd00cd1d2ffce5d760353cf0a4d", "commit_message": "Fixed possibility of U...
32,925
Determine whether the code is vulnerable or not.
[ " static int perf_event_period(struct perf_event *event, u64 __user *arg)\n{\n\tstruct perf_event_context *ctx = event->ctx;\n\tint ret = 0, active;\n\tu64 value;", "\tif (!is_sampling_event(event))\n\t\treturn -EINVAL;", "\tif (copy_from_user(&value, arg, sizeof(value)))\n\t\treturn -EFAULT;", "\tif (!value)...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-6787", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-6787/", "CWE ID": "CWE-264", "codeLink": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b", "commit_id": "f63a8daa5812afef4f06c962351687e1ff9ccb2b", "commit_message": "perf: Fix event->ctx loc...
32,926
Determine whether the code is vulnerable or not.
[ "int do_unknown_trapa(unsigned long scId, struct pt_regs *regs)\n{\n\t/* Syscall debug */\n printk(\"System call ID error: [0x1#args:8 #syscall:16 0x%lx]\\n\", scId);", "\tdie_if_kernel(\"unknown trapa\", regs, scId);", "\treturn -ENOSYS;\n}\n" ]
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2918", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2918/", "CWE ID": "CWE-399", "codeLink": "https://github.com/torvalds/linux/commit/a8b0ca17b80e92faab46ee7179ba9e99ccb61233", "commit_id": "a8b0ca17b80e92faab46ee7179ba9e99ccb61233", "commit_message": "perf: Remove the nmi par...
32,930
Determine whether the code is vulnerable or not.
[ " void set_plugin_enabled(const FilePath& plugin_path, bool enabled) {\n plugin_state_[plugin_path] = enabled;\n }\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0910", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0910/", "CWE ID": "CWE-287", "codeLink": "https://github.com/chromium/chromium/commit/ac8bd041b81e46e4e4fcd5021aaa5499703952e6", "commit_id": "ac8bd041b81e46e4e4fcd5021aaa5499703952e6", "commit_message": "Follow-on fixes and n...
32,931
Determine whether the code is vulnerable or not.
[ "void GLES2DecoderImpl::DoUniformMatrix2fv(\n GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) {\n GLenum type = 0;\n if (!PrepForSetUniformByLocation(\n location, \"glUniformMatrix2fv\", &type, &count)) {\n return;\n }\n glUniformMatrix2fv (location, count, transpose, value);\...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2858", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2858/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/c13e1da62b5f5f0e6fe8c1f769a5a28415415244", "commit_id": "c13e1da62b5f5f0e6fe8c1f769a5a28415415244", "commit_message": "Revert \"Revert 10049...
32,933
Determine whether the code is vulnerable or not.
[ "void WebContentsImpl::OnUpdateFaviconURL(\n int32 page_id,\n const std::vector<FaviconURL>& candidates) {\n FOR_EACH_OBSERVER(WebContentsObserver, observers_,\n DidUpdateFaviconURL(page_id, candidates));\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-6626", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-6626/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/90fb08ed0146c9beacfd4dde98a20fc45419fff3", "commit_id": "90fb08ed0146c9beacfd4dde98a20fc45419fff3", "commit_message": "Cancel JavaScript dialogs ...
32,940
Determine whether the code is vulnerable or not.
[ "static ut64 binobj_a2b(RBinObject *o, ut64 addr) {\n\treturn addr + (o? o->baddr_shift: 0);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-16358", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-16358/", "CWE ID": "CWE-125", "codeLink": "https://github.com/radare/radare2/commit/d31c4d3cbdbe01ea3ded16a584de94149ecd31d9", "commit_id": "d31c4d3cbdbe01ea3ded16a584de94149ecd31d9", "commit_message": "Fix #8748 - Fix oobrea...
32,942
Determine whether the code is vulnerable or not.
[ "static bool search_nested_keyrings(struct key *keyring,\n\t\t\t\t struct keyring_search_context *ctx)\n{\n\tstruct {\n\t\tstruct key *keyring;\n\t\tstruct assoc_array_node *node;\n\t\tint slot;\n\t} stack[KEYRING_SEARCH_MAX_DEPTH];", "\tstruct assoc_array_shortcut *shortcut;\n\tstruct assoc_array_node *node;\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-2647", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-2647/", "CWE ID": "CWE-476", "codeLink": "https://github.com/torvalds/linux/commit/c06cfb08b88dfbe13be44a69ae2fdc3a7c902d81", "commit_id": "c06cfb08b88dfbe13be44a69ae2fdc3a7c902d81", "commit_message": "KEYS: Remove key_type::m...
32,943
Determine whether the code is vulnerable or not.
[ "static inline int tx_work_todo(struct xen_netbk *netbk)\n{", "\tif (((nr_pending_reqs(netbk) + MAX_SKB_FRAGS) < MAX_PENDING_REQS) &&\n\t\t\t!list_empty(&netbk->net_schedule_list))\n\t\treturn 1;", "\treturn 0;\n}\n" ]
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0217", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0217/", "CWE ID": "CWE-399", "codeLink": "https://github.com/torvalds/linux/commit/7d5145d8eb2b9791533ffe4dc003b129b9696c48", "commit_id": "7d5145d8eb2b9791533ffe4dc003b129b9696c48", "commit_message": "xen/netback: don't leak ...
32,946
Determine whether the code is vulnerable or not.
[ "nfsd4_setclientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,\n\t\t struct nfsd4_setclientid *setclid)\n{\n\tstruct xdr_netobj \tclname = setclid->se_name;\n\tnfs4_verifier\t\tclverifier = setclid->se_verf;\n\tstruct nfs4_client\t*conf, *new;\n\tstruct nfs4_client\t*unconf = NULL;\n\t__be32 \t\t\...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-9059", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-9059/", "CWE ID": "CWE-404", "codeLink": "https://github.com/torvalds/linux/commit/c70422f760c120480fee4de6c38804c72aa26bc1", "commit_id": "c70422f760c120480fee4de6c38804c72aa26bc1", "commit_message": "Merge tag 'nfsd-4.12' of...
32,947
Determine whether the code is vulnerable or not.
[ "static int do_recv_NPFullPrint(rpc_message_t *message, void *p_value)\n{\n NPFullPrint *fullPrint = (NPFullPrint *)p_value;\n uint32_t pluginPrinted, printOne;\n int error;", " if ((error = rpc_message_recv_uint32(message, &pluginPrinted)) < 0)\n\treturn error;\n if ((error = rpc_message_recv_uint32(message...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2486", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2486/", "CWE ID": "CWE-264", "codeLink": "https://github.com/davidben/nspluginwrapper/commit/7e4ab8e1189846041f955e6c83f72bc1624e7a98", "commit_id": "7e4ab8e1189846041f955e6c83f72bc1624e7a98", "commit_message": "Support all th...
32,950
Determine whether the code is vulnerable or not.
[ "static h2_session *h2_session_create_int(conn_rec *c,\n request_rec *r,\n h2_ctx *ctx, \n h2_workers *workers)\n{\n nghttp2_session_callbacks *callbacks = NULL;\n nghttp2_option *options = ...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-8740", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-8740/", "CWE ID": "CWE-20", "codeLink": "https://github.com/apache/httpd/commit/29c63b786ae028d82405421585e91283c8fa0da3", "commit_id": "29c63b786ae028d82405421585e91283c8fa0da3", "commit_message": "SECURITY: CVE-2016-8740\n\n...
32,952
Determine whether the code is vulnerable or not.
[ " OVS_EXCLUDED(ofproto_mutex)\n{\n struct oftable *table;", " cmap_destroy(&ofproto->groups);", " hmap_remove(&all_ofprotos, &ofproto->hmap_node);", " free(ofproto->name);\n free(ofproto->type);\n free(ofproto->mfr_desc);\n free(ofproto->hw_desc);\n free(ofproto->sw_desc);\n free...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-17205", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-17205/", "CWE ID": "CWE-617", "codeLink": "https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6", "commit_id": "0befd1f3745055c32940f5faf9559be6a14395e6", "commit_message": "ofproto: Fix OVS cras...
32,953
Determine whether the code is vulnerable or not.
[ "u32 hns_rcb_get_coalesce_usecs(\n\tstruct rcb_common_cb *rcb_common, u32 port_idx)\n{\n\tif (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver))\n\t\treturn dsaf_read_dev(rcb_common, RCB_CFG_OVERTIME_REG) /\n\t\t HNS_RCB_CLK_FREQ_MHZ;\n\telse\n\t\treturn dsaf_read_dev(rcb_common,\n\t\t\t\t RCB_PORT_CFG_OVERTIME_...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-18222", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-18222/", "CWE ID": "CWE-119", "codeLink": "https://github.com/torvalds/linux/commit/412b65d15a7f8a93794653968308fc100f2aa87c", "commit_id": "412b65d15a7f8a93794653968308fc100f2aa87c", "commit_message": "net: hns: fix ethtool_...
32,957
Determine whether the code is vulnerable or not.
[ "void LoginUtils::DoBrowserLaunch(Profile* profile) {\n BootTimesLoader::Get()->AddLoginTimeMarker(\"BrowserLaunched\", false);\n if (!LoginUtils::Get()->IsBrowserLaunchEnabled())\n return;", " CommandLine::ForCurrentProcess()->InitFromArgv(\n CommandLine::ForCurrentProcess()->argv());", " VLOG(1) <...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": null, "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/60907d63ce74cbed893473c4e9bb569f47ca0c01", "commit_id": "60907d63ce74cbed893473c4e9bb569f47ca0c01", "commit_message": "[cros] Pass pepper plugin flag for Guest mode quoted.\n\nThis change will only w...
32,964
Determine whether the code is vulnerable or not.
[ "validGlxFBConfig(ClientPtr client, __GLXscreen *pGlxScreen, XID id,\n\t\t __GLXconfig **config, int *err)\n{\n __GLXconfig *m;", " for (m = pGlxScreen->fbconfigs; m != NULL; m = m->next)\n\tif (m->fbconfigID == id) {\n\t *config = m;\n\t return TRUE;\n\t}", " client->errorValue = id;\n *err =...
[ 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2010-4818", "CVE Page": "https://www.cvedetails.com/cve/CVE-2010-4818/", "CWE ID": "CWE-20", "codeLink": "https://cgit.freedesktop.org/xorg/xserver/commit?id=3f0d3f4d97bce75c1828635c322b6560a45a037f", "commit_id": "3f0d3f4d97bce75c1828635c322b6560a45a037f", "commit_message": null, "lang":...
32,970
Determine whether the code is vulnerable or not.
[ "static void perWorldBindingsReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)\n{\n TRACE_EVENT_SET_SAMPLING_STATE(\"Blink\", \"DOMGetter\");\n TestObjectPythonV8Internal::perWorldBindingsReadonlyLongAttributeAttributeGetter(info);\n TRACE_...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-1713", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-1713/", "CWE ID": "CWE-399", "codeLink": "https://github.com/chromium/chromium/commit/f85a87ec670ad0fce9d98d90c9a705b72a288154", "commit_id": "f85a87ec670ad0fce9d98d90c9a705b72a288154", "commit_message": "document.location bin...
32,971
Determine whether the code is vulnerable or not.
[ "ChromeContentBrowserClient::ChromeContentBrowserClient() {\n for (size_t i = 0; i < arraysize(kPredefinedAllowedSocketOrigins); ++i)\n allowed_socket_origins_.insert(kPredefinedAllowedSocketOrigins[i]);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0921", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0921/", "CWE ID": "CWE-264", "codeLink": "https://github.com/chromium/chromium/commit/e9841fbdaf41b4a2baaa413f94d5c0197f9261f4", "commit_id": "e9841fbdaf41b4a2baaa413f94d5c0197f9261f4", "commit_message": "Ensure extensions and...
32,972
Determine whether the code is vulnerable or not.
[ "bool __sched yield_to(struct task_struct *p, bool preempt)\n{\n\tstruct task_struct *curr = current;\n\tstruct rq *rq, *p_rq;\n\tunsigned long flags;\n\tbool yielded = 0;", "\tlocal_irq_save(flags);\n\trq = this_rq();", "again:\n\tp_rq = task_rq(p);\n\tdouble_rq_lock(rq, p_rq);\n\twhile (task_rq(p) != p_rq) {\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2918", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2918/", "CWE ID": "CWE-399", "codeLink": "https://github.com/torvalds/linux/commit/a8b0ca17b80e92faab46ee7179ba9e99ccb61233", "commit_id": "a8b0ca17b80e92faab46ee7179ba9e99ccb61233", "commit_message": "perf: Remove the nmi par...
32,973
Determine whether the code is vulnerable or not.
[ "int gx_device_delete_output_file(const gx_device * dev, const char *fname)\n{\n gs_parsed_file_name_t parsed;\n const char *fmt;\n char *pfname = (char *)gs_alloc_bytes(dev->memory, gp_file_name_sizeof, \"gx_device_delete_output_file(pfname)\");\n int code;", " if (pfname == NULL) {\n code ...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-16863", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-16863/", "CWE ID": "CWE-78", "codeLink": "http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=79cccf641486", "commit_id": "79cccf641486a6595c43f1de1cd7ade696020a31", "commit_message": null, "lang": "C", "project": "ghos...
32,985
Determine whether the code is vulnerable or not.
[ "struct packet_offload *gro_find_complete_by_type(__be16 type)\n{\n\tstruct list_head *offload_head = &offload_base;\n\tstruct packet_offload *ptype;", "\tlist_for_each_entry_rcu(ptype, offload_head, list) {\n\t\tif (ptype->type != type || !ptype->callbacks.gro_complete)\n\t\t\tcontinue;\n\t\treturn ptype;\n\t}\n...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-8666", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-8666/", "CWE ID": "CWE-400", "codeLink": "https://github.com/torvalds/linux/commit/fac8e0f579695a3ecbc4d3cac369139d7f819971", "commit_id": "fac8e0f579695a3ecbc4d3cac369139d7f819971", "commit_message": "tunnels: Don't apply GRO...
33,002
Determine whether the code is vulnerable or not.
[ "static void supplementalNodeAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)\n{\n INC_STATS(\"DOM.TestInterface.supplementalNode._set\");\n TestInterface* imp = V8TestInterface::toNative(info.Holder());\n Node* v = V8Node::HasInstance(value) ? V8Node::toNati...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-3055", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-3055/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/e9372a1bfd3588a80fcf49aa07321f0971dd6091", "commit_id": "e9372a1bfd3588a80fcf49aa07321f0971dd6091", "commit_message": "[V8] Pass Isolate to throw...
33,003
Determine whether the code is vulnerable or not.
[ "static int __packet_snd_vnet_parse(struct virtio_net_hdr *vnet_hdr, size_t len)\n{\n\tif ((vnet_hdr->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) &&\n\t (__virtio16_to_cpu(vio_le(), vnet_hdr->csum_start) +\n\t __virtio16_to_cpu(vio_le(), vnet_hdr->csum_offset) + 2 >\n\t __virtio16_to_cpu(vio_le(), vnet_hdr->hd...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-15649", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-15649/", "CWE ID": "CWE-362", "codeLink": "https://github.com/torvalds/linux/commit/4971613c1639d8e5f102c4e797c3bf8f83a5a69e", "commit_id": "4971613c1639d8e5f102c4e797c3bf8f83a5a69e", "commit_message": "packet: in packet_do_b...
33,004
Determine whether the code is vulnerable or not.
[ "int sock_i_uid(struct sock *sk)\n{\n\tint uid;", "\tread_lock_bh(&sk->sk_callback_lock);\n\tuid = sk->sk_socket ? SOCK_INODE(sk->sk_socket)->i_uid : 0;\n\tread_unlock_bh(&sk->sk_callback_lock);\n\treturn uid;\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-2136", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-2136/", "CWE ID": "CWE-20", "codeLink": "https://github.com/torvalds/linux/commit/cc9b17ad29ecaa20bfe426a8d4dbfb94b13ff1cc", "commit_id": "cc9b17ad29ecaa20bfe426a8d4dbfb94b13ff1cc", "commit_message": "net: sock: validate data_...
33,006
Determine whether the code is vulnerable or not.
[ "inline bool xs_has_arg(int argc, char *argv[])\n{\n\treturn optind < argc &&\n\t argv[optind][0] != '-' &&\n\t argv[optind][0] != '!';\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2019-11360", "CVE Page": "https://www.cvedetails.com/cve/CVE-2019-11360/", "CWE ID": "CWE-119", "codeLink": "https://git.netfilter.org/iptables/commit/iptables/xshared.c?id=2ae1099a42e6a0f06de305ca13a842ac83d4683e", "commit_id": "2ae1099a42e6a0f06de305ca13a842ac83d4683e", "commit_message": ...
33,010
Determine whether the code is vulnerable or not.
[ "static struct perf_callchain_entry *get_callchain_entry(int *rctx)\n{\n\tint cpu;\n\tstruct callchain_cpus_entries *entries;", "\t*rctx = get_recursion_context(__get_cpu_var(callchain_recursion));\n\tif (*rctx == -1)\n\t\treturn NULL;", "\tentries = rcu_dereference(callchain_cpus_entries);\n\tif (!entries)\n\t...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2918", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2918/", "CWE ID": "CWE-399", "codeLink": "https://github.com/torvalds/linux/commit/a8b0ca17b80e92faab46ee7179ba9e99ccb61233", "commit_id": "a8b0ca17b80e92faab46ee7179ba9e99ccb61233", "commit_message": "perf: Remove the nmi par...
33,015
Determine whether the code is vulnerable or not.
[ "ExtensionNavigationThrottle::WillRedirectRequest() {\n ThrottleCheckResult result = WillStartOrRedirectRequest();\n if (result.action() == BLOCK_REQUEST) {\n return CANCEL;\n }\n return result;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-6121", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-6121/", "CWE ID": "CWE-20", "codeLink": "https://github.com/chromium/chromium/commit/7614790c80996d32a28218f4d1605b0908e9ddf6", "commit_id": "7614790c80996d32a28218f4d1605b0908e9ddf6", "commit_message": "Apply ExtensionNavigat...
33,016
Determine whether the code is vulnerable or not.
[ "static void vmx_enable_intercept_msr_read_x2apic(u32 msr)\n{\n\t__vmx_enable_intercept_for_msr(vmx_msr_bitmap_legacy_x2apic,\n\t\t\tmsr, MSR_TYPE_R);\n\t__vmx_enable_intercept_for_msr(vmx_msr_bitmap_longmode_x2apic,\n\t\t\tmsr, MSR_TYPE_R);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-3690", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-3690/", "CWE ID": "CWE-399", "codeLink": "https://github.com/torvalds/linux/commit/d974baa398f34393db76be45f7d4d04fbdbb4a0a", "commit_id": "d974baa398f34393db76be45f7d4d04fbdbb4a0a", "commit_message": "x86,kvm,vmx: Preserve CR...
33,020
Determine whether the code is vulnerable or not.
[ "static void print_ucode(struct ucode_cpu_info *uci)\n{\n\tstruct microcode_intel *mc_intel;\n\tint *delay_ucode_info_p;\n\tint *current_mc_date_p;", "\tmc_intel = uci->mc;\n\tif (mc_intel == NULL)\n\t\treturn;", "\tdelay_ucode_info_p = (int *)__pa_nodebug(&delay_ucode_info);\n\tcurrent_mc_date_p = (int *)__pa_...
[ 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-2666", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-2666/", "CWE ID": "CWE-119", "codeLink": "https://github.com/torvalds/linux/commit/f84598bd7c851f8b0bf8cd0d7c3be0d73c432ff4", "commit_id": "f84598bd7c851f8b0bf8cd0d7c3be0d73c432ff4", "commit_message": "x86/microcode/intel: Gua...
33,021
Determine whether the code is vulnerable or not.
[ "mainloop_clear_child_userdata(mainloop_child_t *child)\n{\n child->privatedata = NULL;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0281", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0281/", "CWE ID": "CWE-399", "codeLink": "https://github.com/ClusterLabs/pacemaker/commit/564f7cc2a51dcd2f28ab12a13394f31be5aa3c93", "commit_id": "564f7cc2a51dcd2f28ab12a13394f31be5aa3c93", "commit_message": "High: core: Inter...
33,022
Determine whether the code is vulnerable or not.
[ "static int ext4_check_descriptors(struct super_block *sb,\n\t\t\t\t ext4_group_t *first_not_zeroed)\n{\n\tstruct ext4_sb_info *sbi = EXT4_SB(sb);\n\text4_fsblk_t first_block = le32_to_cpu(sbi->s_es->s_first_data_block);\n\text4_fsblk_t last_block;\n\text4_fsblk_t block_bitmap;\n\text4_fsblk_t inode_bitmap;\n\text...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2493", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2493/", "CWE ID": null, "codeLink": "https://github.com/torvalds/linux/commit/0449641130f5652b344ef6fa39fa019d7e94660a", "commit_id": "0449641130f5652b344ef6fa39fa019d7e94660a", "commit_message": "ext4: init timer earlier to a...
33,030
Determine whether the code is vulnerable or not.
[ "int register_pernet_subsys(struct pernet_operations *ops)\n{\n\tint error;\n\tdown_write(&pernet_ops_rwsem);\n\terror = register_pernet_operations(first_device, ops);\n\tup_write(&pernet_ops_rwsem);\n\treturn error;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2019-10639", "CVE Page": "https://www.cvedetails.com/cve/CVE-2019-10639/", "CWE ID": "CWE-200", "codeLink": "https://github.com/torvalds/linux/commit/355b98553789b646ed97ad801a619ff898471b92", "commit_id": "355b98553789b646ed97ad801a619ff898471b92", "commit_message": "netns: provide pure en...
33,036
Determine whether the code is vulnerable or not.
[ "bool AXObject::isARIAControl(AccessibilityRole ariaRole) {\n return isARIAInput(ariaRole) || ariaRole == ButtonRole ||\n ariaRole == ComboBoxRole || ariaRole == SliderRole;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-1274", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-1274/", "CWE ID": "CWE-254", "codeLink": "https://github.com/chromium/chromium/commit/d27468a832d5316884bd02f459cbf493697fd7e1", "commit_id": "d27468a832d5316884bd02f459cbf493697fd7e1", "commit_message": "Switch to equalIgnori...
33,039
Determine whether the code is vulnerable or not.
[ "_dbus_geteuid (void)\n{\n return geteuid ();\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-2168", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-2168/", "CWE ID": "CWE-20", "codeLink": "https://cgit.freedesktop.org/dbus/dbus/commit/?id=954d75b2b64e4799f360d2a6bf9cff6d9fee37e7", "commit_id": "954d75b2b64e4799f360d2a6bf9cff6d9fee37e7", "commit_message": null, "lang": "...
33,045
Determine whether the code is vulnerable or not.
[ "const CustomButton* CustomButton::AsCustomButton(const views::View* view) {\n return AsCustomButton(const_cast<views::View*>(view));\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-1616", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-1616/", "CWE ID": "CWE-254", "codeLink": "https://github.com/chromium/chromium/commit/297ae873b471a46929ea39697b121c0b411434ee", "commit_id": "297ae873b471a46929ea39697b121c0b411434ee", "commit_message": "Custom buttons should...
13,218
Determine whether the code is vulnerable or not.
[ "static struct sctp_association *sctp_association_init(struct sctp_association *asoc,\n\t\t\t\t\t const struct sctp_endpoint *ep,\n\t\t\t\t\t const struct sock *sk,\n\t\t\t\t\t sctp_scope_t scope,\n\t\t\t\t\t gfp_t gfp)\n{\n\tstruct net *net = sock_net(sk);\n\tstruct sctp_sock *sp;\n\tint i;\n\tsctp_paramhdr_t ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-5077", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-5077/", "CWE ID": null, "codeLink": "https://github.com/torvalds/linux/commit/1be9a950c646c9092fb3618197f7b6bfb50e82aa", "commit_id": "1be9a950c646c9092fb3618197f7b6bfb50e82aa", "commit_message": "net: sctp: inherit auth_capab...
13,220
Determine whether the code is vulnerable or not.
[ "int tcp_sendpage(struct sock *sk, struct page *page, int offset,\n\t\t size_t size, int flags)\n{\n\tssize_t res;", "\tif (!(sk->sk_route_caps & NETIF_F_SG) ||\n\t !sk_check_csum_caps(sk))\n\t\treturn sock_no_sendpage(sk->sk_socket, page, offset, size,\n\t\t\t\t\tflags);", "\tlock_sock(sk);", "\ttcp_rate_...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-14106", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-14106/", "CWE ID": "CWE-369", "codeLink": "https://github.com/torvalds/linux/commit/499350a5a6e7512d9ed369ed63a4244b6536f4f8", "commit_id": "499350a5a6e7512d9ed369ed63a4244b6536f4f8", "commit_message": "tcp: initialize rcv_ms...
13,224
Determine whether the code is vulnerable or not.
[ "static void dwc3_clear_stall_all_ep(struct dwc3 *dwc)\n{\n\tu32 epnum;", "\tfor (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) {\n\t\tstruct dwc3_ep *dep;\n\t\tint ret;", "\t\tdep = dwc->eps[epnum];\n\t\tif (!dep)\n\t\t\tcontinue;", "\t\tif (!(dep->flags & DWC3_EP_STALL))\n\t\t\tcontinue;", "\t\tdep->fla...
[ 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2019-14763", "CVE Page": "https://www.cvedetails.com/cve/CVE-2019-14763/", "CWE ID": "CWE-189", "codeLink": "https://github.com/torvalds/linux/commit/c91815b596245fd7da349ecc43c8def670d2269e", "commit_id": "c91815b596245fd7da349ecc43c8def670d2269e", "commit_message": "usb: dwc3: gadget: nev...
13,225
Determine whether the code is vulnerable or not.
[ "static inline void adjust_tsc_offset_guest(struct kvm_vcpu *vcpu,\n\t\t\t\t\t s64 adjustment)\n{\n\tkvm_x86_ops->adjust_tsc_offset_guest(vcpu, adjustment);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-7513", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-7513/", "CWE ID": null, "codeLink": "https://github.com/torvalds/linux/commit/0185604c2d82c560dab2f2933a18f797e74ab5a8", "commit_id": "0185604c2d82c560dab2f2933a18f797e74ab5a8", "commit_message": "KVM: x86: Reload pit counters...
13,234
Determine whether the code is vulnerable or not.
[ "static int decode_attr_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid)\n{\n\t__be32 *p;", "\t*fileid = 0;\n\tif (unlikely(bitmap[0] & (FATTR4_WORD0_FILEID - 1U)))\n\t\treturn -EIO;\n\tif (likely(bitmap[0] & FATTR4_WORD0_FILEID)) {\n\t\tREAD_BUF(8);\n\t\tREAD64(*fileid);\n\t\tbitmap[0] &= ~FATT...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-4324", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-4324/", "CWE ID": null, "codeLink": "https://github.com/torvalds/linux/commit/dc0b027dfadfcb8a5504f7d8052754bf8d501ab9", "commit_id": "dc0b027dfadfcb8a5504f7d8052754bf8d501ab9", "commit_message": "NFSv4: Convert the open and c...
13,240
Determine whether the code is vulnerable or not.
[ "static void DrawBoundingRectangles(Image *image,const DrawInfo *draw_info,\n const PolygonInfo *polygon_info,ExceptionInfo *exception)\n{\n DrawInfo\n *clone_info;", " double\n mid;", " PointInfo\n end,\n resolution,\n start;", " PrimitiveInfo\n primitive_info[6];", " register ssize...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-4564", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-4564/", "CWE ID": "CWE-119", "codeLink": "https://github.com/ImageMagick/ImageMagick/commit/726812fa2fa7ce16bcf58f6e115f65427a1c0950", "commit_id": "726812fa2fa7ce16bcf58f6e115f65427a1c0950", "commit_message": "Prevent buffer ...
13,241
Determine whether the code is vulnerable or not.
[ "BOOL update_bounds_equals(rdpBounds* bounds1, rdpBounds* bounds2)\n{\n\tif ((bounds1->left == bounds2->left) && (bounds1->top == bounds2->top) &&\n\t (bounds1->right == bounds2->right) && (bounds1->bottom == bounds2->bottom))\n\t\treturn TRUE;", "\treturn FALSE;\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-8786", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-8786/", "CWE ID": "CWE-119", "codeLink": "https://github.com/FreeRDP/FreeRDP/commit/445a5a42c500ceb80f8fa7f2c11f3682538033f3", "commit_id": "445a5a42c500ceb80f8fa7f2c11f3682538033f3", "commit_message": "Fixed CVE-2018-8786\n\n...
13,245
Determine whether the code is vulnerable or not.
[ "void SafeBrowsingBlockingPageTest::MalwareRedirectCancelAndProceed(\n const std::string open_function) {\n GURL load_url = test_server()->GetURL(\n \"files/safe_browsing/interstitial_cancel.html\");\n GURL malware_url(\"http://localhost/files/safe_browsing/malware.html\");\n AddURLResult(malware_url, Sa...
[ 1, 1 ]
BIGVUL
{ "CVE ID": null, "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/6a13a6c2fbae0b3269743e6a141fdfe0d9ec9793", "commit_id": "6a13a6c2fbae0b3269743e6a141fdfe0d9ec9793", "commit_message": "Don't delete the current NavigationEntry when leaving an interstitial page.\n\nB...
13,249
Determine whether the code is vulnerable or not.
[ "int WavpackStoreMD5Sum (WavpackContext *wpc, unsigned char data [16])\n{\n return add_to_metadata (wpc, data, 16, (wpc->config.qmode & 0xff) ? ID_ALT_MD5_CHECKSUM : ID_MD5_CHECKSUM);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-19840", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-19840/", "CWE ID": "CWE-835", "codeLink": "https://github.com/dbry/WavPack/commit/070ef6f138956d9ea9612e69586152339dbefe51", "commit_id": "070ef6f138956d9ea9612e69586152339dbefe51", "commit_message": "issue #53: error out on ...
13,250
Determine whether the code is vulnerable or not.
[ "std::string Experiment::NameForChoice(int index) const {\n DCHECK(type == Experiment::MULTI_VALUE ||\n type == Experiment::ENABLE_DISABLE_VALUE);\n DCHECK_LT(index, num_choices);\n return std::string(internal_name) + testing::kMultiSeparator +\n base::IntToString(index);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-6622", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-6622/", "CWE ID": "CWE-399", "codeLink": "https://github.com/chromium/chromium/commit/438b99bc730bc665eedfc62c4eb864c981e5c65f", "commit_id": "438b99bc730bc665eedfc62c4eb864c981e5c65f", "commit_message": "Remove --disable-app-...
13,257
Determine whether the code is vulnerable or not.
[ "virDomainUpdateDeviceFlags(virDomainPtr domain,\n const char *xml, unsigned int flags)\n{\n virConnectPtr conn;", " VIR_DOMAIN_DEBUG(domain, \"xml=%s, flags=%x\", xml, flags);", " virResetLastError();", " virCheckDomainReturn(domain, -1);\n conn = domain->conn;", " ...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-10746", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-10746/", "CWE ID": "CWE-254", "codeLink": "https://github.com/libvirt/libvirt/commit/506e9d6c2d4baaf580d489fff0690c0ff2ff588f", "commit_id": "506e9d6c2d4baaf580d489fff0690c0ff2ff588f", "commit_message": "virDomainGetTime: Den...
13,261
Determine whether the code is vulnerable or not.
[ "int AecGetParameter(preproc_effect_t *effect,\n void *pParam,\n uint32_t *pValueSize,\n void *pValue)\n{\n int status = 0;\n uint32_t param = *(uint32_t *)pParam;", " if (*pValueSize < sizeof(uint32_t)) {\n return -EINVAL;\n }\n switch (param) {\n case AEC_PARAM_ECHO_DELAY:\n case AEC_PARAM_PROPERTIES:\n *(uint3...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-3842", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-3842/", "CWE ID": "CWE-119", "codeLink": "https://android.googlesource.com/platform/frameworks/av/+/aeea52da00d210587fb3ed895de3d5f2e0264c88", "commit_id": "aeea52da00d210587fb3ed895de3d5f2e0264c88", "commit_message": "audio e...
13,262
Determine whether the code is vulnerable or not.
[ "void FrameView::flushAnyPendingPostLayoutTasks()\n{\n ASSERT(!isInPerformLayout());\n if (m_postLayoutTasksTimer.isActive())\n performPostLayoutTasks();\n if (m_updateWidgetsTimer.isActive())\n updateWidgetsTimerFired(0);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-3191", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-3191/", "CWE ID": "CWE-416", "codeLink": "https://github.com/chromium/chromium/commit/11a4cc4a6d6e665d9a118fada4b7c658d6f70d95", "commit_id": "11a4cc4a6d6e665d9a118fada4b7c658d6f70d95", "commit_message": "Defer call to updateW...
13,264
Determine whether the code is vulnerable or not.
[ "PHP_FUNCTION(openssl_pkcs12_read)\n{\n\tzval *zout = NULL, zextracerts, zcert, zpkey;\n\tchar *pass, *zp12;\n\tsize_t pass_len, zp12_len;\n\tPKCS12 * p12 = NULL;\n\tEVP_PKEY * pkey = NULL;\n\tX509 * cert = NULL;\n\tSTACK_OF(X509) * ca = NULL;\n\tBIO * bio_in = NULL;\n\tint i;", "\tif (zend_parse_parameters(ZEND_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-11144", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-11144/", "CWE ID": "CWE-754", "codeLink": "https://git.php.net/?p=php-src.git;a=commit;h=73cabfedf519298e1a11192699f44d53c529315e", "commit_id": "73cabfedf519298e1a11192699f44d53c529315e", "commit_message": null, "lang": "C...
13,271
Determine whether the code is vulnerable or not.
[ "static int create_lockd_family(struct svc_serv *serv, struct net *net,\n\t\t\t const int family)\n{\n\tint err;", "\terr = create_lockd_listener(serv, \"udp\", net, family, nlm_udpport);\n\tif (err < 0)\n\t\treturn err;", "\treturn create_lockd_listener(serv, \"tcp\", net, family, nlm_tcpport);\n}\n" ]
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-9059", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-9059/", "CWE ID": "CWE-404", "codeLink": "https://github.com/torvalds/linux/commit/c70422f760c120480fee4de6c38804c72aa26bc1", "commit_id": "c70422f760c120480fee4de6c38804c72aa26bc1", "commit_message": "Merge tag 'nfsd-4.12' of...
13,281
Determine whether the code is vulnerable or not.
[ "static MagickBooleanType SkipDXTMipmaps(Image *image,DDSInfo *dds_info,\n int texel_size,ExceptionInfo *exception)\n{\n register ssize_t\n i;", " MagickOffsetType\n offset;", " size_t\n h,\n w;", " /*\n Only skip mipmaps for textures and cube maps\n */\n if (EOFBlob(image) != MagickFals...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-8959", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-8959/", "CWE ID": "CWE-399", "codeLink": "https://github.com/ImageMagick/ImageMagick/commit/3ab016764c7f787829d9065440d86f5609765110", "commit_id": "3ab016764c7f787829d9065440d86f5609765110", "commit_message": "http://www.imag...
13,285
Determine whether the code is vulnerable or not.
[ "static void bitline2chunky(CDXLVideoContext *c, int linesize, uint8_t *out)\n{\n GetBitContext gb;\n int x, y, plane;", " if (init_get_bits8(&gb, c->video, c->video_size) < 0)\n return;\n for (y = 0; y < c->avctx->height; y++) {\n for (plane = 0; plane < c->bpp; plane++) {\n ...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-9996", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-9996/", "CWE ID": "CWE-119", "codeLink": "https://github.com/FFmpeg/FFmpeg/commit/1e42736b95065c69a7481d0cf55247024f54b660", "commit_id": "1e42736b95065c69a7481d0cf55247024f54b660", "commit_message": "avcodec/cdxl: Check forma...
13,294
Determine whether the code is vulnerable or not.
[ "static inline void free_copy(struct msg_msg *copy)\n{\n\tif (copy)\n\t\tfree_msg(copy);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-4483", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-4483/", "CWE ID": "CWE-189", "codeLink": "https://github.com/torvalds/linux/commit/6062a8dc0517bce23e3c2f7d2fea5e22411269a3", "commit_id": "6062a8dc0517bce23e3c2f7d2fea5e22411269a3", "commit_message": "ipc,sem: fine grained lo...
13,300
Determine whether the code is vulnerable or not.
[ "zone_get_steps(int zone_index)\n{\n\tstruct map_zone* zone;", "\tzone = vector_get(s_map->zones, zone_index);\n\treturn zone->interval;\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-1000524", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-1000524/", "CWE ID": "CWE-190", "codeLink": "https://github.com/fatcerberus/minisphere/commit/252c1ca184cb38e1acb917aa0e451c5f08519996", "commit_id": "252c1ca184cb38e1acb917aa0e451c5f08519996", "commit_message": "Fix intege...
13,301
Determine whether the code is vulnerable or not.
[ "xps_true_callback_encode_char(gs_font *pfont, gs_char chr, gs_glyph_space_t spc)\n{\n xps_font_t *font = pfont->client_data;\n int value;", " value = xps_encode_font_char(font, chr);\n if (value == 0)\n return GS_NO_GLYPH;\n return value;\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-9619", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-9619/", "CWE ID": "CWE-119", "codeLink": "http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=c53183d4e7103e87368b7cfa15367a47d559e323", "commit_id": "c53183d4e7103e87368b7cfa15367a47d559e323", "commit_message": null, "lan...
13,311
Determine whether the code is vulnerable or not.
[ "static ImageEventSender& errorEventSender() {\n DEFINE_STATIC_LOCAL(ImageEventSender, sender,\n (ImageEventSender::create(EventTypeNames::error)));\n return sender;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-1265", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-1265/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/ce1a9c0e454b08c96ca73788a1b4dccb405ce027", "commit_id": "ce1a9c0e454b08c96ca73788a1b4dccb405ce027", "commit_message": "Move ImageLoader timer to ...
13,316
Determine whether the code is vulnerable or not.
[ "cmsBool Read16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, int nEntries)\n{\n int i;\n cmsToneCurve* Tables[cmsMAXCHANNELS];", " if (nEntries <= 0) return TRUE;", " if (nEntries < 2) return FALSE;\n if (nChannels > cmsMAXCHANNELS) return FALSE;", " mem...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-10165", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-10165/", "CWE ID": "CWE-125", "codeLink": "https://github.com/mm2/Little-CMS/commit/5ca71a7bc18b6897ab21d815d15e218e204581e2", "commit_id": "5ca71a7bc18b6897ab21d815d15e218e204581e2", "commit_message": "Added an extra check t...
13,325
Determine whether the code is vulnerable or not.
[ "void WebContentsImpl::OnDidLoadResourceFromMemoryCache(\n const GURL& url,\n const std::string& security_info,\n const std::string& http_method,\n const std::string& mime_type,\n ResourceType resource_type) {\n SSLStatus status;\n if (!DeserializeSecurityInfo(security_info, &status)) {\n bad_me...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-1641", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-1641/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/75ca8ffd7bd7c58ace1144df05e1307d8d707662", "commit_id": "75ca8ffd7bd7c58ace1144df05e1307d8d707662", "commit_message": "Don't call WebContents::Do...
13,328
Determine whether the code is vulnerable or not.
[ "void WebGraphicsContext3DDefaultImpl::synthesizeGLError(unsigned long error)\n{\n m_syntheticErrors.add(error);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": null, "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/327585cb0eab0859518643a2d00917081f7e7645", "commit_id": "327585cb0eab0859518643a2d00917081f7e7645", "commit_message": "2010-10-26 Kenneth Russell <kbr@google.com>\n\n Reviewed by Andreas Kli...
13,335
Determine whether the code is vulnerable or not.
[ "static int send_msg(struct kiocb *iocb, struct socket *sock,\n\t\t struct msghdr *m, size_t total_len)\n{\n\tstruct sock *sk = sock->sk;\n\tstruct tipc_port *tport = tipc_sk_port(sk);\n\tstruct sockaddr_tipc *dest = (struct sockaddr_tipc *)m->msg_name;\n\tint needs_conn;\n\tlong timeout_val;\n\tint res = -EINVA...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-7271", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-7271/", "CWE ID": "CWE-20", "codeLink": "https://github.com/torvalds/linux/commit/f3d3342602f8bcbf37d7c46641cb9bca7618eb1c", "commit_id": "f3d3342602f8bcbf37d7c46641cb9bca7618eb1c", "commit_message": "net: rework recvmsg handl...
13,338
Determine whether the code is vulnerable or not.
[ "static void scanMode(void) {\n redisReply *reply;\n unsigned long long cur = 0;", " do {\n if (config.pattern)\n reply = redisCommand(context,\"SCAN %llu MATCH %s\",\n cur,config.pattern);\n else\n reply = redisCommand(context,\"SCAN %llu\",cur);\n ...
[ 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-12326", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-12326/", "CWE ID": "CWE-119", "codeLink": "https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50", "commit_id": "9fdcc15962f9ff4baebe6fdd947816f43f730d50", "commit_message": "Security: fix redis-cli...
13,339
Determine whether the code is vulnerable or not.
[ "static void swizzleImageData(unsigned char* srcAddr,", " size_t height,\n size_t bytesPerRow,", " bool flipY) {\n if (flipY) {", " for (size_t i = 0; i < height / 2; i++) {\n size_t topRowStartPosition = i * bytesP...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-5209", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-5209/", "CWE ID": "CWE-787", "codeLink": "https://github.com/chromium/chromium/commit/d59a4441697f6253e7dc3f7ae5caad6e5fd2c778", "commit_id": "d59a4441697f6253e7dc3f7ae5caad6e5fd2c778", "commit_message": "Prevent bad casting i...
13,342
Determine whether the code is vulnerable or not.
[ "static void swizzleImageData(unsigned char* srcAddr,", " unsigned height,\n unsigned bytesPerRow,", " bool flipY) {\n if (flipY) {", " for (unsigned i = 0; i < height / 2; i++) {\n unsigned topRowStartPosition = i ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-5209", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-5209/", "CWE ID": "CWE-787", "codeLink": "https://github.com/chromium/chromium/commit/d59a4441697f6253e7dc3f7ae5caad6e5fd2c778", "commit_id": "d59a4441697f6253e7dc3f7ae5caad6e5fd2c778", "commit_message": "Prevent bad casting i...
13,342
Determine whether the code is vulnerable or not.
[ "void Location::replace(LocalDOMWindow* current_window,\n LocalDOMWindow* entered_window,\n const USVStringOrTrustedURL& stringOrUrl,\n ExceptionState& exception_state) {\n String url = GetStringFromTrustedURL(stringOrUrl, current_window->document()...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2019-5803", "CVE Page": "https://www.cvedetails.com/cve/CVE-2019-5803/", "CWE ID": "CWE-20", "codeLink": "https://github.com/chromium/chromium/commit/0e3b0c22a5c596bdc24a391b3f02952c1c3e4f1b", "commit_id": "0e3b0c22a5c596bdc24a391b3f02952c1c3e4f1b", "commit_message": "Check the source brows...
13,346
Determine whether the code is vulnerable or not.
[ "void AutomationProvider::RemoveLoginHandler(NavigationController* tab) {\n DCHECK(login_handler_map_[tab]);\n login_handler_map_.erase(tab);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-1296", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-1296/", "CWE ID": "CWE-20", "codeLink": "https://github.com/chromium/chromium/commit/c90c6ca59378d7e86d1a2f28fe96bada35df1508", "commit_id": "c90c6ca59378d7e86d1a2f28fe96bada35df1508", "commit_message": "Rename the TabContentW...
13,349
Determine whether the code is vulnerable or not.
[ "static int btrfs_dentry_delete(const struct dentry *dentry)\n{\n\tstruct btrfs_root *root;\n\tstruct inode *inode = d_inode(dentry);", "\tif (!inode && !IS_ROOT(dentry))\n\t\tinode = d_inode(dentry->d_parent);", "\tif (inode) {\n\t\troot = BTRFS_I(inode)->root;\n\t\tif (btrfs_root_refs(&root->root_item) == 0)\...
[ 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-8374", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-8374/", "CWE ID": "CWE-200", "codeLink": "https://github.com/torvalds/linux/commit/0305cd5f7fca85dae392b9ba85b116896eb7c1c7", "commit_id": "0305cd5f7fca85dae392b9ba85b116896eb7c1c7", "commit_message": "Btrfs: fix truncation of...
13,359
Determine whether the code is vulnerable or not.
[ "static const char *xquote(const char *str, const char *quote_chars)\n{\n\tconst char *q = quote(str, quote_chars);\n\tif (q == NULL) {\n\t\tfprintf(stderr, \"%s: %s\\n\", progname, strerror(errno));\n\t\texit(1);\n\t}\n\treturn q;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2009-4411", "CVE Page": "https://www.cvedetails.com/cve/CVE-2009-4411/", "CWE ID": "CWE-264", "codeLink": "https://git.savannah.gnu.org/cgit/acl.git/commit/?id=63451a0", "commit_id": "63451a06b7484d220750ed8574d3ee84e156daf5", "commit_message": null, "lang": "C", "project": "savannah" }
13,364
Determine whether the code is vulnerable or not.
[ "void FrameView::scheduleUpdateWidgetsIfNecessary()\n{\n ASSERT(!isInPerformLayout());\n if (m_updateWidgetsTimer.isActive() || m_widgetUpdateSet.isEmpty())\n return;\n m_updateWidgetsTimer.startOneShot(0, FROM_HERE);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-3191", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-3191/", "CWE ID": "CWE-416", "codeLink": "https://github.com/chromium/chromium/commit/11a4cc4a6d6e665d9a118fada4b7c658d6f70d95", "commit_id": "11a4cc4a6d6e665d9a118fada4b7c658d6f70d95", "commit_message": "Defer call to updateW...
13,369
Determine whether the code is vulnerable or not.
[ "int kvm_apic_compare_prio(struct kvm_vcpu *vcpu1, struct kvm_vcpu *vcpu2)\n{\n\treturn vcpu1->arch.apic_arb_prio - vcpu2->arch.apic_arb_prio;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-6376", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-6376/", "CWE ID": "CWE-189", "codeLink": "https://github.com/torvalds/linux/commit/17d68b763f09a9ce824ae23eb62c9efc57b69271", "commit_id": "17d68b763f09a9ce824ae23eb62c9efc57b69271", "commit_message": "KVM: x86: fix guest-init...
13,370
Determine whether the code is vulnerable or not.
[ "static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag)\n{\n\tmight_lock(&fp->fi_lock);", "\tif (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) {\n\t\tstruct file *f1 = NULL;\n\t\tstruct file *f2 = NULL;", "\t\tswap(f1, fp->fi_fds[oflag]);\n\t\tif (atomic_read(&fp->fi_access[1 - oflag]) ...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-9059", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-9059/", "CWE ID": "CWE-404", "codeLink": "https://github.com/torvalds/linux/commit/c70422f760c120480fee4de6c38804c72aa26bc1", "commit_id": "c70422f760c120480fee4de6c38804c72aa26bc1", "commit_message": "Merge tag 'nfsd-4.12' of...
13,372
Determine whether the code is vulnerable or not.
[ "int vhost_add_used(struct vhost_virtqueue *vq, unsigned int head, int len)\n{\n\tstruct vring_used_elem heads = {\n\t\tcpu_to_vhost32(vq, head),\n\t\tcpu_to_vhost32(vq, len)\n\t};", "\treturn vhost_add_used_n(vq, &heads, 1);\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-6252", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-6252/", "CWE ID": "CWE-399", "codeLink": "https://github.com/torvalds/linux/commit/7932c0bd7740f4cd2aa168d3ce0199e7af7d72d5", "commit_id": "7932c0bd7740f4cd2aa168d3ce0199e7af7d72d5", "commit_message": "vhost: actually track lo...
13,379
Determine whether the code is vulnerable or not.
[ " void EnableAllActions() {\n actions_.insert(MediaSessionAction::kPlay);\n actions_.insert(MediaSessionAction::kPause);\n actions_.insert(MediaSessionAction::kPreviousTrack);\n actions_.insert(MediaSessionAction::kNextTrack);\n actions_.insert(MediaSessionAction::kSeekBackward);\n actions_.inser...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-5107", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-5107/", "CWE ID": "CWE-200", "codeLink": "https://github.com/chromium/chromium/commit/c25b198675380f713a56649c857b4367601d4a3d", "commit_id": "c25b198675380f713a56649c857b4367601d4a3d", "commit_message": "[Lock Screen Media Co...
13,385
Determine whether the code is vulnerable or not.
[ " static gboolean OnButtonPressReleaseEvent(\n GtkWidget* widget,\n GdkEventButton* event,\n RenderWidgetHostViewGtk* host_view) {\n TRACE_EVENT0(\"browser\",\n \"RenderWidgetHostViewGtkWidget::OnButtonPressReleaseEvent\");", " if (event->type != GDK_BUTTON_RELEASE)\n ho...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0886", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0886/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/18d67244984a574ba2dd8779faabc0e3e34f4b76", "commit_id": "18d67244984a574ba2dd8779faabc0e3e34f4b76", "commit_message": "Implement TextureImageTran...
13,386
Determine whether the code is vulnerable or not.
[ "asocket* create_local_socket(int fd) {\n asocket* s = reinterpret_cast<asocket*>(calloc(1, sizeof(asocket)));\n if (s == NULL) {\n fatal(\"cannot allocate socket\");\n }\n s->fd = fd;\n s->enqueue = local_socket_enqueue;\n s->ready = local_socket_ready;\n s->shutdown = NULL;\n s->close = l...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-3890", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-3890/", "CWE ID": "CWE-264", "codeLink": "https://android.googlesource.com/platform/system/core/+/014b01706cc64dc9c2ad94a96f62e07c058d0b5d", "commit_id": "014b01706cc64dc9c2ad94a96f62e07c058d0b5d", "commit_message": "adb: use ...
13,388
Determine whether the code is vulnerable or not.
[ "struct crypto_alg *crypto_mod_get(struct crypto_alg *alg)\n{\n\treturn try_module_get(alg->cra_module) ? crypto_alg_get(alg) : NULL;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-7421", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-7421/", "CWE ID": "CWE-264", "codeLink": "https://github.com/torvalds/linux/commit/5d26a105b5a73e5635eae0629b42fa0a90e07b7b", "commit_id": "5d26a105b5a73e5635eae0629b42fa0a90e07b7b", "commit_message": "crypto: prefix module au...
13,392
Determine whether the code is vulnerable or not.
[ "int Effect_command(effect_handle_t self,\n uint32_t cmdCode,\n uint32_t cmdSize,\n void *pCmdData,\n uint32_t *replySize,\n void *pReplyData){\n EffectContext * pContext = (EffectContext *) self;\n int retsize;", "\n if(pContext->EffectType == LVM_BASS_BOOST){\n }\n if(pContext->EffectType...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-0827", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-0827/", "CWE ID": "CWE-189", "codeLink": "https://android.googlesource.com/platform/frameworks/av/+/9e29523b9537983b4c4b205ff868d0b3bca0383b", "commit_id": "9e29523b9537983b4c4b205ff868d0b3bca0383b", "commit_message": "fix pos...
13,393
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4