prompt
stringclasses
1 value
completions
listlengths
1
1.33k
labels
listlengths
1
1.33k
source
stringclasses
1 value
other_info
dict
index
int64
0
151k
Determine whether the code is vulnerable or not.
[ "psf_get_date_str (char *str, int maxlen)\n{\ttime_t\t\tcurrent ;\n\tstruct tm\ttimedata, *tmptr ;", "\ttime (&current) ;", "#if defined (HAVE_GMTIME_R)\n\t/* If the re-entrant version is available, use it. */\n\ttmptr = gmtime_r (&current, &timedata) ;\n#elif defined (HAVE_GMTIME)\n\t/* Otherwise use the stand...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-7586", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-7586/", "CWE ID": "CWE-119", "codeLink": "https://github.com/erikd/libsndfile/commit/708e996c87c5fae77b104ccfeb8f6db784c32074", "commit_id": "708e996c87c5fae77b104ccfeb8f6db784c32074", "commit_message": "src/ : Move to a varia...
0
Determine whether the code is vulnerable or not.
[ "void MultibufferDataSource::CreateResourceLoader(int64_t first_byte_position,\n int64_t last_byte_position) {\n DCHECK(render_task_runner_->BelongsToCurrentThread());", " SetReader(new MultiBufferReader(\n url_data()->multibuffer(), first_byte_position, last...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-18352", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-18352/", "CWE ID": "CWE-732", "codeLink": "https://github.com/chromium/chromium/commit/a9cbaa7a40e2b2723cfc2f266c42f4980038a949", "commit_id": "a9cbaa7a40e2b2723cfc2f266c42f4980038a949", "commit_message": "Simplify \"WouldTai...
1
Determine whether the code is vulnerable or not.
[ "fbStore_a2r2g2b2 (FbBits *bits, const CARD32 *values, int x, int width, miIndexedPtr indexed)\n{\n int i;\n CARD8 *pixel = ((CARD8 *) bits) + x;\n for (i = 0; i < width; ++i) {\n Splita(READ(values + i));\n WRITE(pixel++, ((a ) & 0xc0) |\n\t ((r >> 2) & 0x30) |\n\t ((g >> 4) ...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2010-1166", "CVE Page": "https://www.cvedetails.com/cve/CVE-2010-1166/", "CWE ID": "CWE-189", "codeLink": "https://cgit.freedesktop.org/xorg/xserver/commit/?id=d2f813f7db", "commit_id": "d2f813f7db157fc83abc4b3726821c36ee7e40b1", "commit_message": null, "lang": "C", "project": "xserver"...
2
Determine whether the code is vulnerable or not.
[ "void UsageTracker::DidGetClientGlobalUsage(StorageType type,\n int64 usage,\n int64 unlimited_usage) {\n DCHECK_EQ(type, type_);\n global_usage_.usage += usage;\n global_usage_.unlimited_usage += unlimited_usage;\n if (--global...
[ 1, 1 ]
BIGVUL
{ "CVE ID": null, "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/610f904d8215075c4681be4eb413f4348860bf9f", "commit_id": "610f904d8215075c4681be4eb413f4348860bf9f", "commit_message": "Retrieve per host storage usage from QuotaManager.\n\nR=kinuko@chromium.org\nBUG...
3
Determine whether the code is vulnerable or not.
[ "void BlobURLRequestJob::DidRead(int result) {\n if (result < 0) {\n NotifyFailure(net::ERR_FAILED);\n return;\n }\n SetStatus(net::URLRequestStatus()); // Clear the IO_PENDING status", " AdvanceBytesRead(result);", " if (!read_buf_remaining_bytes_) {\n int bytes_read = ReadCompleted();\n Noti...
[ 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": null, "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/957973753ec4159003ff7930d946b7e89c7e09f3", "commit_id": "957973753ec4159003ff7930d946b7e89c7e09f3", "commit_message": "Make NotifyHeadersComplete the last call in the function.\n\nBUG=82903\nReview U...
4
Determine whether the code is vulnerable or not.
[ "gss_get_mic (minor_status,\n\t context_handle,\n\t qop_req,\n\t message_buffer,\n\t msg_token)", "OM_uint32 *\t\tminor_status;\ngss_ctx_id_t\t\tcontext_handle;\ngss_qop_t\t\tqop_req;\ngss_buffer_t\t\tmessage_buffer;\ngss_buffer_t\t\tmsg_token;", "{\n OM_uint32\t\tstatus;\n gss_union_ctx_i...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-11462", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-11462/", "CWE ID": "CWE-415", "codeLink": "https://github.com/krb5/krb5/commit/56f7b1bc95a2a3eeb420e069e7655fb181ade5cf", "commit_id": "56f7b1bc95a2a3eeb420e069e7655fb181ade5cf", "commit_message": "Preserve GSS context on ini...
5
Determine whether the code is vulnerable or not.
[ "gss_get_mic (minor_status,\n\t context_handle,\n\t qop_req,\n\t message_buffer,\n\t msg_token)", "OM_uint32 *\t\tminor_status;\ngss_ctx_id_t\t\tcontext_handle;\ngss_qop_t\t\tqop_req;\ngss_buffer_t\t\tmessage_buffer;\ngss_buffer_t\t\tmsg_token;", "{\n OM_uint32\t\tstatus;\n gss_union_ctx_i...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-11462", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-11462/", "CWE ID": "CWE-415", "codeLink": "https://github.com/krb5/krb5/commit/56f7b1bc95a2a3eeb420e069e7655fb181ade5cf", "commit_id": "56f7b1bc95a2a3eeb420e069e7655fb181ade5cf", "commit_message": "Preserve GSS context on ini...
5
Determine whether the code is vulnerable or not.
[ "void PluginServiceImpl::RegisterFilePathWatcher(FilePathWatcher* watcher,\n const FilePath& path) {\n bool result = watcher->Watch(path, false,\n base::Bind(&NotifyPluginDirChanged));\n DCHECK(result);\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...
6
Determine whether the code is vulnerable or not.
[ "record_loop_stats(\n\tdouble\toffset,\t\t/* offset */\n\tdouble\tfreq,\t\t/* frequency (PPM) */\n\tdouble\tjitter,\t\t/* jitter */\n\tdouble\twander,\t\t/* wander (PPM) */\n\tint spoll\n\t)\n{\n\tl_fp\tnow;\n\tu_long\tday;", "\tif (!stats_control)\n\t\treturn;", "\tget_systime(&now);\n\tfilegen_setup(&loopstat...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-5195", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-5195/", "CWE ID": "CWE-20", "codeLink": "https://github.com/ntp-project/ntp/commit/52e977d79a0c4ace997e5c74af429844da2f27be", "commit_id": "52e977d79a0c4ace997e5c74af429844da2f27be", "commit_message": "[Bug 1773] openssl not d...
7
Determine whether the code is vulnerable or not.
[ "static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en)\n{\n\tu32 clr_vlue = 0xfffffffful;\n\tu32 msk_vlue = en ? 0xfffffffful : 0; /*1 is en, 0 is dis*/", "\tdsaf_write_dev(drv, XGMAC_INT_STATUS_REG, clr_vlue);\n\tdsaf_write_dev(drv, XGMAC_INT_ENABLE_REG, msk_vlue);\n}\n" ]
[ 1, 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_...
8
Determine whether the code is vulnerable or not.
[ "void BaseRenderingContext2D::clip(Path2D* dom_path,\n const String& winding_rule_string) {\n ClipInternal(dom_path->GetPath(), winding_rule_string);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-6077", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-6077/", "CWE ID": "CWE-200", "codeLink": "https://github.com/chromium/chromium/commit/6ed26f014f76f10e76e80636027a2db9dcbe1664", "commit_id": "6ed26f014f76f10e76e80636027a2db9dcbe1664", "commit_message": "[PE] Distinguish betw...
9
Determine whether the code is vulnerable or not.
[ "int http_process_request(struct session *s, struct channel *req, int an_bit)\n{\n\tstruct http_txn *txn = &s->txn;\n\tstruct http_msg *msg = &txn->req;\n\tstruct connection *cli_conn = objt_conn(req->prod->end);", "\tif (unlikely(msg->msg_state < HTTP_MSG_BODY)) {\n\t\t/* we need more data */\n\t\tchannel_dont_c...
[ 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-6269", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-6269/", "CWE ID": "CWE-189", "codeLink": "https://git.haproxy.org/?p=haproxy-1.5.git;a=commitdiff;h=b4d05093bc89f71377230228007e69a1434c1a0c", "commit_id": "b4d05093bc89f71377230228007e69a1434c1a0c", "commit_message": null, ...
10
Determine whether the code is vulnerable or not.
[ "void crypto_aes_encrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src)\n{\n\taes_enc_blk(ctx, dst, src);\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...
11
Determine whether the code is vulnerable or not.
[ "error::Error GLES2DecoderPassthroughImpl::DoDeletePathsCHROMIUM(GLuint path,\n GLsizei range) {\n NOTIMPLEMENTED();\n return error::kNoError;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-5219", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-5219/", "CWE ID": "CWE-416", "codeLink": "https://github.com/chromium/chromium/commit/a4150b688a754d3d10d2ca385155b1c95d77d6ae", "commit_id": "a4150b688a754d3d10d2ca385155b1c95d77d6ae", "commit_message": "Add GL_PROGRAM_COMPLE...
12
Determine whether the code is vulnerable or not.
[ "void VideoCaptureImpl::OnBufferCreated(int32_t buffer_id,\n mojo::ScopedSharedBufferHandle handle) {\n DVLOG(1) << __func__ << \" buffer_id: \" << buffer_id;\n DCHECK(io_thread_checker_.CalledOnValidThread());\n DCHECK(handle.is_valid());\n \n base::SharedMemoryHandle mem...
[ 1, 0, 1, 0, 1, 0, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-6063", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-6063/", "CWE ID": "CWE-787", "codeLink": "https://github.com/chromium/chromium/commit/673ce95d481ea9368c4d4d43ac756ba1d6d9e608", "commit_id": "673ce95d481ea9368c4d4d43ac756ba1d6d9e608", "commit_message": "Correct mojo::WrapSha...
13
Determine whether the code is vulnerable or not.
[ "void VideoCaptureImpl::OnBufferCreated(int32_t buffer_id,\n mojo::ScopedSharedBufferHandle handle) {\n DVLOG(1) << __func__ << \" buffer_id: \" << buffer_id;\n DCHECK(io_thread_checker_.CalledOnValidThread());\n DCHECK(handle.is_valid());\n \n base::SharedMemoryHandle mem...
[ 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-6063", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-6063/", "CWE ID": "CWE-787", "codeLink": "https://github.com/chromium/chromium/commit/673ce95d481ea9368c4d4d43ac756ba1d6d9e608", "commit_id": "673ce95d481ea9368c4d4d43ac756ba1d6d9e608", "commit_message": "Correct mojo::WrapSha...
13
Determine whether the code is vulnerable or not.
[ "void FFmpegVideoDecodeEngine::DecodeFrame(scoped_refptr<Buffer> buffer) {\n scoped_refptr<VideoFrame> video_frame;", " AVPacket packet;\n av_init_packet(&packet);\n packet.data = const_cast<uint8*>(buffer->GetData());\n packet.size = buffer->GetDataSize();", " PipelineStatistics statistics;\n statistics...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2843", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2843/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/d304b5ec1b16766ea2cb552a27dc14df848d6a0e", "commit_id": "d304b5ec1b16766ea2cb552a27dc14df848d6a0e", "commit_message": "Don't forget the ffmp...
14
Determine whether the code is vulnerable or not.
[ "void Performance::BuildJSONValue(V8ObjectBuilder& builder) const {\n builder.AddNumber(\"timeOrigin\", timeOrigin());\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-6159", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-6159/", "CWE ID": "CWE-200", "codeLink": "https://github.com/chromium/chromium/commit/01b42e2bc2aac531b17596729ae4e5c223ae7124", "commit_id": "01b42e2bc2aac531b17596729ae4e5c223ae7124", "commit_message": "Fix timing allow chec...
15
Determine whether the code is vulnerable or not.
[ "void RenderView::OnRedo() {\n if (!webview())\n return;", " webview()->focusedFrame()->executeCommand(WebString::fromUTF8(\"Redo\"));\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2861", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2861/", "CWE ID": "CWE-20", "codeLink": "https://github.com/chromium/chromium/commit/8262245d384be025f13e2a5b3a03b7e5c98374ce", "commit_id": "8262245d384be025f13e2a5b3a03b7e5c98374ce", "commit_message": "DevTools: move DevTool...
16
Determine whether the code is vulnerable or not.
[ "void RenderWidgetHostImpl::AddMouseEventCallback(\n const MouseEventCallback& callback) {\n mouse_event_callbacks_.push_back(callback);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-1647", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-1647/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/e5787005a9004d7be289cc649c6ae4f3051996cd", "commit_id": "e5787005a9004d7be289cc649c6ae4f3051996cd", "commit_message": "Check that RWHI isn't dele...
17
Determine whether the code is vulnerable or not.
[ "void HTMLFormControlElement::didChangeForm() {\n ListedElement::didChangeForm();\n formOwnerSetNeedsValidityCheck();\n if (formOwner() && isConnected() && canBeSuccessfulSubmitButton())\n formOwner()->invalidateDefaultButtonStyle();\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-5016", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-5016/", "CWE ID": "CWE-1021", "codeLink": "https://github.com/chromium/chromium/commit/a8e17a3031b6ad69c399e5e04dd0084e577097fc", "commit_id": "a8e17a3031b6ad69c399e5e04dd0084e577097fc", "commit_message": "Form validation: Do ...
18
Determine whether the code is vulnerable or not.
[ "IMPEG2D_ERROR_CODES_T impeg2d_pre_pic_dec_proc(dec_state_t *ps_dec)\n{\n WORD32 u4_get_disp;\n pic_buf_t *ps_disp_pic;\n IMPEG2D_ERROR_CODES_T e_error = (IMPEG2D_ERROR_CODES_T)IVD_ERROR_NONE;", " u4_get_disp = 0;\n ps_disp_pic = NULL;", " /* Field Picture */\n if(ps_dec->u2_picture_structure != FRA...
[ 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-0824", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-0824/", "CWE ID": "CWE-254", "codeLink": "https://android.googlesource.com/platform/external/libmpeg2/+/ffab15eb80630dc799eb410855c93525b75233c3", "commit_id": "ffab15eb80630dc799eb410855c93525b75233c3", "commit_message": "Fix...
19
Determine whether the code is vulnerable or not.
[ "static void tg3_remove_one(struct pci_dev *pdev)\n{\n\tstruct net_device *dev = pci_get_drvdata(pdev);", "\tif (dev) {\n\t\tstruct tg3 *tp = netdev_priv(dev);", "\t\trelease_firmware(tp->fw);", "\t\ttg3_reset_task_cancel(tp);", "\t\tif (tg3_flag(tp, USE_PHYLIB)) {\n\t\t\ttg3_phy_fini(tp);\n\t\t\ttg3_mdio_f...
[ 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-1929", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-1929/", "CWE ID": "CWE-119", "codeLink": "https://github.com/torvalds/linux/commit/715230a44310a8cf66fbfb5a46f9a62a9b2de424", "commit_id": "715230a44310a8cf66fbfb5a46f9a62a9b2de424", "commit_message": "tg3: fix length overflow...
20
Determine whether the code is vulnerable or not.
[ "void *Type_LUT16_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)\n{\n cmsUInt8Number InputChannels, OutputChannels, CLUTpoints;\n cmsPipeline* NewLUT = NULL;\n cmsUInt32Number nTabSize;\n cmsFloat64Number Matrix[3*3];\n cmsUInt16Number...
[ 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-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...
21
Determine whether the code is vulnerable or not.
[ "static int start_audio_datapath(struct a2dp_stream_common *common)\n{\n INFO(\"state %d\", common->state);", " if (common->ctrl_fd == AUDIO_SKT_DISCONNECTED) {\n INFO(\"%s AUDIO_SKT_DISCONNECTED\", __func__);\n return -1;\n }", " int oldstate = common->state;\n common->state = AUDIO_A2DP_STATE_STA...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-3839", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-3839/", "CWE ID": "CWE-284", "codeLink": "https://android.googlesource.com/platform/system/bt/+/472271b153c5dc53c28beac55480a8d8434b2d5c", "commit_id": "472271b153c5dc53c28beac55480a8d8434b2d5c", "commit_message": "DO NOT MERG...
22
Determine whether the code is vulnerable or not.
[ "UpdateTouchesForGrab(DeviceIntPtr mouse)\n{\n int i;", " if (!mouse->touch || mouse->deviceGrab.fromPassiveGrab)\n return;", " for (i = 0; i < mouse->touch->num_touches; i++) {\n TouchPointInfoPtr ti = mouse->touch->touches + i;\n TouchListener *listener = &ti->listeners[0];\n ...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-10971", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-10971/", "CWE ID": "CWE-119", "codeLink": "https://cgit.freedesktop.org/xorg/xserver/commit/?id=215f894965df5fb0bb45b107d84524e700d2073c", "commit_id": "215f894965df5fb0bb45b107d84524e700d2073c", "commit_message": null, "la...
23
Determine whether the code is vulnerable or not.
[ " virtual ResourceContext* GetResourceContext() {\n return context_;\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...
24
Determine whether the code is vulnerable or not.
[ "static MagickBooleanType WriteOnePNGImage(MngInfo *mng_info,\n const ImageInfo *image_info,Image *image)\n{\n char\n s[2];", " char\n im_vers[32],\n libpng_runv[32],\n libpng_vers[32],\n zlib_runv[32],\n zlib_vers[32];", " const char\n *name,\n *property,\n *value;", " const ...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
BIGVUL
{ "CVE ID": "CVE-2018-16749", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-16749/", "CWE ID": "CWE-617", "codeLink": "https://github.com/ImageMagick/ImageMagick6/commit/1007b98f8795ad4bea6bc5f68a32d83e982fdae4", "commit_id": "1007b98f8795ad4bea6bc5f68a32d83e982fdae4", "commit_message": "https://gith...
25
Determine whether the code is vulnerable or not.
[ "v8::Handle<v8::Value> V8WebGLRenderingContext::uniformMatrix2fvCallback(const v8::Arguments& args)\n{\n INC_STATS(\"DOM.WebGLRenderingContext.uniformMatrix2fv()\");\n return uniformMatrixHelper(args, 2);\n}\n" ]
[ 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...
26
Determine whether the code is vulnerable or not.
[ "static int decode_putfh(struct xdr_stream *xdr)\n{\n\treturn decode_op_hdr(xdr, OP_PUTFH);\n}\n" ]
[ 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...
27
Determine whether the code is vulnerable or not.
[ "xsltCheckExtURI(xsltStylesheetPtr style, const xmlChar * URI)\n{\n xsltExtDefPtr cur;", " if ((style == NULL) || (style->nsDefs == NULL))\n return (0);\n if (URI == NULL)\n return (0);\n cur = (xsltExtDefPtr) style->nsDefs;\n while (cur != NULL) {\n if (xmlStrEqual(URI, cur->U...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-1683", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-1683/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/96dbafe288dbe2f0cc45fa3c39daf6d0c37acbab", "commit_id": "96dbafe288dbe2f0cc45fa3c39daf6d0c37acbab", "commit_message": "Roll libxslt to 89168...
28
Determine whether the code is vulnerable or not.
[ "static int bpf_obj_get(const union bpf_attr *attr)\n{\n\tif (CHECK_ATTR(BPF_OBJ) || attr->bpf_fd != 0)\n\t\treturn -EINVAL;", "\treturn bpf_obj_get_user(u64_to_ptr(attr->pathname));\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-4558", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-4558/", "CWE ID": null, "codeLink": "https://github.com/torvalds/linux/commit/92117d8443bc5afacc8d5ba82e541946310f106e", "commit_id": "92117d8443bc5afacc8d5ba82e541946310f106e", "commit_message": "bpf: fix refcnt overflow\n\nO...
29
Determine whether the code is vulnerable or not.
[ "bool IsLoaderInterceptionEnabled() {\n return base::FeatureList::IsEnabled(network::features::kNetworkService) ||\n blink::ServiceWorkerUtils::IsServicificationEnabled() ||\n signed_exchange_utils::IsSignedExchangeHandlingEnabled();\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-20068", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-20068/", "CWE ID": "CWE-20", "codeLink": "https://github.com/chromium/chromium/commit/4f8104c528f0147c7527718d5aa7c9c38c8220d0", "commit_id": "4f8104c528f0147c7527718d5aa7c9c38c8220d0", "commit_message": "Abort navigations on...
30
Determine whether the code is vulnerable or not.
[ "check_switch(int firstcode)\n{\n\treturn (firstcode == SWFACTION_PUSH || firstcode == SWFACTION_JUMP);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2019-12982", "CVE Page": "https://www.cvedetails.com/cve/CVE-2019-12982/", "CWE ID": "CWE-119", "codeLink": "https://github.com/libming/libming/pull/179/commits/2be22fcf56a223dafe8de0e8a20fe20e8bbdb0b9", "commit_id": "2be22fcf56a223dafe8de0e8a20fe20e8bbdb0b9", "commit_message": "decompileAc...
31
Determine whether the code is vulnerable or not.
[ "xmlParse3986URI(xmlURIPtr uri, const char *str) {\n int ret;", " ret = xmlParse3986Scheme(uri, &str);\n if (ret != 0) return(ret);\n if (*str != ':') {\n return(1);\n }\n str++;\n ret = xmlParse3986HierPart(uri, &str);\n if (ret != 0) return(ret);\n if (*str == '?') {\n\tstr++;\n\tret = xmlParse3986Quer...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-7376", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-7376/", "CWE ID": "CWE-119", "codeLink": "https://android.googlesource.com/platform/external/libxml2/+/51e0cb2e5ec18eaf6fb331bc573ff27b743898f4", "commit_id": "51e0cb2e5ec18eaf6fb331bc573ff27b743898f4", "commit_message": "DO N...
32
Determine whether the code is vulnerable or not.
[ "static inline void assign_proto_idx(struct proto *prot)\n{\n}\n" ]
[ 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
Determine whether the code is vulnerable or not.
[ "static void intr_callback(struct urb *urb)\n{\n\tpegasus_t *pegasus = urb->context;\n\tstruct net_device *net;\n\tint res, status = urb->status;", "\tif (!pegasus)\n\t\treturn;\n\tnet = pegasus->net;", "\tswitch (status) {\n\tcase 0:\n\t\tbreak;\n\tcase -ECONNRESET:\t/* unlink */\n\tcase -ENOENT:\n\tcase -ESHU...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-8068", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-8068/", "CWE ID": "CWE-119", "codeLink": "https://github.com/torvalds/linux/commit/5593523f968bc86d42a035c6df47d5e0979b5ace", "commit_id": "5593523f968bc86d42a035c6df47d5e0979b5ace", "commit_message": "pegasus: Use heap buffer...
34
Determine whether the code is vulnerable or not.
[ "ProcXvPutImage(ClientPtr client)\n{\n DrawablePtr pDraw;\n XvPortPtr pPort;\n XvImagePtr pImage = NULL;\n GCPtr pGC;\n int status, i, size;\n CARD16 width, height;", " REQUEST(xvPutImageReq);\n REQUEST_AT_LEAST_SIZE(xvPutImageReq);", " VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-12187", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-12187/", "CWE ID": "CWE-20", "codeLink": "https://cgit.freedesktop.org/xorg/xserver/commit/?id=cad5a1050b7184d828aef9c1dd151c3ab649d37e", "commit_id": "cad5a1050b7184d828aef9c1dd151c3ab649d37e", "commit_message": null, "lan...
35
Determine whether the code is vulnerable or not.
[ "void bitmap_writer_finish(struct pack_idx_entry **index,\n\t\t\t uint32_t index_nr,\n\t\t\t const char *filename,\n\t\t\t uint16_t options)\n{\n\tstatic char tmp_file[PATH_MAX];\n\tstatic uint16_t default_version = 1;\n\tstatic uint16_t flags = BITMAP_OPT_FULL_DAG;\n\tstruct sha1file *f;", "\tstruct bitmap_di...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-2324", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-2324/", "CWE ID": "CWE-119", "codeLink": "https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60", "commit_id": "de1e67d0703894cb6ea782e36abb63976ab07e60", "commit_message": "list-objects: pass full pathnam...
36
Determine whether the code is vulnerable or not.
[ "frag6_print(netdissect_options *ndo, register const u_char *bp, register const u_char *bp2)\n{\n\tregister const struct ip6_frag *dp;\n\tregister const struct ip6_hdr *ip6;", " \tdp = (const struct ip6_frag *)bp;\n \tip6 = (const struct ip6_hdr *)bp2;\n ", "\tND_TCHECK(dp->ip6f_offlg);", " \n \tif (ndo->ndo_...
[ 1, 1, 0, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-13031", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-13031/", "CWE ID": "CWE-125", "codeLink": "https://github.com/the-tcpdump-group/tcpdump/commit/2d669862df7cd17f539129049f6fb70d17174125", "commit_id": "2d669862df7cd17f539129049f6fb70d17174125", "commit_message": "CVE-2017-13...
37
Determine whether the code is vulnerable or not.
[ "frag6_print(netdissect_options *ndo, register const u_char *bp, register const u_char *bp2)\n{\n\tregister const struct ip6_frag *dp;\n\tregister const struct ip6_hdr *ip6;", " \tdp = (const struct ip6_frag *)bp;\n \tip6 = (const struct ip6_hdr *)bp2;\n ", "\tND_TCHECK(*dp);", " \n \tif (ndo->ndo_vflag) {\n ...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-13031", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-13031/", "CWE ID": "CWE-125", "codeLink": "https://github.com/the-tcpdump-group/tcpdump/commit/2d669862df7cd17f539129049f6fb70d17174125", "commit_id": "2d669862df7cd17f539129049f6fb70d17174125", "commit_message": "CVE-2017-13...
37
Determine whether the code is vulnerable or not.
[ "const char* dump_uipc_event(tUIPC_EVENT event)\n{\n switch(event)\n {\n CASE_RETURN_STR(UIPC_OPEN_EVT)\n CASE_RETURN_STR(UIPC_CLOSE_EVT)\n CASE_RETURN_STR(UIPC_RX_DATA_EVT)\n CASE_RETURN_STR(UIPC_RX_DATA_READY_EVT)\n CASE_RETURN_STR(UIPC_TX_DATA_READY_EVT)\n default:\n return \"U...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-3839", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-3839/", "CWE ID": "CWE-284", "codeLink": "https://android.googlesource.com/platform/system/bt/+/472271b153c5dc53c28beac55480a8d8434b2d5c", "commit_id": "472271b153c5dc53c28beac55480a8d8434b2d5c", "commit_message": "DO NOT MERG...
38
Determine whether the code is vulnerable or not.
[ "static int new_socket_unix(void) {\n int sfd;\n int flags;", " if ((sfd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) {\n perror(\"socket()\");\n return -1;\n }", " if ((flags = fcntl(sfd, F_GETFL, 0)) < 0 ||\n fcntl(sfd, F_SETFL, flags | O_NONBLOCK) < 0) {\n perror(\"set...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2010-1152", "CVE Page": "https://www.cvedetails.com/cve/CVE-2010-1152/", "CWE ID": "CWE-20", "codeLink": "https://github.com/memcached/memcached/commit/d9cd01ede97f4145af9781d448c62a3318952719", "commit_id": "d9cd01ede97f4145af9781d448c62a3318952719", "commit_message": "Use strncmp when che...
39
Determine whether the code is vulnerable or not.
[ "Vp9Parser::~Vp9Parser() {}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": null, "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/27c68f543e5eba779902447445dfb05ec3f5bf75", "commit_id": "27c68f543e5eba779902447445dfb05ec3f5bf75", "commit_message": "Revert of Add accelerated VP9 decode infrastructure and an implementation for VA...
40
Determine whether the code is vulnerable or not.
[ "static inline bool is_no_device(u32 intr_info)\n{\n\treturn is_exception_n(intr_info, NM_VECTOR);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-9588", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-9588/", "CWE ID": "CWE-388", "codeLink": "https://github.com/torvalds/linux/commit/ef85b67385436ddc1998f45f1d6a210f935b3388", "commit_id": "ef85b67385436ddc1998f45f1d6a210f935b3388", "commit_message": "kvm: nVMX: Allow L1 to i...
41
Determine whether the code is vulnerable or not.
[ "int fz_colorspace_is_rgb(fz_context *ctx, const fz_colorspace *cs)\n{\n\treturn cs && cs->type == FZ_COLORSPACE_RGB;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-1000040", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-1000040/", "CWE ID": "CWE-20", "codeLink": "http://git.ghostscript.com/?p=mupdf.git;a=commitdiff;h=83d4dae44c71816c084a635550acc1a51529b881;hp=f597300439e62f5e921f0d7b1e880b5c1a1f1607", "commit_id": "83d4dae44c71816c084a63555...
42
Determine whether the code is vulnerable or not.
[ "_add_starting_step(uint16_t type, void *req)\n{\n\tstarting_step_t *starting_step;\n\tint rc = SLURM_SUCCESS;", "\t/* Add the step info to a list of starting processes that\n\t cannot reliably be contacted. */\n\tslurm_mutex_lock(&conf->starting_steps_lock);\n\tstarting_step = xmalloc(sizeof(starting_step_t));...
[ 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-10030", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-10030/", "CWE ID": "CWE-284", "codeLink": "https://github.com/SchedMD/slurm/commit/92362a92fffe60187df61f99ab11c249d44120ee", "commit_id": "92362a92fffe60187df61f99ab11c249d44120ee", "commit_message": "Fix security issue in _...
43
Determine whether the code is vulnerable or not.
[ "int handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb,\n\t\t\t\t struct futex_q *q, union futex_key *key2,\n\t\t\t\t struct hrtimer_sleeper *timeout)\n{\n\tint ret = 0;", "\t/*\n\t * With the hb lock held, we avoid races while we process the wakeup.\n\t * We only need to hold hb (and not hb2) to en...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-3153", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-3153/", "CWE ID": "CWE-264", "codeLink": "https://github.com/torvalds/linux/commit/e9c243a5a6de0be8e584c604d353412584b592f8", "commit_id": "e9c243a5a6de0be8e584c604d353412584b592f8", "commit_message": "futex-prevent-requeue-pi...
44
Determine whether the code is vulnerable or not.
[ "STDMETHODIMP UrlmonUrlRequest::BeginningTransaction(const wchar_t* url,\n const wchar_t* current_headers, DWORD reserved,\n wchar_t** additional_headers) {\n DCHECK_EQ(thread_, base::PlatformThread::CurrentId());\n if (!additional_headers) {\n NOTREACHED();\n return E_POINTER;\n }", " DVLOG(1) <<...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-2347", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-2347/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/60cc89e8d2e761dea28bb9e4cf9ebbad516bff09", "commit_id": "60cc89e8d2e761dea28bb9e4cf9ebbad516bff09", "commit_message": "iwyu: Include callbac...
45
Determine whether the code is vulnerable or not.
[ "rad_server_secret(struct rad_handle *h)\n{\n\tif (h->srv >= h->num_servers) {\n\t\tgenerr(h, \"No RADIUS servers specified\");\n\t\treturn NULL;\n\t}", "\treturn (h->servers[h->srv].secret);\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-2220", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-2220/", "CWE ID": "CWE-119", "codeLink": "https://github.com/LawnGnome/php-radius/commit/13c149b051f82b709e8d7cc32111e84b49d57234", "commit_id": "13c149b051f82b709e8d7cc32111e84b49d57234", "commit_message": "Fix a security iss...
46
Determine whether the code is vulnerable or not.
[ "void PaintLayerScrollableArea::DidChangeGlobalRootScroller() {\n if (GetLayoutBox()->GetNode()->IsElementNode()) {\n ToElement(GetLayoutBox()->GetNode())->SetNeedsCompositingUpdate();\n GetLayoutBox()->SetNeedsPaintPropertyUpdate();\n }", " if (GetLayoutBox()->GetFrame()->GetSettings() &&\n GetLayo...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-5147", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-5147/", "CWE ID": "CWE-79", "codeLink": "https://github.com/chromium/chromium/commit/5472db1c7eca35822219d03be5c817d9a9258c11", "commit_id": "5472db1c7eca35822219d03be5c817d9a9258c11", "commit_message": "Always call UpdateComp...
47
Determine whether the code is vulnerable or not.
[ "int emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa,\n\t\t\tconst void *val, int bytes)\n{\n\tint ret;", "\tret = kvm_vcpu_write_guest(vcpu, gpa, val, bytes);\n\tif (ret < 0)\n\t\treturn 0;\n\tkvm_mmu_pte_write(vcpu, gpa, val, bytes);\n\treturn 1;\n}\n" ]
[ 1, 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...
48
Determine whether the code is vulnerable or not.
[ "static void nfs4_open_confirm_done(struct rpc_task *task, void *calldata)\n{\n\tstruct nfs4_opendata *data = calldata;", "\tdata->rpc_status = task->tk_status;\n\tif (data->rpc_status == 0) {\n\t\tnfs4_stateid_copy(&data->o_res.stateid, &data->c_res.stateid);\n\t\tnfs_confirm_seqid(&data->owner->so_seqid, 0);\n\...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-2375", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-2375/", "CWE ID": "CWE-189", "codeLink": "https://github.com/torvalds/linux/commit/20e0fa98b751facf9a1101edaefbc19c82616a68", "commit_id": "20e0fa98b751facf9a1101edaefbc19c82616a68", "commit_message": "Fix length of buffer cop...
49
Determine whether the code is vulnerable or not.
[ "static vpx_image_t *vp8_get_frame(vpx_codec_alg_priv_t *ctx,\n vpx_codec_iter_t *iter)\n{\n vpx_image_t *img = NULL;", " /* iter acts as a flip flop, so an image is only returned on the first\n * call to get_frame.\n */\n if (!(*iter) && ctx->yv12_frame_buffers.pbi[0])\n {\n YV12_BUFFER_CONFIG sd;...
[ 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-6711", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-6711/", "CWE ID": "CWE-20", "codeLink": "https://android.googlesource.com/platform/external/libvpx/+/063be1485e0099bc81ace3a08b0ec9186dcad693", "commit_id": "063be1485e0099bc81ace3a08b0ec9186dcad693", "commit_message": "DO NOT...
50
Determine whether the code is vulnerable or not.
[ "WebUIController* NewWebUI(content::WebUI* web_ui, const GURL& url) {\n return new T(web_ui);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2011-3084", "CVE Page": "https://www.cvedetails.com/cve/CVE-2011-3084/", "CWE ID": "CWE-264", "codeLink": "https://github.com/chromium/chromium/commit/744c2a2d90c3c9a33c818e1ea4b7ccb5010663a0", "commit_id": "744c2a2d90c3c9a33c818e1ea4b7ccb5010663a0", "commit_message": "Allow browser to hand...
51
Determine whether the code is vulnerable or not.
[ "void FindInPageNotificationObserver::Observe(\n int type, const content::NotificationSource& source,\n const content::NotificationDetails& details) {\n content::Details<FindNotificationDetails> find_details(details);\n if (!(find_details->final_update() && reply_message_ != NULL)) {\n DVLOG(1) << \"Igno...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-5148", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-5148/", "CWE ID": "CWE-20", "codeLink": "https://github.com/chromium/chromium/commit/e89cfcb9090e8c98129ae9160c513f504db74599", "commit_id": "e89cfcb9090e8c98129ae9160c513f504db74599", "commit_message": "Remove TabContents fro...
52
Determine whether the code is vulnerable or not.
[ "void RenderWidgetHostImpl::Blur() {\n if (IsMouseLocked())\n view_->UnlockMouse();", " Send(new ViewMsg_SetFocus(routing_id_, false));\n}\n" ]
[ 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...
53
Determine whether the code is vulnerable or not.
[ "static int list_files(void)\n{\n\tsc_path_t path;\n\tint r;", "\tsc_format_path(\"3F00\", &path);\n\tr = enum_dir(path, 0);\n\treturn r;\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-16427", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-16427/", "CWE ID": "CWE-125", "codeLink": "https://github.com/OpenSC/OpenSC/pull/1447/commits/8fe377e93b4b56060e5bbfb6f3142ceaeca744fa", "commit_id": "8fe377e93b4b56060e5bbfb6f3142ceaeca744fa", "commit_message": "fixed out of...
54
Determine whether the code is vulnerable or not.
[ "status_t MediaPlayer::setSyncSettings(const AVSyncSettings& sync, float videoFpsHint)\n{\n ALOGV(\"setSyncSettings: %u %u %f %f\",\n sync.mSource, sync.mAudioAdjustMode, sync.mTolerance, videoFpsHint);\n Mutex::Autolock _l(mLock);\n if (mPlayer == 0) return INVALID_OPERATION;\n return mPlayer->setSyn...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-3821", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-3821/", "CWE ID": "CWE-476", "codeLink": "https://android.googlesource.com/platform/frameworks/av/+/42a25c46b844518ff0d0b920c20c519e1417be69", "commit_id": "42a25c46b844518ff0d0b920c20c519e1417be69", "commit_message": "Don't u...
55
Determine whether the code is vulnerable or not.
[ "status_t AMRSource::stop() {\n CHECK(mStarted);", " delete mGroup;\n mGroup = NULL;", " mStarted = false;\n return OK;\n}\n" ]
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-0603", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-0603/", "CWE ID": "CWE-190", "codeLink": "https://android.googlesource.com/platform/frameworks/av/+/36b04932bb93cc3269279282686b439a17a89920", "commit_id": "36b04932bb93cc3269279282686b439a17a89920", "commit_message": "Fix int...
56
Determine whether the code is vulnerable or not.
[ "inline void comps_rtree_pair_destroy(COMPS_RTreePair * pair) {\n free(pair->key);\n free(pair);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2019-3817", "CVE Page": "https://www.cvedetails.com/cve/CVE-2019-3817/", "CWE ID": "CWE-416", "codeLink": "https://github.com/rpm-software-management/libcomps/commit/e3a5d056633677959ad924a51758876d415e7046", "commit_id": "e3a5d056633677959ad924a51758876d415e7046", "commit_message": "Fix UA...
57
Determine whether the code is vulnerable or not.
[ "GF_Err gf_sm_load_string(GF_SceneLoader *load, const char *str, Bool do_clean)\n{\n\tGF_Err e;\n\tif (!load->type) e = GF_BAD_PARAM;\n\telse if (load->parse_string) e = load->parse_string(load, str);\n\telse e = GF_NOT_SUPPORTED;", "\treturn e;\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-20762", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-20762/", "CWE ID": "CWE-119", "codeLink": "https://github.com/gpac/gpac/commit/35ab4475a7df9b2a4bcab235e379c0c3ec543658", "commit_id": "35ab4475a7df9b2a4bcab235e379c0c3ec543658", "commit_message": "fix some overflows due to s...
58
Determine whether the code is vulnerable or not.
[ "static int rtnl_dump_all(struct sk_buff *skb, struct netlink_callback *cb)\n{\n\tint idx;\n\tint s_idx = cb->family;", "\tif (s_idx == 0)\n\t\ts_idx = 1;\n\tfor (idx = 1; idx <= RTNL_FAMILY_MAX; idx++) {\n\t\tint type = cb->nlh->nlmsg_type-RTM_BASE;\n\t\tif (idx < s_idx || idx == PF_PACKET)\n\t\t\tcontinue;\n\t\...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-2635", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-2635/", "CWE ID": "CWE-399", "codeLink": "https://github.com/torvalds/linux/commit/84d73cd3fb142bf1298a8c13fd4ca50fd2432372", "commit_id": "84d73cd3fb142bf1298a8c13fd4ca50fd2432372", "commit_message": "rtnl: fix info leak on R...
59
Determine whether the code is vulnerable or not.
[ "flx_colorspace_convert (FlxColorSpaceConverter * flxpal, guchar * src,\n guchar * dest)\n{\n guint size, col;", " g_return_if_fail (flxpal != NULL);\n g_return_if_fail (src != dest);", "\n size = flxpal->width * flxpal->height;", " while (size--) {\n col = (*src++ * 3);", "#if G_BYTE_ORDER == G_...
[ 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-9807", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-9807/", "CWE ID": "CWE-125", "codeLink": "https://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=153a8ae752c90d07190ef45803422a4f71ea8bff", "commit_id": "153a8ae752c90d07190ef45803422a4f71ea8bff", "commit_message":...
60
Determine whether the code is vulnerable or not.
[ "int put_compat_itimerspec64(const struct itimerspec64 *its,\n\t\t\tstruct compat_itimerspec __user *uits)\n{\n\tif (__compat_put_timespec64(&its->it_interval, &uits->it_interval) ||\n\t __compat_put_timespec64(&its->it_value, &uits->it_value))\n\t\treturn -EFAULT;\n\treturn 0;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-11508", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-11508/", "CWE ID": "CWE-200", "codeLink": "https://github.com/torvalds/linux/commit/0a0b98734479aa5b3c671d5190e86273372cab95", "commit_id": "0a0b98734479aa5b3c671d5190e86273372cab95", "commit_message": "compat: fix 4-byte inf...
61
Determine whether the code is vulnerable or not.
[ "static void windows_destroy_device(struct libusb_device *dev)\n{\n\twindows_device_priv_release(dev);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-6125", "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/ac149a8d4371c0e01e0934fdd57b09e86f96b5b9", "commit_id": "ac149a8d4371c0e01e0934fdd57b09e86f96b5b9", "commit_message": "Remove libusb-Windows support for HID devices\n\nThis patch removes t...
62
Determine whether the code is vulnerable or not.
[ "void Document::ViewportDefiningElementDidChange() {\n HTMLBodyElement* body = FirstBodyElement();\n if (!body)\n return;\n LayoutObject* layout_object = body->GetLayoutObject();\n if (layout_object && layout_object->IsLayoutBlock()) {\n layout_object->SetStyle(ComputedStyle::Clone(*layout_object->Style()...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-18350", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-18350/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/d683fb12566eaec180ee0e0506288f46cc7a43e7", "commit_id": "d683fb12566eaec180ee0e0506288f46cc7a43e7", "commit_message": "Inherit CSP when self-na...
63
Determine whether the code is vulnerable or not.
[ "static void __ip_vs_unlink_dest(struct ip_vs_service *svc,\n\t\t\t\tstruct ip_vs_dest *dest,\n\t\t\t\tint svcupd)\n{\n\tdest->flags &= ~IP_VS_DEST_F_AVAILABLE;", "\t/*\n\t * Remove it from the d-linked destination list.\n\t */\n\tlist_del(&dest->n_list);\n\tsvc->num_dests--;", "\t/*\n\t * Call the update_ser...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-4588", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-4588/", "CWE ID": "CWE-119", "codeLink": "https://github.com/torvalds/linux/commit/04bcef2a83f40c6db24222b27a52892cba39dffb", "commit_id": "04bcef2a83f40c6db24222b27a52892cba39dffb", "commit_message": "ipvs: Add boundary check...
64
Determine whether the code is vulnerable or not.
[ "static int create_rq(struct mlx5_ib_rwq *rwq, struct ib_pd *pd,\n\t\t struct ib_wq_init_attr *init_attr)\n{\n\tstruct mlx5_ib_dev *dev;\n\tint has_net_offloads;\n\t__be64 *rq_pas0;\n\tvoid *in;\n\tvoid *rqc;\n\tvoid *wq;\n\tint inlen;\n\tint err;", "\tdev = to_mdev(pd->device);", "\tinlen = MLX5_ST_SZ_BY...
[ 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-20855", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-20855/", "CWE ID": "CWE-119", "codeLink": "https://github.com/torvalds/linux/commit/0625b4ba1a5d4703c7fb01c497bd6c156908af00", "commit_id": "0625b4ba1a5d4703c7fb01c497bd6c156908af00", "commit_message": "IB/mlx5: Fix leaking s...
65
Determine whether the code is vulnerable or not.
[ "fbCombineSaturateC (CARD32 *dest, CARD32 *src, CARD32 *mask, int width)\n{\n int i;", " for (i = 0; i < width; ++i) {\n CARD32 s, d;\n CARD16 sa, sr, sg, sb, da;\n CARD16 t, u, v;\n CARD32 m,n,o,p;", " d = READ(dest + i);\n s = READ(src + i);\n\tm = READ(mask...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2010-1166", "CVE Page": "https://www.cvedetails.com/cve/CVE-2010-1166/", "CWE ID": "CWE-189", "codeLink": "https://cgit.freedesktop.org/xorg/xserver/commit/?id=d2f813f7db", "commit_id": "d2f813f7db157fc83abc4b3726821c36ee7e40b1", "commit_message": null, "lang": "C", "project": "xserver"...
66
Determine whether the code is vulnerable or not.
[ "bool MediaStreamImpl::EnsurePeerConnectionFactory() {\n DCHECK(CalledOnValidThread());\n if (!signaling_thread_) {\n jingle_glue::JingleThreadWrapper::EnsureForCurrentThread();\n jingle_glue::JingleThreadWrapper::current()->set_send_allowed(true);\n signaling_thread_ = jingle_glue::JingleThreadWrapper::...
[ 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-2817", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-2817/", "CWE ID": "CWE-399", "codeLink": "https://github.com/chromium/chromium/commit/9b9a9f33f0a26f40d083be85a539dd7963adfc9b", "commit_id": "9b9a9f33f0a26f40d083be85a539dd7963adfc9b", "commit_message": "Explicitly stopping t...
67
Determine whether the code is vulnerable or not.
[ "static int vmx_restore_fixed0_msr(struct vcpu_vmx *vmx, u32 msr_index, u64 data)\n{\n\tu64 *msr;", "\tswitch (msr_index) {\n\tcase MSR_IA32_VMX_CR0_FIXED0:\n\t\tmsr = &vmx->nested.msrs.cr0_fixed0;\n\t\tbreak;\n\tcase MSR_IA32_VMX_CR4_FIXED0:\n\t\tmsr = &vmx->nested.msrs.cr4_fixed0;\n\t\tbreak;\n\tdefault:\n\t\tB...
[ 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-12904", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-12904/", "CWE ID": null, "codeLink": "https://github.com/torvalds/linux/commit/727ba748e110b4de50d142edca9d6a9b7e6111d8", "commit_id": "727ba748e110b4de50d142edca9d6a9b7e6111d8", "commit_message": "kvm: nVMX: Enforce cpl=0 fo...
68
Determine whether the code is vulnerable or not.
[ "EntrySync* EntrySync::copyTo(DirectoryEntrySync* parent, const String& name, ExceptionState& exceptionState) const\n {", " RefPtr<EntrySyncCallbackHelper> helper = EntrySyncCallbackHelper::create();", " m_fileSystem->copy(this, parent, name, helper->successCallback(), helper->errorCallback(), DOMFileSys...
[ 1, 0, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0917", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0917/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/02c8303512ebed345011f7b545e2f418799be2f0", "commit_id": "02c8303512ebed345011f7b545e2f418799be2f0", "commit_message": "Oilpan: Ship Oilpan f...
69
Determine whether the code is vulnerable or not.
[ "EntrySync* EntrySync::copyTo(DirectoryEntrySync* parent, const String& name, ExceptionState& exceptionState) const\n {", " EntrySyncCallbackHelper* helper = EntrySyncCallbackHelper::create();", " m_fileSystem->copy(this, parent, name, helper->successCallback(), helper->errorCallback(), DOMFileSystemBase...
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0917", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0917/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/02c8303512ebed345011f7b545e2f418799be2f0", "commit_id": "02c8303512ebed345011f7b545e2f418799be2f0", "commit_message": "Oilpan: Ship Oilpan f...
69
Determine whether the code is vulnerable or not.
[ "ScriptPromise BluetoothRemoteGATTServer::getPrimaryServicesImpl(\n ScriptState* scriptState,\n mojom::blink::WebBluetoothGATTQueryQuantity quantity,\n String servicesUUID) {\n if (!connected()) {\n return ScriptPromise::rejectWithDOMException(\n scriptState,\n DOMException::create(Networ...
[ 1, 1, 0, 1, 0, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-1215", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-1215/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/2bceda4948deeaed0a5a99305d0d488eb952f64f", "commit_id": "2bceda4948deeaed0a5a99305d0d488eb952f64f", "commit_message": "Allow serialization o...
70
Determine whether the code is vulnerable or not.
[ "ScriptPromise BluetoothRemoteGATTServer::getPrimaryServicesImpl(\n ScriptState* scriptState,\n mojom::blink::WebBluetoothGATTQueryQuantity quantity,\n String servicesUUID) {\n if (!connected()) {\n return ScriptPromise::rejectWithDOMException(\n scriptState,\n DOMException::create(Networ...
[ 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-1215", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-1215/", "CWE ID": "CWE-119", "codeLink": "https://github.com/chromium/chromium/commit/2bceda4948deeaed0a5a99305d0d488eb952f64f", "commit_id": "2bceda4948deeaed0a5a99305d0d488eb952f64f", "commit_message": "Allow serialization o...
70
Determine whether the code is vulnerable or not.
[ "static void _sx_sasl_features(sx_t s, sx_plugin_t p, nad_t nad) {\n _sx_sasl_t ctx = (_sx_sasl_t) p->private;\n Gsasl_session *sd = (Gsasl_session *) s->plugin_data[p->index];\n int nmechs, ret;\n char *mechs, *mech, *c;", " if(s->type != type_SERVER)\n return;", " if(sd != NULL) {\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-10807", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-10807/", "CWE ID": "CWE-287", "codeLink": "https://github.com/jabberd2/jabberd2/commit/8416ae54ecefa670534f27a31db71d048b9c7f16", "commit_id": "8416ae54ecefa670534f27a31db71d048b9c7f16", "commit_message": "Fixed offered SASL ...
71
Determine whether the code is vulnerable or not.
[ "void WebRuntimeFeatures::enablePeerConnection(bool enable)\n{\n RuntimeEnabledFeatures::setPeerConnectionEnabled(enable);\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0912", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0912/", "CWE ID": "CWE-94", "codeLink": "https://github.com/chromium/chromium/commit/faceb51d5058e1159835a4b0cd65081bb0a9de1e", "commit_id": "faceb51d5058e1159835a4b0cd65081bb0a9de1e", "commit_message": "Remove SpeechSynthesis...
72
Determine whether the code is vulnerable or not.
[ "void drm_mode_config_cleanup(struct drm_device *dev)\n{\n\tstruct drm_connector *connector, *ot;\n\tstruct drm_crtc *crtc, *ct;\n\tstruct drm_encoder *encoder, *enct;\n\tstruct drm_framebuffer *fb, *fbt;\n\tstruct drm_property *property, *pt;", "\tlist_for_each_entry_safe(encoder, enct, &dev->mode_config.encoder...
[ 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-0044", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-0044/", "CWE ID": "CWE-189", "codeLink": "https://github.com/torvalds/linux/commit/a5cd335165e31db9dbab636fd29895d41da55dd2", "commit_id": "a5cd335165e31db9dbab636fd29895d41da55dd2", "commit_message": "drm: integer overflow in...
73
Determine whether the code is vulnerable or not.
[ "gfx::Size RenderWidgetHostViewAura::GetMaximumSize() const {\n return gfx::Size();\n}\n" ]
[ 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...
74
Determine whether the code is vulnerable or not.
[ " bool HasHostBeenLookedUp(const std::string& host) {\n return base::Contains(successful_dns_lookups_, host) ||\n base::Contains(unsuccessful_dns_lookups_, host);\n }\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2017-5077", "CVE Page": "https://www.cvedetails.com/cve/CVE-2017-5077/", "CWE ID": "CWE-125", "codeLink": "https://github.com/chromium/chromium/commit/fec26ff33bf372476a70326f3669a35f34a9d474", "commit_id": "fec26ff33bf372476a70326f3669a35f34a9d474", "commit_message": "Origins should be rep...
75
Determine whether the code is vulnerable or not.
[ "ProcRenderQueryFilters (ClientPtr client)\n{\n REQUEST (xRenderQueryFiltersReq);\n DrawablePtr\t\t\tpDrawable;\n xRenderQueryFiltersReply\t*reply;\n int\t\t\t\tnbytesName;\n int\t\t\t\tnnames;\n ScreenPtr\t\t\tpScreen;\n PictureScreenPtr\t\tps;\n int\t\t\t\ti, j, len, total_bytes, rc;\n ...
[ 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2010-4819", "CVE Page": "https://www.cvedetails.com/cve/CVE-2010-4819/", "CWE ID": "CWE-20", "codeLink": "https://cgit.freedesktop.org/xorg/xserver/commit/render/render.c?id=5725849a1b427cd4a72b84e57f211edb35838718", "commit_id": "5725849a1b427cd4a72b84e57f211edb35838718", "commit_message":...
76
Determine whether the code is vulnerable or not.
[ " LRUCanvasResourceProviderCache(int capacity)\n : resource_providers_(\n std::make_unique<std::unique_ptr<CanvasResourceProvider>[]>(\n capacity)),\n capacity_(capacity) {}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-6047", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-6047/", "CWE ID": "CWE-20", "codeLink": "https://github.com/chromium/chromium/commit/fae4d7b7d7e5c8a04a8b7a3258c0fc8362afa24c", "commit_id": "fae4d7b7d7e5c8a04a8b7a3258c0fc8362afa24c", "commit_message": "Simplify WebGL error m...
77
Determine whether the code is vulnerable or not.
[ "bool IsNonClientLocation(Window* target, const gfx::Point& location) {\n if (!target->delegate())\n return false;\n int hit_test_code = target->delegate()->GetNonClientComponent(location);\n return hit_test_code != HTCLIENT && hit_test_code != HTNOWHERE;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-2875", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-2875/", "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/1266ba494530a267ec8a21442ea1b5cae94da4fb", "commit_id": "1266ba494530a267ec8a21442ea1b5cae94da4fb", "commit_message": "Introduce XGetImage() for ...
78
Determine whether the code is vulnerable or not.
[ "void WebContentsImpl::RenderViewDeleted(RenderViewHost* rvh) {\n ClearPowerSaveBlockers(rvh);\n render_manager_.RenderViewDeleted(rvh);\n FOR_EACH_OBSERVER(WebContentsObserver, observers_, RenderViewDeleted(rvh));\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 ...
79
Determine whether the code is vulnerable or not.
[ "static int __init setup_print_fatal_signals(char *str)\n{\n\tget_option (&str, &print_fatal_signals);", "\treturn 1;\n}\n" ]
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-2141", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-2141/", "CWE ID": "CWE-399", "codeLink": "https://github.com/torvalds/linux/commit/b9e146d8eb3b9ecae5086d373b50fa0c1f3e7f0f", "commit_id": "b9e146d8eb3b9ecae5086d373b50fa0c1f3e7f0f", "commit_message": "kernel/signal.c: stop in...
80
Determine whether the code is vulnerable or not.
[ "static struct transit *transit_intern(struct transit *transit)\n{\n\tstruct transit *find;", "\tfind = hash_get(transit_hash, transit, transit_hash_alloc);\n\tif (find != transit)\n\t\ttransit_free(transit);\n\tfind->refcnt++;", "\treturn find;\n}\n" ]
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2019-5892", "CVE Page": "https://www.cvedetails.com/cve/CVE-2019-5892/", "CWE ID": null, "codeLink": "https://github.com/FRRouting/frr/commit/943d595a018e69b550db08cccba1d0778a86705a", "commit_id": "943d595a018e69b550db08cccba1d0778a86705a", "commit_message": "bgpd: don't use BGP_ATTR_VNC(2...
81
Determine whether the code is vulnerable or not.
[ " explicit CloseDialogCallbackWrapper(CloseCallback callback)\n : callback_(std::move(callback)) {}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-20067", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-20067/", "CWE ID": "CWE-254", "codeLink": "https://github.com/chromium/chromium/commit/a7d715ae5b654d1f98669fd979a00282a7229044", "commit_id": "a7d715ae5b654d1f98669fd979a00282a7229044", "commit_message": "Prevent renderer in...
82
Determine whether the code is vulnerable or not.
[ "struct ndp_msgra *ndp_msgra(struct ndp_msg *msg)\n{\n\tif (ndp_msg_type(msg) != NDP_MSG_RA)\n\t\treturn NULL;\n\treturn &msg->nd_msg.ra;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-3698", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-3698/", "CWE ID": "CWE-284", "codeLink": "https://github.com/jpirko/libndp/commit/a4892df306e0532487f1634ba6d4c6d4bb381c7f", "commit_id": "a4892df306e0532487f1634ba6d4c6d4bb381c7f", "commit_message": "libndp: validate the IPv6...
83
Determine whether the code is vulnerable or not.
[ "void __init proc_root_init(void)\n{\n\tint err;", "\tproc_init_inodecache();\n\terr = register_filesystem(&proc_fs_type);\n\tif (err)\n\t\treturn;", "\tproc_self_init();\n\tproc_thread_self_init();\n\tproc_symlink(\"mounts\", NULL, \"self/mounts\");", "\tproc_net_init();", "#ifdef CONFIG_SYSVIPC\n\tproc_mk...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2016-1583", "CVE Page": "https://www.cvedetails.com/cve/CVE-2016-1583/", "CWE ID": "CWE-119", "codeLink": "https://github.com/torvalds/linux/commit/f5364c150aa645b3d7daa21b5c0b9feaa1c9cd6d", "commit_id": "f5364c150aa645b3d7daa21b5c0b9feaa1c9cd6d", "commit_message": "Merge branch 'stacking-f...
84
Determine whether the code is vulnerable or not.
[ "static inline int ep_op_has_event(int op)\n{\n\treturn op != EPOLL_CTL_DEL;\n}\n" ]
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2012-3375", "CVE Page": "https://www.cvedetails.com/cve/CVE-2012-3375/", "CWE ID": null, "codeLink": "https://github.com/torvalds/linux/commit/13d518074a952d33d47c428419693f63389547e9", "commit_id": "13d518074a952d33d47c428419693f63389547e9", "commit_message": "epoll: clear the tfile_check_...
85
Determine whether the code is vulnerable or not.
[ "void inode_set_flags(struct inode *inode, unsigned int flags,\n\t\t unsigned int mask)\n{\n\tunsigned int old_flags, new_flags;", "\tWARN_ON_ONCE(flags & ~mask);\n\tdo {\n\t\told_flags = ACCESS_ONCE(inode->i_flags);\n\t\tnew_flags = (old_flags & ~mask) | flags;\n\t} while (unlikely(cmpxchg(&inode->i_flags, o...
[ 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2014-4014", "CVE Page": "https://www.cvedetails.com/cve/CVE-2014-4014/", "CWE ID": "CWE-264", "codeLink": "https://github.com/torvalds/linux/commit/23adbe12ef7d3d4195e80800ab36b37bee28cd03", "commit_id": "23adbe12ef7d3d4195e80800ab36b37bee28cd03", "commit_message": "fs,userns: Change inode_...
86
Determine whether the code is vulnerable or not.
[ "VideoCodec StringToVideoCodec(const std::string& codec_id) {\n std::vector<std::string> elem = base::SplitString(\n codec_id, \".\", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);\n if (elem.empty())\n return kUnknownVideoCodec;\n \n VideoCodecProfile profile = VIDEO_CODEC_PROFILE_UNKNOWN;\n uint8_t l...
[ 1, 0, 1, 0, 1 ]
BIGVUL
{ "CVE ID": null, "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/2fb4f2c9c461551d43fdfa28ef4c960da81a47dd", "commit_id": "2fb4f2c9c461551d43fdfa28ef4c960da81a47dd", "commit_message": "Gate support for certain EOTFs/primaries/matrices on color management / hdr flag...
87
Determine whether the code is vulnerable or not.
[ "VideoCodec StringToVideoCodec(const std::string& codec_id) {\n std::vector<std::string> elem = base::SplitString(\n codec_id, \".\", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);\n if (elem.empty())\n return kUnknownVideoCodec;\n \n VideoCodecProfile profile = VIDEO_CODEC_PROFILE_UNKNOWN;\n uint8_t l...
[ 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": null, "CVE Page": null, "CWE ID": null, "codeLink": "https://github.com/chromium/chromium/commit/2fb4f2c9c461551d43fdfa28ef4c960da81a47dd", "commit_id": "2fb4f2c9c461551d43fdfa28ef4c960da81a47dd", "commit_message": "Gate support for certain EOTFs/primaries/matrices on color management / hdr flag...
87
Determine whether the code is vulnerable or not.
[ "php_apache_sapi_flush(void *server_context)\n{\n\tphp_struct *ctx;\n\trequest_rec *r;\n\tTSRMLS_FETCH();", "\tctx = server_context;", "\t/* If we haven't registered a server_context yet,\n\t * then don't bother flushing. */\n\tif (!server_context) {\n\t\treturn;\n\t}", "\tr = ctx->r;", "\tsapi_send_headers...
[ 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2015-3330", "CVE Page": "https://www.cvedetails.com/cve/CVE-2015-3330/", "CWE ID": "CWE-20", "codeLink": "https://git.php.net/?p=php-src.git;a=commit;h=809610f5ea38a83b284e1125d1fff129bdd615e7", "commit_id": "809610f5ea38a83b284e1125d1fff129bdd615e7", "commit_message": null, "lang": "C", ...
88
Determine whether the code is vulnerable or not.
[ "void FileAPIMessageFilter::OnAppendBlobDataItem(\n const GURL& url, const BlobData::Item& item) {\n DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));\n if (item.type() == BlobData::Item::TYPE_FILE &&\n !ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(\n process_id_, item.path()))...
[ 1 ]
BIGVUL
{ "CVE ID": "CVE-2013-0829", "CVE Page": "https://www.cvedetails.com/cve/CVE-2013-0829/", "CWE ID": "CWE-264", "codeLink": "https://github.com/chromium/chromium/commit/d123966ec156cd2f92fdada36be39694641b479e", "commit_id": "d123966ec156cd2f92fdada36be39694641b479e", "commit_message": "File permission fix: ...
89
Determine whether the code is vulnerable or not.
[ "static int _nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct rpc_cred *cred)\n{\n\tstruct nfs_fsinfo fsinfo;\n\tstruct rpc_message msg = {\n\t\t.rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_SETCLIENTID_CONFIRM],\n\t\t.rpc_argp = clp,\n\t\t.rpc_resp = &fsinfo,\n\t\t.rpc_cred = cred,\n\t};\n\tunsigned long ...
[ 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...
90
Determine whether the code is vulnerable or not.
[ "static void common_hrtimer_rearm(struct k_itimer *timr)\n {\n \tstruct hrtimer *timer = &timr->it.real.timer;\n \n \tif (!timr->it_interval)\n \t\treturn;\n ", "\ttimr->it_overrun += (unsigned int) hrtimer_forward(timer,\n\t\t\t\t\t\ttimer->base->get_time(),\n\t\t\t\t\t\ttimr->it_interval);", " \thrtimer_resta...
[ 1, 0, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-12896", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-12896/", "CWE ID": "CWE-190", "codeLink": "https://github.com/torvalds/linux/commit/78c9c4dfbf8c04883941445a195276bb4bb92c76", "commit_id": "78c9c4dfbf8c04883941445a195276bb4bb92c76", "commit_message": "posix-timers: Sanitize...
91
Determine whether the code is vulnerable or not.
[ "static void common_hrtimer_rearm(struct k_itimer *timr)\n {\n \tstruct hrtimer *timer = &timr->it.real.timer;\n \n \tif (!timr->it_interval)\n \t\treturn;\n ", "\ttimr->it_overrun += hrtimer_forward(timer, timer->base->get_time(),\n\t\t\t\t\t timr->it_interval);", " \thrtimer_restart(timer);\n }" ]
[ 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-12896", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-12896/", "CWE ID": "CWE-190", "codeLink": "https://github.com/torvalds/linux/commit/78c9c4dfbf8c04883941445a195276bb4bb92c76", "commit_id": "78c9c4dfbf8c04883941445a195276bb4bb92c76", "commit_message": "posix-timers: Sanitize...
91
Determine whether the code is vulnerable or not.
[ "static int StreamTcpTest23(void)\n{\n StreamTcpThread stt;\n TcpSession ssn;\n Flow f;\n TCPHdr tcph;\n uint8_t packet[1460] = \"\";\n ThreadVars tv;\n PacketQueue pq;", " Packet *p = SCMalloc(SIZE_OF_PACKET);\n FAIL_IF(p == NULL);", " memset(&pq,0,sizeof(PacketQueue));\n memse...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
BIGVUL
{ "CVE ID": "CVE-2018-14568", "CVE Page": "https://www.cvedetails.com/cve/CVE-2018-14568/", "CWE ID": null, "codeLink": "https://github.com/OISF/suricata/pull/3428/commits/843d0b7a10bb45627f94764a6c5d468a24143345", "commit_id": "843d0b7a10bb45627f94764a6c5d468a24143345", "commit_message": "stream: support R...
92