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.
[ "from collections import OrderedDict\nimport sys\nimport warnings", "from django.core.exceptions import SuspiciousOperation, ImproperlyConfigured\nfrom django.core.paginator import InvalidPage\nfrom django.core.urlresolvers import reverse\nfrom django.db import models\nfrom django.db.models.fields import FieldDoe...
[ 1, 1, 1, 0, 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 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "from collections import OrderedDict\nimport sys\nimport warnings", "from django.core.exceptions import SuspiciousOperation, ImproperlyConfigured\nfrom django.core.paginator import InvalidPage\nfrom django.core.urlresolvers import reverse\nfrom django.db import models\nfrom django.db.models.fields import FieldDoe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "=================\nDjango Exceptions\n=================", "\nDjango raises some Django specific exceptions as well as many standard\nPython exceptions.", "Django Core Exceptions\n======================", ".. module:: django.core.exceptions\n :synopsis: Django core exceptions", "Django core exception cla...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "=================\nDjango Exceptions\n=================", "\nDjango raises some Django specific exceptions as well as many standard\nPython exceptions.", "Django Core Exceptions\n======================", ".. module:: django.core.exceptions\n :synopsis: Django core exceptions", "Django core exception cla...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "===========================\nDjango 1.4.14 release notes\n===========================", "*Under development*", "Django 1.4.14 fixes several security issues in 1.4.13.", ":func:`~django.core.urlresolvers.reverse()` could generate URLs pointing to other hosts\n==================================================...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "===========================\nDjango 1.4.14 release notes\n===========================", "*Under development*", "Django 1.4.14 fixes several security issues in 1.4.13.", ":func:`~django.core.urlresolvers.reverse()` could generate URLs pointing to other hosts\n==================================================...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "==========================\nDjango 1.5.9 release notes\n==========================", "*Under development*", "Django 1.5.9 fixes several security issues in 1.5.8.", ":func:`~django.core.urlresolvers.reverse()` could generate URLs pointing to other hosts\n=======================================================...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "==========================\nDjango 1.5.9 release notes\n==========================", "*Under development*", "Django 1.5.9 fixes several security issues in 1.5.8.", ":func:`~django.core.urlresolvers.reverse()` could generate URLs pointing to other hosts\n=======================================================...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "==========================\nDjango 1.6.6 release notes\n==========================", "*Under development*", "Django 1.6.6 fixes several security issues and bugs in 1.6.5.", ":func:`~django.core.urlresolvers.reverse()` could generate URLs pointing to other hosts\n==============================================...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "==========================\nDjango 1.6.6 release notes\n==========================", "*Under development*", "Django 1.6.6 fixes several security issues and bugs in 1.6.5.", ":func:`~django.core.urlresolvers.reverse()` could generate URLs pointing to other hosts\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 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals", "import os\nimport re\nimport datetime\nimport unittest", "from django.conf import settings, global_settings\nfrom django.core import mail\nfrom django.core.checks import Error\nfrom django.core.files import temp as tempfile\nfrom django.core.e...
[ 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": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals", "import os\nimport re\nimport datetime\nimport unittest", "from django.conf import settings, global_settings\nfrom django.core import mail\nfrom django.core.checks import Error\nfrom django.core.files import temp as tempfile\nfrom django.core.e...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx...
657
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "require('../services/Requisitions');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict';", " const policyView = require('../../views/policy.html');\n const moveView = require('.....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "require('../services/Requisitions');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict';", " const policyView = require('../../views/policy.html');\n const moveView = require('.....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "require('../services/Requisitions');", "const RequisitionNode = require('../model/RequisitionNode');\nconst RequisitionMetaDataEntry = require('../model/RequisitionMetaDataEntry');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Gro...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "require('../services/Requisitions');", "const RequisitionNode = require('../model/RequisitionNode');\nconst RequisitionMetaDataEntry = require('../model/RequisitionMetaDataEntry');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Gro...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "require('../services/Requisitions');", "import Util from 'lib/util';\nconst QuickNode = require('../model/QuickNode');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict';", " const quickAddPanelBasicView = require('../...
[ 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "require('../services/Requisitions');", "import Util from 'lib/util';\nconst QuickNode = require('../model/QuickNode');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict';", " const quickAddPanelBasicView = require('../...
[ 1, 1, 1, 1, 1, 1, 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": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "const Requisition = require('../model/Requisition');", "require('../services/Requisitions');\nrequire('../services/Synchronize');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict'...
[ 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, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "const Requisition = require('../model/Requisition');", "require('../services/Requisitions');\nrequire('../services/Synchronize');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict'...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "require('../services/Requisitions');\nrequire('../services/Synchronize');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict';", " const quickAddNodeView = require('../../views/qui...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "require('../services/Requisitions');\nrequire('../services/Synchronize');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict';", " const quickAddNodeView = require('../../views/qui...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "require('./Requisitions');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict';", " angular.module('onms-requisitions')", " /**\n * @ngdoc service\n * @name SynchronizeService...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "const bootbox = require('bootbox');", "require('./Requisitions');", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "(function() {", " 'use strict';", " angular.module('onms-requisitions')", " /**\n * @ngdoc service\n * @name SynchronizeService...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "'use strict';", "const angular = require('angular-js');", "", "require('angular-mocks');\nrequire('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');", "var controllerFactory, scope...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "'use strict';", "const angular = require('angular-js');", "const _ = require('underscore-js');", "require('angular-mocks');\nrequire('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions')...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "/*global RequisitionNode:true */", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "'use strict';", "const angular = require('angular-js');", "", "require('angular-mocks');\nrequire('../../../../../src/main/assets/js/apps/onms-requisitions/requisition...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "/*global RequisitionNode:true */", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "'use strict';", "const angular = require('angular-js');", "const _ = require('underscore-js');", "require('angular-mocks');\nrequire('../../../../../src/main/assets/js...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "/*global Requisition:true */", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "'use strict';", "const angular = require('angular-js');", "", "require('angular-mocks');\nrequire('../../../../../src/main/assets/js/apps/onms-requisitions/requisitions');...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "/*global Requisition:true */", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "'use strict';", "const angular = require('angular-js');", "const _ = require('underscore-js');", "require('angular-mocks');\nrequire('../../../../../src/main/assets/js/app...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "/*global RequisitionsData:true */", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "'use strict';", "const angular = require('angular-js');", "", "require('angular-mocks');\nrequire('../../../../../src/main/assets/js/apps/onms-requisitions/requisitio...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "/*global RequisitionsData:true */", "/**\n* @author Alejandro Galue <agalue@opennms.org>\n* @copyright 2014 The OpenNMS Group, Inc.\n*/", "'use strict';", "const angular = require('angular-js');", "const _ = require('underscore-js');", "require('angular-mocks');\nrequire('../../../../../src/main/assets/j...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "<%@ attribute name=\"nodes\" type=\"java.util.List\" rtexprvalue=\"true\" required=\"true\" %>\n<%@ attribute name=\"snmpParm\" type=\"java.lang.String\" rtexprvalue=\"true\" required=\"true\" %>\n<%@ attribute name=\"isMaclikeSearch\" type=\"java.lang.Boolean\" rtexprvalue=\"true\" required=\"true\" %>", "<%@ ...
[ 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "<%@ attribute name=\"nodes\" type=\"java.util.List\" rtexprvalue=\"true\" required=\"true\" %>\n<%@ attribute name=\"snmpParm\" type=\"java.lang.String\" rtexprvalue=\"true\" required=\"true\" %>\n<%@ attribute name=\"isMaclikeSearch\" type=\"java.lang.Boolean\" rtexprvalue=\"true\" required=\"true\" %>", "<%@ ...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "<%--\n/*******************************************************************************\n * This file is part of OpenNMS(R).\n *\n * Copyright (C) 2002-2015 The OpenNMS Group, Inc.\n * OpenNMS(R) is Copyright (C) 1999-2015 The OpenNMS Group, Inc.\n *\n * OpenNMS(R) is a registered trademark of The OpenNMS Group, In...
[ 1, 1, 1, 1, 1, 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": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "<%--\n/*******************************************************************************\n * This file is part of OpenNMS(R).\n *\n * Copyright (C) 2002-2015 The OpenNMS Group, Inc.\n * OpenNMS(R) is Copyright (C) 1999-2015 The OpenNMS Group, Inc.\n *\n * OpenNMS(R) is a registered trademark of The OpenNMS Group, In...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [521, 517, 242, 299, 319, 57, 8, 10, 10, 10, 16, 315], "buggy_code_start_loc": [457, 329, 114, 203, 175, 49, 8, 10, 10, 10, 5, 314], "filenames": ["core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/controllers/ForeignSource.js", "core/web-assets/src/main/assets/js/apps/onms-re...
658
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 b...
[ 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [205, 1210, 256, 433], "buggy_code_start_loc": [204, 1209, 256, 39], "filenames": ["inc/calendar.class.php", "inc/commondbtm.class.php", "tests/functionnal/Calendar.php", "tests/functionnal/Computer.php"], "fixing_code_end_loc": [205, 1210, 271, 442], "fixing_code_start_loc": [204, 1209, 257, 40]...
659
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [205, 1210, 256, 433], "buggy_code_start_loc": [204, 1209, 256, 39], "filenames": ["inc/calendar.class.php", "inc/commondbtm.class.php", "tests/functionnal/Calendar.php", "tests/functionnal/Computer.php"], "fixing_code_end_loc": [205, 1210, 271, 442], "fixing_code_start_loc": [204, 1209, 257, 40]...
659
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [205, 1210, 256, 433], "buggy_code_start_loc": [204, 1209, 256, 39], "filenames": ["inc/calendar.class.php", "inc/commondbtm.class.php", "tests/functionnal/Calendar.php", "tests/functionnal/Computer.php"], "fixing_code_end_loc": [205, 1210, 271, 442], "fixing_code_start_loc": [204, 1209, 257, 40]...
659
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [205, 1210, 256, 433], "buggy_code_start_loc": [204, 1209, 256, 39], "filenames": ["inc/calendar.class.php", "inc/commondbtm.class.php", "tests/functionnal/Calendar.php", "tests/functionnal/Computer.php"], "fixing_code_end_loc": [205, 1210, 271, 442], "fixing_code_start_loc": [204, 1209, 257, 40]...
659
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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": [205, 1210, 256, 433], "buggy_code_start_loc": [204, 1209, 256, 39], "filenames": ["inc/calendar.class.php", "inc/commondbtm.class.php", "tests/functionnal/Calendar.php", "tests/functionnal/Computer.php"], "fixing_code_end_loc": [205, 1210, 271, 442], "fixing_code_start_loc": [204, 1209, 257, 40]...
659
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [205, 1210, 256, 433], "buggy_code_start_loc": [204, 1209, 256, 39], "filenames": ["inc/calendar.class.php", "inc/commondbtm.class.php", "tests/functionnal/Calendar.php", "tests/functionnal/Computer.php"], "fixing_code_end_loc": [205, 1210, 271, 442], "fixing_code_start_loc": [204, 1209, 257, 40]...
659
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 b...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [205, 1210, 256, 433], "buggy_code_start_loc": [204, 1209, 256, 39], "filenames": ["inc/calendar.class.php", "inc/commondbtm.class.php", "tests/functionnal/Calendar.php", "tests/functionnal/Computer.php"], "fixing_code_end_loc": [205, 1210, 271, 442], "fixing_code_start_loc": [204, 1209, 257, 40]...
659
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [205, 1210, 256, 433], "buggy_code_start_loc": [204, 1209, 256, 39], "filenames": ["inc/calendar.class.php", "inc/commondbtm.class.php", "tests/functionnal/Calendar.php", "tests/functionnal/Computer.php"], "fixing_code_end_loc": [205, 1210, 271, 442], "fixing_code_start_loc": [204, 1209, 257, 40]...
659
Determine whether the {function_name} code is vulnerable or not.
[ "def try_get_cached(domain, dict):\n import ast\n import json", " import requests", " title = dict[\"title\"]\n singer = dict[\"singer\"]\n album = dict[\"album\"]", " api = f\"http://{domain}:7873/Y2hlY2tfY2FjaGVkX2ZpbGVz\"\n headers = {\"Content-type\": \"application/json\", \"Accept...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [29], "buggy_code_start_loc": [26], "filenames": ["module/connect_to_server.py"], "fixing_code_end_loc": [31], "fixing_code_start_loc": [27], "message": "iTunesRPC-Remastered is a Discord Rich Presence for iTunes on Windows utility. In affected versions iTunesRPC-Remastered did not properly sanit...
660
Determine whether the {function_name} code is vulnerable or not.
[ "def try_get_cached(domain, dict):\n import ast\n import json", " import requests", " title = dict[\"title\"]\n singer = dict[\"singer\"]\n album = dict[\"album\"]", " api = f\"http://{domain}:7873/Y2hlY2tfY2FjaGVkX2ZpbGVz\"\n headers = {\"Content-type\": \"application/json\", \"Accept...
[ 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": [29], "buggy_code_start_loc": [26], "filenames": ["module/connect_to_server.py"], "fixing_code_end_loc": [31], "fixing_code_start_loc": [27], "message": "iTunesRPC-Remastered is a Discord Rich Presence for iTunes on Windows utility. In affected versions iTunesRPC-Remastered did not properly sanit...
660
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * DCCP connection tracking protocol helper\n *\n * Copyright (c) 2005, 2006, 2008 Patrick McHardy <kaber@trash.net>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\...
[ 1, 1, 1, 1, 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, 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": [581], "buggy_code_start_loc": [431], "filenames": ["net/netfilter/nf_conntrack_proto_dccp.c"], "fixing_code_end_loc": [581], "fixing_code_start_loc": [431], "message": "net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows...
661
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * DCCP connection tracking protocol helper\n *\n * Copyright (c) 2005, 2006, 2008 Patrick McHardy <kaber@trash.net>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [581], "buggy_code_start_loc": [431], "filenames": ["net/netfilter/nf_conntrack_proto_dccp.c"], "fixing_code_end_loc": [581], "fixing_code_start_loc": [431], "message": "net/netfilter/nf_conntrack_proto_dccp.c in the Linux kernel through 3.13.6 uses a DCCP header pointer incorrectly, which allows...
661
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "$DEFAULT_REDIRECT = \"https://someothersite.org\";", "$mysqli = new mysqli(\"127.0.0.1\", \"db_username\", \"db_password\", \"db_name\");", "if ($mysqli->connect_errno) {\n\tprintf(\"Connect failed: %s\\n\", $mysqli->connect_error);\n\texit();\n}", "if (isset($_SERVER[\"QUERY_STRING\"]) && ($_SERV...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [34], "buggy_code_start_loc": [33], "filenames": ["index.php"], "fixing_code_end_loc": [34], "fixing_code_start_loc": [33], "message": "A vulnerability was found in simple_php_link_shortener. It has been classified as critical. Affected is an unknown function of the file index.php. The manipulati...
662
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "$DEFAULT_REDIRECT = \"https://someothersite.org\";", "$mysqli = new mysqli(\"127.0.0.1\", \"db_username\", \"db_password\", \"db_name\");", "if ($mysqli->connect_errno) {\n\tprintf(\"Connect failed: %s\\n\", $mysqli->connect_error);\n\texit();\n}", "if (isset($_SERVER[\"QUERY_STRING\"]) && ($_SERV...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [34], "buggy_code_start_loc": [33], "filenames": ["index.php"], "fixing_code_end_loc": [34], "fixing_code_start_loc": [33], "message": "A vulnerability was found in simple_php_link_shortener. It has been classified as critical. Affected is an unknown function of the file index.php. The manipulati...
662
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\nfrom pysqlite2 import dbapi2 as sqlite3\nimport os.path", "class mod_fun(object):\n def __init__(self,parent,config):\n self.config = config\n self.parent = parent\n parent.register_callback(u'!snack', self.snack, 'Several small fuckups')\n for key in confi...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [110], "buggy_code_start_loc": [74], "filenames": ["mod_fun/__init__.py"], "fixing_code_end_loc": [110], "fixing_code_start_loc": [74], "message": "A vulnerability was found in DrAzraelTod pyChao and classified as critical. Affected by this issue is the function klauen/lesen of the file mod_fun/_...
663
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\nfrom pysqlite2 import dbapi2 as sqlite3\nimport os.path", "class mod_fun(object):\n def __init__(self,parent,config):\n self.config = config\n self.parent = parent\n parent.register_callback(u'!snack', self.snack, 'Several small fuckups')\n for key in confi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [110], "buggy_code_start_loc": [74], "filenames": ["mod_fun/__init__.py"], "fixing_code_end_loc": [110], "fixing_code_start_loc": [74], "message": "A vulnerability was found in DrAzraelTod pyChao and classified as critical. Affected by this issue is the function klauen/lesen of the file mod_fun/_...
663
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [4796], "buggy_code_start_loc": [4792], "filenames": ["coders/png.c"], "fixing_code_end_loc": [4797], "fixing_code_start_loc": [4791], "message": "In ImageMagick 7.0.5-7 Q16, a crafted file could trigger an assertion failure in the WriteBlob function in MagickCore/blob.c because of missing checks...
664
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [4796], "buggy_code_start_loc": [4792], "filenames": ["coders/png.c"], "fixing_code_end_loc": [4797], "fixing_code_start_loc": [4791], "message": "In ImageMagick 7.0.5-7 Q16, a crafted file could trigger an assertion failure in the WriteBlob function in MagickCore/blob.c because of missing checks...
664
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Edits a category.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/.\n *\n * @package phpMyFAQ\n * @author Thorsten Rinne <thorsten@phpmyf...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [96, 160], "buggy_code_start_loc": [21, 158], "filenames": ["phpmyfaq/admin/category.edit.php", "phpmyfaq/admin/category.main.php"], "fixing_code_end_loc": [98, 160], "fixing_code_start_loc": [22, 158], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior t...
665
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Edits a category.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/.\n *\n * @package phpMyFAQ\n * @author Thorsten Rinne <thorsten@phpmyf...
[ 1, 1, 1, 1, 1, 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": [96, 160], "buggy_code_start_loc": [21, 158], "filenames": ["phpmyfaq/admin/category.edit.php", "phpmyfaq/admin/category.main.php"], "fixing_code_end_loc": [98, 160], "fixing_code_start_loc": [22, 158], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior t...
665
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * List all categories in the admin section.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/.\n *\n * @package phpMyFAQ\n * @author Thorste...
[ 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": [96, 160], "buggy_code_start_loc": [21, 158], "filenames": ["phpmyfaq/admin/category.edit.php", "phpmyfaq/admin/category.main.php"], "fixing_code_end_loc": [98, 160], "fixing_code_start_loc": [22, 158], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior t...
665
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * List all categories in the admin section.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/.\n *\n * @package phpMyFAQ\n * @author Thorste...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [96, 160], "buggy_code_start_loc": [21, 158], "filenames": ["phpmyfaq/admin/category.edit.php", "phpmyfaq/admin/category.main.php"], "fixing_code_end_loc": [98, 160], "fixing_code_start_loc": [22, 158], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior t...
665
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * OpenKM, Open Document Management System (http://www.openkm.com)\n * Copyright (c) 2006-2017 Paco Avila & Josep Llort\n * <p>\n * No bytes were intentionally harmed during the development of this application.\n * <p>\n * This program is free software; you can redistribute it and/or modify\n * it under the ...
[ 1, 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, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [233], "buggy_code_start_loc": [33], "filenames": ["src/main/java/com/openkm/util/FileUtils.java"], "fixing_code_end_loc": [228], "fixing_code_start_loc": [34], "message": "A vulnerability was found in OpenKM up to 6.3.11 and classified as problematic. Affected by this issue is the function getFi...
666
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * OpenKM, Open Document Management System (http://www.openkm.com)\n * Copyright (c) 2006-2017 Paco Avila & Josep Llort\n * <p>\n * No bytes were intentionally harmed during the development of this application.\n * <p>\n * This program is free software; you can redistribute it and/or modify\n * it under the ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [233], "buggy_code_start_loc": [33], "filenames": ["src/main/java/com/openkm/util/FileUtils.java"], "fixing_code_end_loc": [228], "fixing_code_start_loc": [34], "message": "A vulnerability was found in OpenKM up to 6.3.11 and classified as problematic. Affected by this issue is the function getFi...
666
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * SPDX-License-Identifier: ISC\n * SPDX-URL: https://spdx.org/licenses/ISC.html\n *\n * Copyright (C) 2006 Atheme Project (http://atheme.org/)\n * Copyright (C) 2019 Atheme Development Group (https://atheme.github.io/)\n *\n * Data structures and macros for SASL mechanisms.\n */", "#ifndef ATHEME_INC_SASL_H...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [64, 639], "buggy_code_start_loc": [64, 388], "filenames": ["include/atheme/sasl.h", "modules/saslserv/main.c"], "fixing_code_end_loc": [66, 642], "fixing_code_start_loc": [65, 388], "message": "Atheme IRC Services before 7.2.12, when used in conjunction with InspIRCd, allows authentication bypas...
667
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * SPDX-License-Identifier: ISC\n * SPDX-URL: https://spdx.org/licenses/ISC.html\n *\n * Copyright (C) 2006 Atheme Project (http://atheme.org/)\n * Copyright (C) 2019 Atheme Development Group (https://atheme.github.io/)\n *\n * Data structures and macros for SASL mechanisms.\n */", "#ifndef ATHEME_INC_SASL_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 ]
PreciseBugs
{"buggy_code_end_loc": [64, 639], "buggy_code_start_loc": [64, 388], "filenames": ["include/atheme/sasl.h", "modules/saslserv/main.c"], "fixing_code_end_loc": [66, 642], "fixing_code_start_loc": [65, 388], "message": "Atheme IRC Services before 7.2.12, when used in conjunction with InspIRCd, allows authentication bypas...
667
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * SPDX-License-Identifier: ISC\n * SPDX-URL: https://spdx.org/licenses/ISC.html\n *\n * Copyright (C) 2006-2015 Atheme Project (http://atheme.org/)\n * Copyright (C) 2017-2019 Atheme Development Group (https://atheme.github.io/)\n *\n * This file contains the main() routine.\n */", "#include <atheme.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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [64, 639], "buggy_code_start_loc": [64, 388], "filenames": ["include/atheme/sasl.h", "modules/saslserv/main.c"], "fixing_code_end_loc": [66, 642], "fixing_code_start_loc": [65, 388], "message": "Atheme IRC Services before 7.2.12, when used in conjunction with InspIRCd, allows authentication bypas...
667
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * SPDX-License-Identifier: ISC\n * SPDX-URL: https://spdx.org/licenses/ISC.html\n *\n * Copyright (C) 2006-2015 Atheme Project (http://atheme.org/)\n * Copyright (C) 2017-2019 Atheme Development Group (https://atheme.github.io/)\n *\n * This file contains the main() routine.\n */", "#include <atheme.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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [64, 639], "buggy_code_start_loc": [64, 388], "filenames": ["include/atheme/sasl.h", "modules/saslserv/main.c"], "fixing_code_end_loc": [66, 642], "fixing_code_start_loc": [65, 388], "message": "Atheme IRC Services before 7.2.12, when used in conjunction with InspIRCd, allows authentication bypas...
667
Determine whether the {function_name} code is vulnerable or not.
[ "# LUYA YII HELPERS", "All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).", "", "\n## 1.2.0 (15. June 2021)", "+ [#4](https://github.com/luyadev/yii-helpers/pull/4) Added option to define the delimiter in `StringHelper::tem...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 190, 143], "buggy_code_start_loc": [3, 182, 139], "filenames": ["CHANGELOG.md", "src/helpers/ExportHelper.php", "tests/helpers/ExportHelperTest.php"], "fixing_code_end_loc": [8, 211, 144], "fixing_code_start_loc": [4, 182, 140], "message": "Formula Injection/CSV Injection due to Improper Neut...
668
Determine whether the {function_name} code is vulnerable or not.
[ "# LUYA YII HELPERS", "All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).", "\n## 1.2.1 (21. April 2022)", "+ [#7](https://github.com/luyadev/yii-helpers/pull/7) Fixed security issue with csv injection for formulas and functi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 190, 143], "buggy_code_start_loc": [3, 182, 139], "filenames": ["CHANGELOG.md", "src/helpers/ExportHelper.php", "tests/helpers/ExportHelperTest.php"], "fixing_code_end_loc": [8, 211, 144], "fixing_code_start_loc": [4, 182, 140], "message": "Formula Injection/CSV Injection due to Improper Neut...
668
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace luya\\yii\\helpers;", "use luya\\Exception;\nuse yii\\base\\Model;\nuse yii\\db\\QueryInterface;", "/**\n * Exporting into Formats.\n *\n * @author Basil Suter <basil@nadar.io>\n * @since 1.0.0\n */\nclass ExportHelper\n{\n /**\n * Export an Array or QueryInterface instance into a C...
[ 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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 190, 143], "buggy_code_start_loc": [3, 182, 139], "filenames": ["CHANGELOG.md", "src/helpers/ExportHelper.php", "tests/helpers/ExportHelperTest.php"], "fixing_code_end_loc": [8, 211, 144], "fixing_code_start_loc": [4, 182, 140], "message": "Formula Injection/CSV Injection due to Improper Neut...
668
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace luya\\yii\\helpers;", "use luya\\Exception;\nuse yii\\base\\Model;\nuse yii\\db\\QueryInterface;", "/**\n * Exporting into Formats.\n *\n * @author Basil Suter <basil@nadar.io>\n * @since 1.0.0\n */\nclass ExportHelper\n{\n /**\n * Export an Array or QueryInterface instance into a 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 ]
PreciseBugs
{"buggy_code_end_loc": [3, 190, 143], "buggy_code_start_loc": [3, 182, 139], "filenames": ["CHANGELOG.md", "src/helpers/ExportHelper.php", "tests/helpers/ExportHelperTest.php"], "fixing_code_end_loc": [8, 211, 144], "fixing_code_start_loc": [4, 182, 140], "message": "Formula Injection/CSV Injection due to Improper Neut...
668
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace luya\\yii\\tests\\helpers;", "use Yii;\nuse luya\\yii\\helpers\\ExportHelper;\nuse luya\\yii\\tests\\HelpersTestCase;\nuse yii\\db\\ActiveRecord;", "class CsvModelStub extends ActiveRecord\n{\n public static function getDb()\n {\n return Yii::$app->sqllite;\n }", " pub...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 190, 143], "buggy_code_start_loc": [3, 182, 139], "filenames": ["CHANGELOG.md", "src/helpers/ExportHelper.php", "tests/helpers/ExportHelperTest.php"], "fixing_code_end_loc": [8, 211, 144], "fixing_code_start_loc": [4, 182, 140], "message": "Formula Injection/CSV Injection due to Improper Neut...
668
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace luya\\yii\\tests\\helpers;", "use Yii;\nuse luya\\yii\\helpers\\ExportHelper;\nuse luya\\yii\\tests\\HelpersTestCase;\nuse yii\\db\\ActiveRecord;", "class CsvModelStub extends ActiveRecord\n{\n public static function getDb()\n {\n return Yii::$app->sqllite;\n }", " pub...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 190, 143], "buggy_code_start_loc": [3, 182, 139], "filenames": ["CHANGELOG.md", "src/helpers/ExportHelper.php", "tests/helpers/ExportHelperTest.php"], "fixing_code_end_loc": [8, 211, 144], "fixing_code_start_loc": [4, 182, 140], "message": "Formula Injection/CSV Injection due to Improper Neut...
668
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * irc-ctcp.c - IRC CTCP protocol\n *\n * Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>\n *\n * This file is part of WeeChat, the extensible chat client.\n *\n * WeeChat is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as publi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [516], "buggy_code_start_loc": [515], "filenames": ["src/plugins/irc/irc-ctcp.c"], "fixing_code_end_loc": [516], "fixing_code_start_loc": [515], "message": "WeeChat before 1.7.1 allows a remote crash by sending a filename via DCC to the IRC plugin. This occurs in the irc_ctcp_dcc_filename_without...
669
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * irc-ctcp.c - IRC CTCP protocol\n *\n * Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>\n *\n * This file is part of WeeChat, the extensible chat client.\n *\n * WeeChat is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as publi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [516], "buggy_code_start_loc": [515], "filenames": ["src/plugins/irc/irc-ctcp.c"], "fixing_code_end_loc": [516], "fixing_code_start_loc": [515], "message": "WeeChat before 1.7.1 allows a remote crash by sending a filename via DCC to the IRC plugin. This occurs in the irc_ctcp_dcc_filename_without...
669
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/*\n * This file is part of the TYPO3 CMS project.\n *\n * It is free software; you can redistribute it and/or modify it under\n * the terms of the GNU General Public License, either version 2\n * of the License, or any later version.\n *\n * For the full copyright and lice...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [232], "buggy_code_start_loc": [31], "filenames": ["typo3/sysext/core/Classes/Controller/FileDumpController.php"], "fixing_code_end_loc": [251], "fixing_code_start_loc": [32], "message": "TYPO3 is an open source PHP based web content management system released under the GNU GPL. It has been disco...
670
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/*\n * This file is part of the TYPO3 CMS project.\n *\n * It is free software; you can redistribute it and/or modify it under\n * the terms of the GNU General Public License, either version 2\n * of the License, or any later version.\n *\n * For the full copyright and lice...
[ 1, 1, 1, 1, 1, 1, 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": [232], "buggy_code_start_loc": [31], "filenames": ["typo3/sysext/core/Classes/Controller/FileDumpController.php"], "fixing_code_end_loc": [251], "fixing_code_start_loc": [32], "message": "TYPO3 is an open source PHP based web content management system released under the GNU GPL. It has been disco...
670
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\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 / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [698], "buggy_code_start_loc": [697], "filenames": ["src/isomedia/isom_read.c"], "fixing_code_end_loc": [708], "fixing_code_start_loc": [697], "message": "Memory leak in the gf_isom_get_root_od function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.", "other": {"cve":...
671
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\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 / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [698], "buggy_code_start_loc": [697], "filenames": ["src/isomedia/isom_read.c"], "fixing_code_end_loc": [708], "fixing_code_start_loc": [697], "message": "Memory leak in the gf_isom_get_root_od function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.", "other": {"cve":...
671
Determine whether the {function_name} code is vulnerable or not.
[ "# Changelog\nAll notable changes to this project will be documented in this file.", "The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).", "## [Unreleased]", "### Added\n* Add pypy-3.8 to tes...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 181, 428], "buggy_code_start_loc": [15, 168, 16], "filenames": ["CHANGELOG.md", "b2sdk/account_info/sqlite_account_info.py", "test/unit/account_info/test_account_info.py"], "fixing_code_end_loc": [17, 184, 443], "fixing_code_start_loc": [16, 168, 17], "message": "b2-sdk-python is a python li...
672
Determine whether the {function_name} code is vulnerable or not.
[ "# Changelog\nAll notable changes to this project will be documented in this file.", "The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).", "## [Unreleased]", "### Added\n* Add pypy-3.8 to tes...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [15, 181, 428], "buggy_code_start_loc": [15, 168, 16], "filenames": ["CHANGELOG.md", "b2sdk/account_info/sqlite_account_info.py", "test/unit/account_info/test_account_info.py"], "fixing_code_end_loc": [17, 184, 443], "fixing_code_start_loc": [16, 168, 17], "message": "b2-sdk-python is a python li...
672
Determine whether the {function_name} code is vulnerable or not.
[ "######################################################################\n#\n# File: b2sdk/account_info/sqlite_account_info.py\n#\n# Copyright 2019 Backblaze Inc. All Rights Reserved.\n#\n# License https://www.backblaze.com/using_b2_code.html\n#\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, 0, 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, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 181, 428], "buggy_code_start_loc": [15, 168, 16], "filenames": ["CHANGELOG.md", "b2sdk/account_info/sqlite_account_info.py", "test/unit/account_info/test_account_info.py"], "fixing_code_end_loc": [17, 184, 443], "fixing_code_start_loc": [16, 168, 17], "message": "b2-sdk-python is a python li...
672
Determine whether the {function_name} code is vulnerable or not.
[ "######################################################################\n#\n# File: b2sdk/account_info/sqlite_account_info.py\n#\n# Copyright 2019 Backblaze Inc. All Rights Reserved.\n#\n# License https://www.backblaze.com/using_b2_code.html\n#\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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 181, 428], "buggy_code_start_loc": [15, 168, 16], "filenames": ["CHANGELOG.md", "b2sdk/account_info/sqlite_account_info.py", "test/unit/account_info/test_account_info.py"], "fixing_code_end_loc": [17, 184, 443], "fixing_code_start_loc": [16, 168, 17], "message": "b2-sdk-python is a python li...
672
Determine whether the {function_name} code is vulnerable or not.
[ "######################################################################\n#\n# File: test/unit/account_info/test_account_info.py\n#\n# Copyright 2021 Backblaze Inc. All Rights Reserved.\n#\n# License https://www.backblaze.com/using_b2_code.html\n#\n####################################################################...
[ 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, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 181, 428], "buggy_code_start_loc": [15, 168, 16], "filenames": ["CHANGELOG.md", "b2sdk/account_info/sqlite_account_info.py", "test/unit/account_info/test_account_info.py"], "fixing_code_end_loc": [17, 184, 443], "fixing_code_start_loc": [16, 168, 17], "message": "b2-sdk-python is a python li...
672
Determine whether the {function_name} code is vulnerable or not.
[ "######################################################################\n#\n# File: test/unit/account_info/test_account_info.py\n#\n# Copyright 2021 Backblaze Inc. All Rights Reserved.\n#\n# License https://www.backblaze.com/using_b2_code.html\n#\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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 181, 428], "buggy_code_start_loc": [15, 168, 16], "filenames": ["CHANGELOG.md", "b2sdk/account_info/sqlite_account_info.py", "test/unit/account_info/test_account_info.py"], "fixing_code_end_loc": [17, 184, 443], "fixing_code_start_loc": [16, 168, 17], "message": "b2-sdk-python is a python li...
672
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) Artem S. Povalyukhin\n * Copyright (C) NGINX, Inc.\n */", "\n#include <njs_main.h>", "\nstruct njs_value_iterator_s {\n njs_value_t target;\n int64_t next;\n njs_object_enum_t kind;\n};", "\ntypedef struct njs_value_iterator_s njs_array_iterator_t;", "\nsta...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [566, 5104], "buggy_code_start_loc": [563, 5104], "filenames": ["src/njs_iterator.c", "src/test/njs_unit_test.c"], "fixing_code_end_loc": [570, 5108], "fixing_code_start_loc": [563, 5105], "message": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_string_o...
673
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) Artem S. Povalyukhin\n * Copyright (C) NGINX, Inc.\n */", "\n#include <njs_main.h>", "\nstruct njs_value_iterator_s {\n njs_value_t target;\n int64_t next;\n njs_object_enum_t kind;\n};", "\ntypedef struct njs_value_iterator_s njs_array_iterator_t;", "\nsta...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [566, 5104], "buggy_code_start_loc": [563, 5104], "filenames": ["src/njs_iterator.c", "src/test/njs_unit_test.c"], "fixing_code_end_loc": [570, 5108], "fixing_code_start_loc": [563, 5105], "message": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_string_o...
673
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) Igor Sysoev\n * Copyright (C) NGINX, Inc.\n */", "\n#include <njs_main.h>", "#ifndef NJS_HAVE_PCRE2\n#include <pcre.h>\n#endif", "#include \"njs_externals_test.h\"", "\n#define NJS_HAVE_LARGE_STACK (!NJS_HAVE_ADDRESS_SANITIZER && !NJS_HAVE_MEMORY_SANITIZER)", "#ifdef NJS_HAVE_LITTLE_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [566, 5104], "buggy_code_start_loc": [563, 5104], "filenames": ["src/njs_iterator.c", "src/test/njs_unit_test.c"], "fixing_code_end_loc": [570, 5108], "fixing_code_start_loc": [563, 5105], "message": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_string_o...
673
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) Igor Sysoev\n * Copyright (C) NGINX, Inc.\n */", "\n#include <njs_main.h>", "#ifndef NJS_HAVE_PCRE2\n#include <pcre.h>\n#endif", "#include \"njs_externals_test.h\"", "\n#define NJS_HAVE_LARGE_STACK (!NJS_HAVE_ADDRESS_SANITIZER && !NJS_HAVE_MEMORY_SANITIZER)", "#ifdef NJS_HAVE_LITTLE_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [566, 5104], "buggy_code_start_loc": [563, 5104], "filenames": ["src/njs_iterator.c", "src/test/njs_unit_test.c"], "fixing_code_end_loc": [570, 5108], "fixing_code_start_loc": [563, 5105], "message": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_string_o...
673
Determine whether the {function_name} code is vulnerable or not.
[ "", "2016-12-03 Even Rouault <even.rouault at spatialys.com>", "\t* libtiff/tif_pixarlog.c, libtiff/tif_luv.c: fix heap-based buffer\n\toverflow on generation of PixarLog / LUV compressed files, with\n\tColorMap, TransferFunction attached and nasty plays with bitspersample.\n\tThe fix for LUV has not been teste...
[ 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...
PreciseBugs
{"buggy_code_end_loc": [0, 5577, 74], "buggy_code_start_loc": [0, 5505, 65], "filenames": ["ChangeLog", "libtiff/tif_dirread.c", "libtiff/tif_strip.c"], "fixing_code_end_loc": [16, 5575, 64], "fixing_code_start_loc": [1, 5505, 64], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-bas...
674
Determine whether the {function_name} code is vulnerable or not.
[ "2016-12-03 Even Rouault <even.rouault at spatialys.com>", "\t* libtiff/tif_dirread.c: modify ChopUpSingleUncompressedStrip() to\n\tinstanciate compute ntrips as TIFFhowmany_32(td->td_imagelength, rowsperstrip),\n\tinstead of a logic based on the total size of data. Which is faulty is\n\tthe total size of data is...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [0, 5577, 74], "buggy_code_start_loc": [0, 5505, 65], "filenames": ["ChangeLog", "libtiff/tif_dirread.c", "libtiff/tif_strip.c"], "fixing_code_end_loc": [16, 5575, 64], "fixing_code_start_loc": [1, 5505, 64], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-bas...
674
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */", "/*\n * Copyright (c) 1988-1997 Sam Leffler\n * Copyright (c) 1991-1997 Silicon Graphics, Inc.\n *\n * Permission to use, copy, modify, distribute, and sell this software and\n * its documentation for any purpose is hereby granted without fee, provided\n * that (i) the above copyright notices and th...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [0, 5577, 74], "buggy_code_start_loc": [0, 5505, 65], "filenames": ["ChangeLog", "libtiff/tif_dirread.c", "libtiff/tif_strip.c"], "fixing_code_end_loc": [16, 5575, 64], "fixing_code_start_loc": [1, 5505, 64], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-bas...
674
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */", "/*\n * Copyright (c) 1988-1997 Sam Leffler\n * Copyright (c) 1991-1997 Silicon Graphics, Inc.\n *\n * Permission to use, copy, modify, distribute, and sell this software and\n * its documentation for any purpose is hereby granted without fee, provided\n * that (i) the above copyright notices and th...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [0, 5577, 74], "buggy_code_start_loc": [0, 5505, 65], "filenames": ["ChangeLog", "libtiff/tif_dirread.c", "libtiff/tif_strip.c"], "fixing_code_end_loc": [16, 5575, 64], "fixing_code_start_loc": [1, 5505, 64], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-bas...
674
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */", "/*\n * Copyright (c) 1991-1997 Sam Leffler\n * Copyright (c) 1991-1997 Silicon Graphics, Inc.\n *\n * Permission to use, copy, modify, distribute, and sell this software and \n * its documentation for any purpose is hereby granted without fee, provided\n * that (i) the above copyright notices and t...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [0, 5577, 74], "buggy_code_start_loc": [0, 5505, 65], "filenames": ["ChangeLog", "libtiff/tif_dirread.c", "libtiff/tif_strip.c"], "fixing_code_end_loc": [16, 5575, 64], "fixing_code_start_loc": [1, 5505, 64], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-bas...
674
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */", "/*\n * Copyright (c) 1991-1997 Sam Leffler\n * Copyright (c) 1991-1997 Silicon Graphics, Inc.\n *\n * Permission to use, copy, modify, distribute, and sell this software and \n * its documentation for any purpose is hereby granted without fee, provided\n * that (i) the above copyright notices and t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [0, 5577, 74], "buggy_code_start_loc": [0, 5505, 65], "filenames": ["ChangeLog", "libtiff/tif_dirread.c", "libtiff/tif_strip.c"], "fixing_code_end_loc": [16, 5575, 64], "fixing_code_start_loc": [1, 5505, 64], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-bas...
674
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [145], "buggy_code_start_loc": [117], "filenames": ["tensorflow/core/kernels/sparse_dense_binary_op_shared.cc"], "fixing_code_end_loc": [155], "fixing_code_start_loc": [117], "message": "TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation...
675
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 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": [145], "buggy_code_start_loc": [117], "filenames": ["tensorflow/core/kernels/sparse_dense_binary_op_shared.cc"], "fixing_code_end_loc": [155], "fixing_code_start_loc": [117], "message": "TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation...
675
Determine whether the {function_name} code is vulnerable or not.
[ "/* mqtt_client.c\n *\n * Copyright (C) 2006-2021 wolfSSL Inc.\n *\n * This file is part of wolfMQTT.\n *\n * wolfMQTT is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, o...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [911], "buggy_code_start_loc": [909], "filenames": ["src/mqtt_client.c"], "fixing_code_end_loc": [912], "fixing_code_start_loc": [909], "message": "wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow (4 bytes) in MqttDecode_Publish (called from MqttClient_DecodePacket and MqttClient_HandlePacke...
676
Determine whether the {function_name} code is vulnerable or not.
[ "/* mqtt_client.c\n *\n * Copyright (C) 2006-2021 wolfSSL Inc.\n *\n * This file is part of wolfMQTT.\n *\n * wolfMQTT is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, o...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [911], "buggy_code_start_loc": [909], "filenames": ["src/mqtt_client.c"], "fixing_code_end_loc": [912], "fixing_code_start_loc": [909], "message": "wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow (4 bytes) in MqttDecode_Publish (called from MqttClient_DecodePacket and MqttClient_HandlePacke...
676
Determine whether the {function_name} code is vulnerable or not.
[ "# Addressable 2.8.0", "", "- no longer replaces `+` with spaces in queries for non-http(s) schemes\n- fixed encoding ipv6 literals\n- the `:compacted` flag for `normalized_query` now dedupes parameters\n- fix broken `escape_component` alias\n- dropping support for Ruby 2.0 and 2.1\n- adding Ruby 3.0 compatibil...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [1], "buggy_code_start_loc": [1], "filenames": ["CHANGELOG.md"], "fixing_code_end_loc": [3], "fixing_code_start_loc": [2], "message": "Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. An uncontrolled resource consumption vulnerability...
677
Determine whether the {function_name} code is vulnerable or not.
[ "# Addressable 2.8.0", "- fixes ReDoS vulnerability in Addressable::Template#match", "- no longer replaces `+` with spaces in queries for non-http(s) schemes\n- fixed encoding ipv6 literals\n- the `:compacted` flag for `normalized_query` now dedupes parameters\n- fix broken `escape_component` alias\n- dropping ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1], "buggy_code_start_loc": [1], "filenames": ["CHANGELOG.md"], "fixing_code_end_loc": [3], "fixing_code_start_loc": [2], "message": "Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. An uncontrolled resource consumption vulnerability...
677
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- C++ -*-\n * Copyright 2019-2020 LibRaw LLC (info@libraw.org)\n *\n LibRaw is free software; you can redistribute it and/or modify\n it under the terms of the one of two licenses as you choose:", "1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1\n (See file LICENSE.LGPL provided in LibRaw distribution ar...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2057], "buggy_code_start_loc": [1801], "filenames": ["src/metadata/sony.cpp"], "fixing_code_end_loc": [2091], "fixing_code_start_loc": [1802], "message": "In LibRaw, there is an out-of-bounds read vulnerability within the \"LibRaw::parseSonySRF()\" function (libraw\\src\\metadata\\sony.cpp) when...
678
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- C++ -*-\n * Copyright 2019-2020 LibRaw LLC (info@libraw.org)\n *\n LibRaw is free software; you can redistribute it and/or modify\n it under the terms of the one of two licenses as you choose:", "1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1\n (See file LICENSE.LGPL provided in LibRaw distribution ar...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2057], "buggy_code_start_loc": [1801], "filenames": ["src/metadata/sony.cpp"], "fixing_code_end_loc": [2091], "fixing_code_start_loc": [1802], "message": "In LibRaw, there is an out-of-bounds read vulnerability within the \"LibRaw::parseSonySRF()\" function (libraw\\src\\metadata\\sony.cpp) when...
678