prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre, Romain Bouqueau, Cyril Concolato\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / Media Tools sub-project\n *\n * GPAC is free software; you can redistribute ...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [5789], "buggy_code_start_loc": [4693], "filenames": ["src/media_tools/av_parsers.c"], "fixing_code_end_loc": [5792], "fixing_code_start_loc": [4693], "message": "A buffer overflow vulnerability exists in Gpac through 1.0.1 via a malformed MP4 file in the svc_parse_slice function in av_parsers.c,...
246
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre, Romain Bouqueau, Cyril Concolato\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / Media Tools sub-project\n *\n * GPAC is free software; you can redistribute ...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [5789], "buggy_code_start_loc": [4693], "filenames": ["src/media_tools/av_parsers.c"], "fixing_code_end_loc": [5792], "fixing_code_start_loc": [4693], "message": "A buffer overflow vulnerability exists in Gpac through 1.0.1 via a malformed MP4 file in the svc_parse_slice function in av_parsers.c,...
246
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# (c) 2009-2022 Martin Wendt and contributors; see WsgiDAV https://github.com/mar10/wsgidav\n# Licensed under the MIT license:\n# http://www.opensource.org/licenses/mit-license.php\n\"\"\"\nWSGI middleware that handles GET requests on collections to display directories.\n\"\"\"\nimport os\...
[ 1, 0, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [77, 99], "buggy_code_start_loc": [13, 84], "filenames": ["wsgidav/dir_browser/_dir_browser.py", "wsgidav/dir_browser/htdocs/template.html"], "fixing_code_end_loc": [77, 99], "fixing_code_start_loc": [13, 84], "message": "WsgiDAV is a generic and extendable WebDAV server based on WSGI. Implementa...
247
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# (c) 2009-2022 Martin Wendt and contributors; see WsgiDAV https://github.com/mar10/wsgidav\n# Licensed under the MIT license:\n# http://www.opensource.org/licenses/mit-license.php\n\"\"\"\nWSGI middleware that handles GET requests on collections to display directories.\n\"\"\"\nimport os\...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [77, 99], "buggy_code_start_loc": [13, 84], "filenames": ["wsgidav/dir_browser/_dir_browser.py", "wsgidav/dir_browser/htdocs/template.html"], "fixing_code_end_loc": [77, 99], "fixing_code_start_loc": [13, 84], "message": "WsgiDAV is a generic and extendable WebDAV server based on WSGI. Implementa...
247
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html>\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n <meta name=\"generator\" content=\"WsgiDAV/{{ version }}\">\n <title>WsgiDAV - Index of {{ display_path }} </title>\n <link rel=\"shortcut icon\" href=\"{{ htdocs }}/favicon.ico\">\n <link rel=\"stylesh...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [77, 99], "buggy_code_start_loc": [13, 84], "filenames": ["wsgidav/dir_browser/_dir_browser.py", "wsgidav/dir_browser/htdocs/template.html"], "fixing_code_end_loc": [77, 99], "fixing_code_start_loc": [13, 84], "message": "WsgiDAV is a generic and extendable WebDAV server based on WSGI. Implementa...
247
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html>\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n <meta name=\"generator\" content=\"WsgiDAV/{{ version }}\">\n <title>WsgiDAV - Index of {{ display_path }} </title>\n <link rel=\"shortcut icon\" href=\"{{ htdocs }}/favicon.ico\">\n <link rel=\"stylesh...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [77, 99], "buggy_code_start_loc": [13, 84], "filenames": ["wsgidav/dir_browser/_dir_browser.py", "wsgidav/dir_browser/htdocs/template.html"], "fixing_code_end_loc": [77, 99], "fixing_code_start_loc": [13, 84], "message": "WsgiDAV is a generic and extendable WebDAV server based on WSGI. Implementa...
247
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"helper.h\"", "#include <QCoreApplication>\n#include <QtDBus>\n#include <QFile>\n#include <PolkitQt1/Authority>\n#include <PolkitQt1/Subject>", "#include <signal.h>", "HelperAdaptor::HelperAdaptor(Helper *parent) :\n QDBusAbstractAdaptor(parent)\n{\n m_parentHelper = parent;\n}", "QVariantM...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [192], "buggy_code_start_loc": [192], "filenames": ["src/helper.cpp"], "fixing_code_end_loc": [197], "fixing_code_start_loc": [193], "message": "KDiskMark before 3.1.0 lacks authorization checking for D-Bus methods such as Helper::flushPageCache.", "other": {"cve": {"cisaActionDue": null, "cisaEx...
248
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"helper.h\"", "#include <QCoreApplication>\n#include <QtDBus>\n#include <QFile>\n#include <PolkitQt1/Authority>\n#include <PolkitQt1/Subject>", "#include <signal.h>", "HelperAdaptor::HelperAdaptor(Helper *parent) :\n QDBusAbstractAdaptor(parent)\n{\n m_parentHelper = parent;\n}", "QVariantM...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [192], "buggy_code_start_loc": [192], "filenames": ["src/helper.cpp"], "fixing_code_end_loc": [197], "fixing_code_start_loc": [193], "message": "KDiskMark before 3.1.0 lacks authorization checking for D-Bus methods such as Helper::flushPageCache.", "other": {"cve": {"cisaActionDue": null, "cisaEx...
248
Determine whether the {function_name} code is vulnerable or not.
[ "package org.dynmap.servlet;", "import org.dynmap.DynmapCore;\nimport org.dynmap.DynmapWorld;\nimport org.dynmap.MapType.ImageEncoding;\nimport org.dynmap.PlayerFaces;\nimport org.dynmap.storage.MapStorage;\nimport org.dynmap.storage.MapStorageTile;\nimport org.dynmap.storage.MapStorageTile.TileRead;\nimport org....
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [50], "buggy_code_start_loc": [49], "filenames": ["DynmapCore/src/main/java/org/dynmap/servlet/MapStorageResourceHandler.java"], "fixing_code_end_loc": [54], "fixing_code_start_loc": [49], "message": "In Webbukkit Dynmap 3.0-beta-3 or below, due to a missing login check in servlet/MapStorageHandl...
249
Determine whether the {function_name} code is vulnerable or not.
[ "package org.dynmap.servlet;", "import org.dynmap.DynmapCore;\nimport org.dynmap.DynmapWorld;\nimport org.dynmap.MapType.ImageEncoding;\nimport org.dynmap.PlayerFaces;\nimport org.dynmap.storage.MapStorage;\nimport org.dynmap.storage.MapStorageTile;\nimport org.dynmap.storage.MapStorageTile.TileRead;\nimport org....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [50], "buggy_code_start_loc": [49], "filenames": ["DynmapCore/src/main/java/org/dynmap/servlet/MapStorageResourceHandler.java"], "fixing_code_end_loc": [54], "fixing_code_start_loc": [49], "message": "In Webbukkit Dynmap 3.0-beta-3 or below, due to a missing login check in servlet/MapStorageHandl...
249
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2015 Advanced Micro Devices, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, co...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
PreciseBugs
{"buggy_code_end_loc": [395], "buggy_code_start_loc": [192], "filenames": ["drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c"], "fixing_code_end_loc": [406], "fixing_code_start_loc": [192], "message": "** DISPUTED ** Four memory leaks in the acp_hw_init() function in drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c in the Linux kernel b...
250
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2015 Advanced Micro Devices, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, co...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [395], "buggy_code_start_loc": [192], "filenames": ["drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c"], "fixing_code_end_loc": [406], "fixing_code_start_loc": [192], "message": "** DISPUTED ** Four memory leaks in the acp_hw_init() function in drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c in the Linux kernel b...
250
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace MicroweberPackages\\Media;", "use Conner\\Tagging\\Model\\Tagged;\nuse \\Intervention\\Image\\ImageManagerStatic as Image;", "", "use MicroweberPackages\\Media\\Models\\Media;\nuse MicroweberPackages\\Media\\Models\\MediaThumbnail;\nuse MicroweberPackages\\Utils\\Media\\Thumbnailer;\nuse...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1202], "buggy_code_start_loc": [6], "filenames": ["src/MicroweberPackages/Media/MediaManager.php"], "fixing_code_end_loc": [1207], "fixing_code_start_loc": [7], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository microweber/microweber prior to 1.3.", "other": {"cve": {"cisaActio...
251
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace MicroweberPackages\\Media;", "use Conner\\Tagging\\Model\\Tagged;\nuse \\Intervention\\Image\\ImageManagerStatic as Image;", "use MicroweberPackages\\Helper\\HTMLClean;", "use MicroweberPackages\\Media\\Models\\Media;\nuse MicroweberPackages\\Media\\Models\\MediaThumbnail;\nuse Microwebe...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [1202], "buggy_code_start_loc": [6], "filenames": ["src/MicroweberPackages/Media/MediaManager.php"], "fixing_code_end_loc": [1207], "fixing_code_start_loc": [7], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository microweber/microweber prior to 1.3.", "other": {"cve": {"cisaActio...
251
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * mm/mmap.c\n *\n * Written by obz.\n *\n * Address space accounting code\t<alan@lxorguk.ukuu.org.uk>\n */", "#define pr_fmt(fmt) KBUILD_MODNAME \": \" fmt", "#include <linux/kernel.h>\n#include <linux/slab.h>\n#include <linux/backing-dev.h>\n#include <linux/mm.h>\n#include <linux/vmacache.h>\n#include <l...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [2435], "buggy_code_start_loc": [2429], "filenames": ["mm/mmap.c"], "fixing_code_end_loc": [2434], "fixing_code_start_loc": [2429], "message": "In the Linux kernel before 4.20.14, expand_downwards in mm/mmap.c lacks a check for the mmap minimum address, which makes it easier for attackers to expl...
252
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * mm/mmap.c\n *\n * Written by obz.\n *\n * Address space accounting code\t<alan@lxorguk.ukuu.org.uk>\n */", "#define pr_fmt(fmt) KBUILD_MODNAME \": \" fmt", "#include <linux/kernel.h>\n#include <linux/slab.h>\n#include <linux/backing-dev.h>\n#include <linux/mm.h>\n#include <linux/vmacache.h>\n#include <l...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [2435], "buggy_code_start_loc": [2429], "filenames": ["mm/mmap.c"], "fixing_code_end_loc": [2434], "fixing_code_start_loc": [2429], "message": "In the Linux kernel before 4.20.14, expand_downwards in mm/mmap.c lacks a check for the mmap minimum address, which makes it easier for attackers to expl...
252
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 0, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 0, 1, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "## ---------------------------------------------------------------------------\n## See the NOTICE file distributed with this work for additional\n## information regarding copyright ownership.\n##\n## This is free software; you can redistribute it and/or modify it\n## under the terms of the GNU Lesser General Publi...
[ 1, 1, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "## ---------------------------------------------------------------------------\n## See the NOTICE file distributed with this work for additional\n## information regarding copyright ownership.\n##\n## This is free software; you can redistribute it and/or modify it\n## under the terms of the GNU Lesser General Publi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [153, 58, 396, 90, 71, 432, 234, 914, 240, 67], "buggy_code_start_loc": [25, 23, 26, 26, 28, 24, 24, 84, 45, 45], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/DeletedDocument.java", "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwik...
253
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "class SessionsController < Devise::SessionsController\n prepend_before_action :check_recaptcha, only: [:create]\n before_action :set_recaptcha, only: [:new]", "", "\n def new\n super\n end", " def create\n super\n set_user_locale if user_signed_in?\n end", ...
[ 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59], "buggy_code_start_loc": [5], "filenames": ["app/controllers/sessions_controller.rb"], "fixing_code_end_loc": [64], "fixing_code_start_loc": [6], "message": "In Ifme, versions 1.0.0 to v.7.33.2 don\u2019t properly invalidate a user\u2019s session even after the user initiated logout. It make...
254
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "class SessionsController < Devise::SessionsController\n prepend_before_action :check_recaptcha, only: [:create]\n before_action :set_recaptcha, only: [:new]", " prepend_before_action :invalidate_all_sessions, only: [:destroy]", "\n def new\n super\n end", " def cre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59], "buggy_code_start_loc": [5], "filenames": ["app/controllers/sessions_controller.rb"], "fixing_code_end_loc": [64], "fixing_code_start_loc": [6], "message": "In Ifme, versions 1.0.0 to v.7.33.2 don\u2019t properly invalidate a user\u2019s session even after the user initiated logout. It make...
254
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Licensed to Jasig under one or more contributor license\n * agreements. See the NOTICE file distributed with this work\n * for additional information regarding copyright ownership.\n * Jasig licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file\n * ...
[ 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [143], "buggy_code_start_loc": [142], "filenames": ["DotNetCasClient/Utils/UrlUtil.cs"], "fixing_code_end_loc": [143], "fixing_code_start_loc": [142], "message": "A URL parameter injection vulnerability was found in the back-channel ticket validation step of the CAS protocol in Jasig Java CAS Cli...
255
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Licensed to Jasig under one or more contributor license\n * agreements. See the NOTICE file distributed with this work\n * for additional information regarding copyright ownership.\n * Jasig licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file\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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [143], "buggy_code_start_loc": [142], "filenames": ["DotNetCasClient/Utils/UrlUtil.cs"], "fixing_code_end_loc": [143], "fixing_code_start_loc": [142], "message": "A URL parameter injection vulnerability was found in the back-channel ticket validation step of the CAS protocol in Jasig Java CAS Cli...
255
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * Add a data array to the table, creating DOM node etc. This is the parallel to\n * _fnGatherData, but for adding rows from a Javascript source, rather than a\n * DOM source.\n * @param {object} oSettings dataTables settings object\n * @param {array} aData data array to be added\n * @param {node} [nTr] TR...
[ 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, 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...
PreciseBugs
{"buggy_code_end_loc": [361], "buggy_code_start_loc": [360], "filenames": ["js/core/core.data.js"], "fixing_code_end_loc": [361], "fixing_code_start_loc": [360], "message": "All versions of package datatables.net are vulnerable to Prototype Pollution due to an incomplete fix for https://snyk.io/vuln/SNYK-JS-DATATABLESN...
256
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * Add a data array to the table, creating DOM node etc. This is the parallel to\n * _fnGatherData, but for adding rows from a Javascript source, rather than a\n * DOM source.\n * @param {object} oSettings dataTables settings object\n * @param {array} aData data array to be added\n * @param {node} [nTr] TR...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [361], "buggy_code_start_loc": [360], "filenames": ["js/core/core.data.js"], "fixing_code_end_loc": [361], "fixing_code_start_loc": [360], "message": "All versions of package datatables.net are vulnerable to Prototype Pollution due to an incomplete fix for https://snyk.io/vuln/SNYK-JS-DATATABLESN...
256
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/env python\nfrom flask import Flask", "from flask import flash,request,send_file,send_from_directory,redirect,render_template, abort", "\nfrom werkzeug.utils import secure_filename\nfrom ipaddress import ip_address, ip_network\nimport urllib.request", "import os\nimport random", "import hooker", "...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [120], "buggy_code_start_loc": [3], "filenames": ["app.py"], "fixing_code_end_loc": [120], "fixing_code_start_loc": [3], "message": "The operatorequals/wormnest repository through 0.4.7 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.", "other": {"cv...
257
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/env python\nfrom flask import Flask", "from flask import flash,request,send_file,send_from_directory,redirect,render_template, abort, safe_join", "\nfrom werkzeug.utils import secure_filename\nfrom ipaddress import ip_address, ip_network\nimport urllib.request", "import os\nimport random", "import h...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [120], "buggy_code_start_loc": [3], "filenames": ["app.py"], "fixing_code_end_loc": [120], "fixing_code_start_loc": [3], "message": "The operatorequals/wormnest repository through 0.4.7 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.", "other": {"cv...
257
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2014 The Netty Project\n *\n * The Netty Project licenses this file to you under the Apache License, version 2.0 (the\n * \"License\"); you may not use this file except in compliance with the License. You may obtain a\n * copy of the License at:\n *\n * https://www.apache.org/licenses/LICENSE-2.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, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [398, 231], "buggy_code_start_loc": [355, 226], "filenames": ["codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java", "codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java"], "fixing_code_end_loc": [401, 274], "fixing_code_start_loc":...
258
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2014 The Netty Project\n *\n * The Netty Project licenses this file to you under the Apache License, version 2.0 (the\n * \"License\"); you may not use this file except in compliance with the License. You may obtain a\n * copy of the License at:\n *\n * https://www.apache.org/licenses/LICENSE-2.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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [398, 231], "buggy_code_start_loc": [355, 226], "filenames": ["codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java", "codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java"], "fixing_code_end_loc": [401, 274], "fixing_code_start_loc":...
258
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2016 The Netty Project\n *\n * The Netty Project licenses this file to you under the Apache License, version 2.0 (the\n * \"License\"); you may not use this file except in compliance with the License. You may obtain a\n * copy of the License at:\n *\n * https://www.apache.org/licenses/LICENSE-2.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, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [398, 231], "buggy_code_start_loc": [355, 226], "filenames": ["codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java", "codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java"], "fixing_code_end_loc": [401, 274], "fixing_code_start_loc":...
258
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2016 The Netty Project\n *\n * The Netty Project licenses this file to you under the Apache License, version 2.0 (the\n * \"License\"); you may not use this file except in compliance with the License. You may obtain a\n * copy of the License at:\n *\n * https://www.apache.org/licenses/LICENSE-2.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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [398, 231], "buggy_code_start_loc": [355, 226], "filenames": ["codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java", "codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java"], "fixing_code_end_loc": [401, 274], "fixing_code_start_loc":...
258
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.staff.php", " Everything about staff.", " Peter Rotich <peter@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.com", " Released under the GNU General Public License WITHOUT ANY WARRA...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.staff.php", " Everything about staff.", " Peter Rotich <peter@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.com", " Released under the GNU General Public License WITHOUT ANY WARRA...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.user.php", " External end-user identification for osTicket", " Peter Rotich <peter@osticket.com>\n Jared Hancock <jared@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.com", " Re...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.user.php", " External end-user identification for osTicket", " Peter Rotich <peter@osticket.com>\n Jared Hancock <jared@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.com", " Re...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.validator.php", " Input validation helper. This class contains collection of functions used for data validation.", " Peter Rotich <peter@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.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, 0, 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 ]
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.validator.php", " Input validation helper. This class contains collection of functions used for data validation.", " Peter Rotich <peter@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "require_once('client.inc.php');\nif(!defined('INCLUDE_DIR')) die('Fatal Error');\ndefine('CLIENTINC_DIR',INCLUDE_DIR.'client/');\ndefine('OSTCLIENTINC',TRUE); //make includes happy", "require_once(INCLUDE_DIR.'class.client.php');", "$inc = 'pwreset.request.php';\nif($_POST) {\n if (!$ost->checkCS...
[ 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "require_once('client.inc.php');\nif(!defined('INCLUDE_DIR')) die('Fatal Error');\ndefine('CLIENTINC_DIR',INCLUDE_DIR.'client/');\ndefine('OSTCLIENTINC',TRUE); //make includes happy", "require_once(INCLUDE_DIR.'class.client.php');", "$inc = 'pwreset.request.php';\nif($_POST) {\n if (!$ost->checkCS...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n pwreset.php", " Handles step 2, 3 and 5 of password resetting\n 1. Fail to login (2+ fail login attempts)\n 2. Visit password reset form and enter username or email\n 3. Receive an email with a link and fol...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n pwreset.php", " Handles step 2, 3 and 5 of password resetting\n 1. Fail to login (2+ fail login attempts)\n 2. Visit password reset form and enter username or email\n 3. Receive an email with a link and fol...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [870, 1348, 224, 19, 76], "buggy_code_start_loc": [865, 1344, 223, 18, 42], "filenames": ["include/class.staff.php", "include/class.user.php", "include/class.validator.php", "pwreset.php", "scp/pwreset.php"], "fixing_code_end_loc": [870, 1348, 232, 21, 79], "fixing_code_start_loc": [865, 1344, 22...
259
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nBased on https://github.com/trevex/golem\nLicensed under the Apache License, Version 2.0\nhttp://www.apache.org/licenses/LICENSE-2.0.html\n*/\npackage main", "import (\n\t\"bytes\"\n\t\"encoding/gob\"\n\t_ \"expvar\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"log\"\n\t\"net/http\"\n\t\"runtime\"\n\t\"sync\"\n\t\"time\...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [41], "buggy_code_start_loc": [40], "filenames": ["main.go"], "fixing_code_end_loc": [39], "fixing_code_start_loc": [39], "message": "** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in destiny.gg chat. It has been rated as problematic. This issue affects the function websocket.Upgrader ...
260
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nBased on https://github.com/trevex/golem\nLicensed under the Apache License, Version 2.0\nhttp://www.apache.org/licenses/LICENSE-2.0.html\n*/\npackage main", "import (\n\t\"bytes\"\n\t\"encoding/gob\"\n\t_ \"expvar\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"log\"\n\t\"net/http\"\n\t\"runtime\"\n\t\"sync\"\n\t\"time\...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [41], "buggy_code_start_loc": [40], "filenames": ["main.go"], "fixing_code_end_loc": [39], "fixing_code_start_loc": [39], "message": "** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in destiny.gg chat. It has been rated as problematic. This issue affects the function websocket.Upgrader ...
260
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Digital Signature Service Protocol Project.\n * Copyright (C) 2013-2016 e-Contract.be BVBA.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License version\n * 3.0 as published by the Free Software Foundation.\n *\n * This software...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [136, 70], "buggy_code_start_loc": [49, 30], "filenames": ["dssp-client/src/main/java/be/e_contract/dssp/client/SignResponseVerifier.java", "dssp-client/src/main/java/be/e_contract/dssp/client/metadata/DigitalSignatureServiceMetadata.java"], "fixing_code_end_loc": [143, 82], "fixing_code_start_lo...
261
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Digital Signature Service Protocol Project.\n * Copyright (C) 2013-2016 e-Contract.be BVBA.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License version\n * 3.0 as published by the Free Software Foundation.\n *\n * This software...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [136, 70], "buggy_code_start_loc": [49, 30], "filenames": ["dssp-client/src/main/java/be/e_contract/dssp/client/SignResponseVerifier.java", "dssp-client/src/main/java/be/e_contract/dssp/client/metadata/DigitalSignatureServiceMetadata.java"], "fixing_code_end_loc": [143, 82], "fixing_code_start_lo...
261
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Digital Signature Service Protocol Project.\n * Copyright (C) 2016 e-Contract.be BVBA.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License version\n * 3.0 as published by the Free Software Foundation.\n *\n * This software is d...
[ 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [136, 70], "buggy_code_start_loc": [49, 30], "filenames": ["dssp-client/src/main/java/be/e_contract/dssp/client/SignResponseVerifier.java", "dssp-client/src/main/java/be/e_contract/dssp/client/metadata/DigitalSignatureServiceMetadata.java"], "fixing_code_end_loc": [143, 82], "fixing_code_start_lo...
261
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Digital Signature Service Protocol Project.\n * Copyright (C) 2016 e-Contract.be BVBA.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License version\n * 3.0 as published by the Free Software Foundation.\n *\n * This software is d...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [136, 70], "buggy_code_start_loc": [49, 30], "filenames": ["dssp-client/src/main/java/be/e_contract/dssp/client/SignResponseVerifier.java", "dssp-client/src/main/java/be/e_contract/dssp/client/metadata/DigitalSignatureServiceMetadata.java"], "fixing_code_end_loc": [143, 82], "fixing_code_start_lo...
261
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Implementation of the security services.\n *\n * Authors : Stephen Smalley, <sds@epoch.ncsc.mil>\n *\t James Morris <jmorris@redhat.com>\n *\n * Updated: Trusted Computer Solutions, Inc. <dgoeddel@trustedcs.com>\n *\n *\tSupport for enhanced MLS infrastructure.\n *\tSupport for context based audit filte...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [1234], "buggy_code_start_loc": [1234], "filenames": ["security/selinux/ss/services.c"], "fixing_code_end_loc": [1239], "fixing_code_start_loc": [1235], "message": "The security_context_to_sid_core function in security/selinux/ss/services.c in the Linux kernel before 3.13.4 allows local users to ...
262
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Implementation of the security services.\n *\n * Authors : Stephen Smalley, <sds@epoch.ncsc.mil>\n *\t James Morris <jmorris@redhat.com>\n *\n * Updated: Trusted Computer Solutions, Inc. <dgoeddel@trustedcs.com>\n *\n *\tSupport for enhanced MLS infrastructure.\n *\tSupport for context based audit filte...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [1234], "buggy_code_start_loc": [1234], "filenames": ["security/selinux/ss/services.c"], "fixing_code_end_loc": [1239], "fixing_code_start_loc": [1235], "message": "The security_context_to_sid_core function in security/selinux/ss/services.c in the Linux kernel before 3.13.4 allows local users to ...
262
Determine whether the {function_name} code is vulnerable or not.
[ "( function( $ ) {\n\t'use strict';", "\tconst UserProfile = function( args ) {\n\t\tthis.view = new UserProfile.View( {\n\t\t\tmodel: new UserProfile.Model( args ),\n\t\t} );\n\t};", "\tUserProfile.View = Backbone.View.extend( {\n\t\tevents: {\n\t\t\t'click #lp-remove-upload-photo': '_removePhoto',\n\t\t\t'cli...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 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 ]
PreciseBugs
{"buggy_code_end_loc": [61, 1262, 233, 1156], "buggy_code_start_loc": [27, 1198, 14, 1081], "filenames": ["assets/src/js/frontend/profile.js", "inc/admin/class-lp-admin-ajax.php", "inc/class-lp-ajax.php", "inc/user/lp-user-functions.php"], "fixing_code_end_loc": [71, 1364, 200, 1152], "fixing_code_start_loc": [27, 1199...
263
Determine whether the {function_name} code is vulnerable or not.
[ "( function( $ ) {\n\t'use strict';", "\tconst UserProfile = function( args ) {\n\t\tthis.view = new UserProfile.View( {\n\t\t\tmodel: new UserProfile.Model( args ),\n\t\t} );\n\t};", "\tUserProfile.View = Backbone.View.extend( {\n\t\tevents: {\n\t\t\t'click #lp-remove-upload-photo': '_removePhoto',\n\t\t\t'cli...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [61, 1262, 233, 1156], "buggy_code_start_loc": [27, 1198, 14, 1081], "filenames": ["assets/src/js/frontend/profile.js", "inc/admin/class-lp-admin-ajax.php", "inc/class-lp-ajax.php", "inc/user/lp-user-functions.php"], "fixing_code_end_loc": [71, 1364, 200, 1152], "fixing_code_start_loc": [27, 1199...
263
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Class LP_Admin_Ajax\n *\n * @author ThimPress\n * @package LearnPress/Classes\n * @version 3.0.0\n */", "/**\n * Prevent loading this file directly\n */\ndefined( 'ABSPATH' ) || exit();", "if ( ! class_exists( 'LP_Admin_Ajax' ) ) {", "\t/**\n\t * Class LP_Admin_Ajax\n\t */\n\tclass LP_Adm...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [61, 1262, 233, 1156], "buggy_code_start_loc": [27, 1198, 14, 1081], "filenames": ["assets/src/js/frontend/profile.js", "inc/admin/class-lp-admin-ajax.php", "inc/class-lp-ajax.php", "inc/user/lp-user-functions.php"], "fixing_code_end_loc": [71, 1364, 200, 1152], "fixing_code_start_loc": [27, 1199...
263
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Class LP_Admin_Ajax\n *\n * @author ThimPress\n * @package LearnPress/Classes\n * @version 3.0.0\n */", "/**\n * Prevent loading this file directly\n */\ndefined( 'ABSPATH' ) || exit();", "if ( ! class_exists( 'LP_Admin_Ajax' ) ) {", "\t/**\n\t * Class LP_Admin_Ajax\n\t */\n\tclass LP_Adm...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [61, 1262, 233, 1156], "buggy_code_start_loc": [27, 1198, 14, 1081], "filenames": ["assets/src/js/frontend/profile.js", "inc/admin/class-lp-admin-ajax.php", "inc/class-lp-ajax.php", "inc/user/lp-user-functions.php"], "fixing_code_end_loc": [71, 1364, 200, 1152], "fixing_code_start_loc": [27, 1199...
263
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ndefined( 'ABSPATH' ) || exit;", "if ( ! class_exists( 'LP_AJAX' ) ) {\n\tclass LP_AJAX {\n\t\t/**\n\t\t * Init common ajax events\n\t\t */\n\t\tpublic static function init() {\n\t\t\t$ajax_events = array(\n\t\t\t\t'checkout-user-email-exists:nopriv',\n\t\t\t\t'recover-order',\n\t\t\t\t'request-become-a-te...
[ 1, 1, 0, 1, 0, 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, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [61, 1262, 233, 1156], "buggy_code_start_loc": [27, 1198, 14, 1081], "filenames": ["assets/src/js/frontend/profile.js", "inc/admin/class-lp-admin-ajax.php", "inc/class-lp-ajax.php", "inc/user/lp-user-functions.php"], "fixing_code_end_loc": [71, 1364, 200, 1152], "fixing_code_start_loc": [27, 1199...
263
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ndefined( 'ABSPATH' ) || exit;", "if ( ! class_exists( 'LP_AJAX' ) ) {\n\tclass LP_AJAX {\n\t\t/**\n\t\t * Init common ajax events\n\t\t */\n\t\tpublic static function init() {\n\t\t\t$ajax_events = array(\n\t\t\t\t'checkout-user-email-exists:nopriv',\n\t\t\t\t'recover-order',\n\t\t\t\t'request-become-a-te...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [61, 1262, 233, 1156], "buggy_code_start_loc": [27, 1198, 14, 1081], "filenames": ["assets/src/js/frontend/profile.js", "inc/admin/class-lp-admin-ajax.php", "inc/class-lp-ajax.php", "inc/user/lp-user-functions.php"], "fixing_code_end_loc": [71, 1364, 200, 1152], "fixing_code_start_loc": [27, 1199...
263
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Common functions to process actions about user\n *\n * @author ThimPress\n * @package LearnPress/Functions/User\n * @version 1.0\n */", "function learn_press_get_user_profile_tabs() {\n\treturn LP_Profile::instance()->get_tabs();\n}", "/**\n * Delete user data by user ID\n *\n * @param int $use...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [61, 1262, 233, 1156], "buggy_code_start_loc": [27, 1198, 14, 1081], "filenames": ["assets/src/js/frontend/profile.js", "inc/admin/class-lp-admin-ajax.php", "inc/class-lp-ajax.php", "inc/user/lp-user-functions.php"], "fixing_code_end_loc": [71, 1364, 200, 1152], "fixing_code_start_loc": [27, 1199...
263
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Common functions to process actions about user\n *\n * @author ThimPress\n * @package LearnPress/Functions/User\n * @version 1.0\n */", "function learn_press_get_user_profile_tabs() {\n\treturn LP_Profile::instance()->get_tabs();\n}", "/**\n * Delete user data by user ID\n *\n * @param int $use...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [61, 1262, 233, 1156], "buggy_code_start_loc": [27, 1198, 14, 1081], "filenames": ["assets/src/js/frontend/profile.js", "inc/admin/class-lp-admin-ajax.php", "inc/class-lp-ajax.php", "inc/user/lp-user-functions.php"], "fixing_code_end_loc": [71, 1364, 200, 1152], "fixing_code_start_loc": [27, 1199...
263
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*if ($_SERVER['SERVER_ADDR'] == \"127.0.0.1\")\n $root = $_SERVER['DOCUMENT_ROOT'].\"/sigeprosi\";\n else\n $root = \"/home/ps6116-02/public_html/sigeprosi\";\n*/\n$root = $_SERVER['DOCUMENT_ROOT'].\"/sigeprosi\";\ninclude_once $root.\"/class/class.Usuario.php\";\...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*if ($_SERVER['SERVER_ADDR'] == \"127.0.0.1\")\n $root = $_SERVER['DOCUMENT_ROOT'].\"/sigeprosi\";\n else\n $root = \"/home/ps6116-02/public_html/sigeprosi\";\n*/\n$root = $_SERVER['DOCUMENT_ROOT'].\"/sigeprosi\";\ninclude_once $root.\"/class/class.Usuario.php\";\...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", "", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $sidx = $_GET['sidx'];\n if ($sidx == \"invid\")\n $sidx = \"nombre\";\n $sord = $_GET['sord'];\n require_once ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", " require_once \"../aspectos/Seguridad.php\";\n $seguridad = Seguridad::getInstance();\n $seguridad->escapeSQL($_GET);", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", "", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $sidx = $_GET['sidx'];\n if ($sidx == \"invid\")\n $sidx = \"nombre\";\n $sord = $_GET['sord'];\n require_once ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", " require_once \"../aspectos/Seguridad.php\";\n $seguridad = Seguridad::getInstance();\n $seguridad->escapeSQL($_GET);", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", "", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n $equipo = $_GET[\"equipo\"];\r\n $page = $_GET['page'];\r\n $limit = $_GET['rows'];\r\n $sidx = $_GET['sidx'];\r\n if ($sidx == \"invid\")\r\n $sidx = \"nombre...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", " require_once \"../aspectos/Seguridad.php\";\r\n $seguridad = Seguridad::getInstance();\r\n $seguridad->escapeSQL($_GET);\r", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n $equipo = $_GET[\"equipo\"];\r\n $page = $_...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", "", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n $page = $_GET['page'];\r\n $limit = $_GET['rows'];\r\n $sidx = $_GET['sidx'];\r\n if ($sidx == \"invid\")\r\n $sidx = \"correoUSB\";\r\n $sord = $_GET['sord'];...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", " require_once \"../aspectos/Seguridad.php\";\r\n $seguridad = Seguridad::getInstance();\r\n $seguridad->escapeSQL($_GET);\r", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n $page = $_GET['page'];\r\n $limit = $_GET['...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", "", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n $page = $_GET['page'];\r\n $limit = $_GET['rows'];\r\n $sidx = $_GET['sidx'];\r\n if ($sidx == \"invid\")\r\n $sidx = \"correoUSB\";\r\n $sord = $_GET['sord'];...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", " require_once \"../aspectos/Seguridad.php\";\r\n $seguridad = Seguridad::getInstance();\r\n $seguridad->escapeSQL($_GET);\r", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n $page = $_GET['page'];\r\n $limit = $_GET['...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", "", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $id = $_GET['id'];\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $sidx = $_GET['sidx'];\n if ($sidx == \"invid\")\n $sidx = \"nombre\";\n $sord = $_GET['so...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", " require_once \"../aspectos/Seguridad.php\";\n $seguridad = Seguridad::getInstance();\n $seguridad->escapeSQL($_GET);", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $id = $_GET['id'];\n $page = $_GET['page'];\n $limit...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", "", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $sidx = $_GET['sidx'];\n if ($sidx == \"invid\")\n $sidx = \"nombre\";\n $sord = $_GET['sord'];\n require_once ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", " require_once \"../aspectos/Seguridad.php\";\n $seguridad = Seguridad::getInstance();\n $seguridad->escapeSQL($_GET);", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", "", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $id = $_GET['id'];\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $sidx = $_GET['sidx'];\n if ($sidx == \"invid\")\n $sidx = \"nombre\";\n $sord = $_GET['so...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", " require_once \"../aspectos/Seguridad.php\";\n $seguridad = Seguridad::getInstance();\n $seguridad->escapeSQL($_GET);", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $id = $_GET['id'];\n $page = $_GET['page'];\n $limit...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", "", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $sidx = $_GET['sidx'];\n if ($sidx == \"invid\")\n $sidx = \"nro\";\n $sord = $_GET['sord'];\n require_once \"....
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", " require_once \"../aspectos/Seguridad.php\";\n $seguridad = Seguridad::getInstance();\n $seguridad->escapeSQL($_GET);", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", "", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $sidx = $_GET['sidx'];\n if ($sidx == \"invid\")\n $sidx = \"correoUSB\";\n $sord = $_GET['sord'];\n require_on...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP", " require_once \"../aspectos/Seguridad.php\";\n $seguridad = Seguridad::getInstance();\n $seguridad->escapeSQL($_GET);", " header(\"Content-type: text/xml;charset=utf-8\");\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\n $page = $_GET['page'];\n $limit = $_GET['rows'];\n $...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", "", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n\tinclude_once \"../class/class.fachadainterfaz.php\";\r\n\t$fachada = fachadaInterfaz::getInstance();\r\n $result = $fachada->buscarClientes($_GET['nombreProyecto']);\r\n $N =...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", " require_once \"../aspectos/Seguridad.php\";\r\n $seguridad = Seguridad::getInstance();\r\n $seguridad->escapeSQL($_GET);\r", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n\tinclude_once \"../class/class.fachadainterfaz.ph...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", "", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n $page = $_GET['page'];\r\n $limit = $_GET['rows'];\r\n $sidx = $_GET['sidx'];\r\n if ($sidx == \"invid\")\r\n $sidx = \"correoUSB\";\r\n $sord = $_GET['sord'];...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\r", " require_once \"../aspectos/Seguridad.php\";\r\n $seguridad = Seguridad::getInstance();\r\n $seguridad->escapeSQL($_GET);\r", " header(\"Content-type: text/xml;charset=utf-8\");\r\n echo \"<?xml version='1.0' encoding='utf-8' ?>\";\r\n $page = $_GET['page'];\r\n $limit = $_GET['...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 8, 8, 1, 2, 2, 3, 1, 10, 2, 3, 8, 3, 9, 2, 2, 10, 5, 2, 16, 10], "buggy_code_start_loc": [11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 8, 8, 1, 2, 1, 2, 1, 10, 2, 2, 8, 2, 9, 2, 2, 10, 4, 2, 16, 10], "filenames": ["acciones/IniciarSesion...
264