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.
[ "<?php\n\tglobal $pmpro_reports;\n\t\n\trequire_once(dirname(__FILE__) . \"/admin_header.php\");\n\t\n\t//default view, report widgets\n\tif(empty($_REQUEST['report']))\n\t{\t\t\t\t\n\t\t//wrapper\n\t\t?>\n\t\t<div id=\"dashboard-widgets-wrap\">\n\t\t\t<div id=\"dashboard-widgets\" class=\"metabox-holder pmpro_repo...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [307, 180, 575, 18, 252, 58, 780, 58, 102], "buggy_code_start_loc": [230, 12, 17, 12, 11, 12, 11, 57, 102], "filenames": ["adminpages/advancedsettings.php", "adminpages/discountcodes.php", "adminpages/membershiplevels.php", "adminpages/memberslist-csv.php", "adminpages/memberslist.php", "adminpag...
1,520
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n\tglobal $pmpro_reports;\n\t\n\trequire_once(dirname(__FILE__) . \"/admin_header.php\");\n\t\n\t//default view, report widgets\n\tif(empty($_REQUEST['report']))\n\t{\t\t\t\t\n\t\t//wrapper\n\t\t?>\n\t\t<div id=\"dashboard-widgets-wrap\">\n\t\t\t<div id=\"dashboard-widgets\" class=\"metabox-holder pmpro_repo...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [307, 180, 575, 18, 252, 58, 780, 58, 102], "buggy_code_start_loc": [230, 12, 17, 12, 11, 12, 11, 57, 102], "filenames": ["adminpages/advancedsettings.php", "adminpages/discountcodes.php", "adminpages/membershiplevels.php", "adminpages/memberslist-csv.php", "adminpages/memberslist.php", "adminpag...
1,520
Determine whether the {function_name} code is vulnerable or not.
[ "=== Paid Memberships Pro ===\r\nContributors: strangerstudios\r\nTags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow\r\nRequires at least: 3.5\r\nTested up to: 4.2.2\r\nStable tag: 1.8.4.2\r\n\r\nThe easiest way to GET PAID ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [307, 180, 575, 18, 252, 58, 780, 58, 102], "buggy_code_start_loc": [230, 12, 17, 12, 11, 12, 11, 57, 102], "filenames": ["adminpages/advancedsettings.php", "adminpages/discountcodes.php", "adminpages/membershiplevels.php", "adminpages/memberslist-csv.php", "adminpages/memberslist.php", "adminpag...
1,520
Determine whether the {function_name} code is vulnerable or not.
[ "=== Paid Memberships Pro ===\r\nContributors: strangerstudios\r\nTags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow\r\nRequires at least: 3.5\r\nTested up to: 4.2.2\r\nStable tag: 1.8.4.2\r\n\r\nThe easiest way to GET PAID ...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [307, 180, 575, 18, 252, 58, 780, 58, 102], "buggy_code_start_loc": [230, 12, 17, 12, 11, 12, 11, 57, 102], "filenames": ["adminpages/advancedsettings.php", "adminpages/discountcodes.php", "adminpages/membershiplevels.php", "adminpages/memberslist-csv.php", "adminpages/memberslist.php", "adminpag...
1,520
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- C++ -*-\n * File: libraw_const.h\n * Copyright 2008-2020 LibRaw LLC (info@libraw.org)\n * Created: Sat Mar 8 , 2008\n * LibRaw error codes\nLibRaw is free software; you can redistribute it and/or modify\nit under the terms of the one of two licenses as you choose:", "1. GNU LESSER GENERAL PUBLIC LICENSE ...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [23, 280, 33, 26], "buggy_code_start_loc": [22, 34, 33, 26], "filenames": ["libraw/libraw_const.h", "src/decoders/unpack_thumb.cpp", "src/postprocessing/mem_image.cpp", "src/utils/thumb_utils.cpp"], "fixing_code_end_loc": [31, 314, 48, 33], "fixing_code_start_loc": [23, 35, 34, 27], "message": "L...
1,521
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- C++ -*-\n * File: libraw_const.h\n * Copyright 2008-2020 LibRaw LLC (info@libraw.org)\n * Created: Sat Mar 8 , 2008\n * LibRaw error codes\nLibRaw is free software; you can redistribute it and/or modify\nit under the terms of the one of two licenses as you choose:", "1. GNU LESSER GENERAL PUBLIC LICENSE ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [23, 280, 33, 26], "buggy_code_start_loc": [22, 34, 33, 26], "filenames": ["libraw/libraw_const.h", "src/decoders/unpack_thumb.cpp", "src/postprocessing/mem_image.cpp", "src/utils/thumb_utils.cpp"], "fixing_code_end_loc": [31, 314, 48, 33], "fixing_code_start_loc": [23, 35, 34, 27], "message": "L...
1,521
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, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [23, 280, 33, 26], "buggy_code_start_loc": [22, 34, 33, 26], "filenames": ["libraw/libraw_const.h", "src/decoders/unpack_thumb.cpp", "src/postprocessing/mem_image.cpp", "src/utils/thumb_utils.cpp"], "fixing_code_end_loc": [31, 314, 48, 33], "fixing_code_start_loc": [23, 35, 34, 27], "message": "L...
1,521
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 ]
PreciseBugs
{"buggy_code_end_loc": [23, 280, 33, 26], "buggy_code_start_loc": [22, 34, 33, 26], "filenames": ["libraw/libraw_const.h", "src/decoders/unpack_thumb.cpp", "src/postprocessing/mem_image.cpp", "src/utils/thumb_utils.cpp"], "fixing_code_end_loc": [31, 314, 48, 33], "fixing_code_start_loc": [23, 35, 34, 27], "message": "L...
1,521
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, 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": [23, 280, 33, 26], "buggy_code_start_loc": [22, 34, 33, 26], "filenames": ["libraw/libraw_const.h", "src/decoders/unpack_thumb.cpp", "src/postprocessing/mem_image.cpp", "src/utils/thumb_utils.cpp"], "fixing_code_end_loc": [31, 314, 48, 33], "fixing_code_start_loc": [23, 35, 34, 27], "message": "L...
1,521
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 ]
PreciseBugs
{"buggy_code_end_loc": [23, 280, 33, 26], "buggy_code_start_loc": [22, 34, 33, 26], "filenames": ["libraw/libraw_const.h", "src/decoders/unpack_thumb.cpp", "src/postprocessing/mem_image.cpp", "src/utils/thumb_utils.cpp"], "fixing_code_end_loc": [31, 314, 48, 33], "fixing_code_start_loc": [23, 35, 34, 27], "message": "L...
1,521
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- C++ -*-\n * Copyright 2019-2020 LibRaw LLC (info@libraw.org)\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 distributio...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [23, 280, 33, 26], "buggy_code_start_loc": [22, 34, 33, 26], "filenames": ["libraw/libraw_const.h", "src/decoders/unpack_thumb.cpp", "src/postprocessing/mem_image.cpp", "src/utils/thumb_utils.cpp"], "fixing_code_end_loc": [31, 314, 48, 33], "fixing_code_start_loc": [23, 35, 34, 27], "message": "L...
1,521
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- C++ -*-\n * Copyright 2019-2020 LibRaw LLC (info@libraw.org)\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 distributio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [23, 280, 33, 26], "buggy_code_start_loc": [22, 34, 33, 26], "filenames": ["libraw/libraw_const.h", "src/decoders/unpack_thumb.cpp", "src/postprocessing/mem_image.cpp", "src/utils/thumb_utils.cpp"], "fixing_code_end_loc": [31, 314, 48, 33], "fixing_code_start_loc": [23, 35, 34, 27], "message": "L...
1,521
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "var grunt = require('../grunt');", "// Nodejs libs.\nvar fs = require('fs');\nvar path = require('path');", "// The module to be exported.\nvar file = module.exports = {};", "// External libs.\nfile.glob = require('glob');\nfile.minimatch = require('minimatch');\nfile.findup = require('fin...
[ 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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [451, 60, 895], "buggy_code_start_loc": [294, 45, 895], "filenames": ["lib/grunt/file.js", "package.json", "test/grunt/file_test.js"], "fixing_code_end_loc": [473, 60, 919], "fixing_code_start_loc": [295, 45, 896], "message": "Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2.", "o...
1,522
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "var grunt = require('../grunt');", "// Nodejs libs.\nvar fs = require('fs');\nvar path = require('path');", "// The module to be exported.\nvar file = module.exports = {};", "// External libs.\nfile.glob = require('glob');\nfile.minimatch = require('minimatch');\nfile.findup = require('fin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [451, 60, 895], "buggy_code_start_loc": [294, 45, 895], "filenames": ["lib/grunt/file.js", "package.json", "test/grunt/file_test.js"], "fixing_code_end_loc": [473, 60, 919], "fixing_code_start_loc": [295, 45, 896], "message": "Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2.", "o...
1,522
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"grunt\",\n \"description\": \"The JavaScript Task Runner\",\n \"version\": \"1.4.1\",\n \"author\": \"Grunt Development Team (https://gruntjs.com/development-team)\",\n \"homepage\": \"https://gruntjs.com/\",\n \"repository\": \"https://github.com/gruntjs/grunt.git\",\n \"license\": \"MIT\",...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [451, 60, 895], "buggy_code_start_loc": [294, 45, 895], "filenames": ["lib/grunt/file.js", "package.json", "test/grunt/file_test.js"], "fixing_code_end_loc": [473, 60, 919], "fixing_code_start_loc": [295, 45, 896], "message": "Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2.", "o...
1,522
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"grunt\",\n \"description\": \"The JavaScript Task Runner\",\n \"version\": \"1.4.1\",\n \"author\": \"Grunt Development Team (https://gruntjs.com/development-team)\",\n \"homepage\": \"https://gruntjs.com/\",\n \"repository\": \"https://github.com/gruntjs/grunt.git\",\n \"license\": \"MIT\",...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [451, 60, 895], "buggy_code_start_loc": [294, 45, 895], "filenames": ["lib/grunt/file.js", "package.json", "test/grunt/file_test.js"], "fixing_code_end_loc": [473, 60, 919], "fixing_code_start_loc": [295, 45, 896], "message": "Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2.", "o...
1,522
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "var grunt = require('../../lib/grunt');", "var fs = require('fs');\nvar path = require('path');", "var Tempfile = require('temporary/lib/file');\nvar Tempdir = require('temporary/lib/dir');", "var win32 = process.platform === 'win32';", "var tmpdir = new Tempdir();\ntry {\n fs.symlinkSy...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [451, 60, 895], "buggy_code_start_loc": [294, 45, 895], "filenames": ["lib/grunt/file.js", "package.json", "test/grunt/file_test.js"], "fixing_code_end_loc": [473, 60, 919], "fixing_code_start_loc": [295, 45, 896], "message": "Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2.", "o...
1,522
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "var grunt = require('../../lib/grunt');", "var fs = require('fs');\nvar path = require('path');", "var Tempfile = require('temporary/lib/file');\nvar Tempdir = require('temporary/lib/dir');", "var win32 = process.platform === 'win32';", "var tmpdir = new Tempdir();\ntry {\n fs.symlinkSy...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [451, 60, 895], "buggy_code_start_loc": [294, 45, 895], "filenames": ["lib/grunt/file.js", "package.json", "test/grunt/file_test.js"], "fixing_code_end_loc": [473, 60, 919], "fixing_code_start_loc": [295, 45, 896], "message": "Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2.", "o...
1,522
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2020 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [651], "buggy_code_start_loc": [651], "filenames": ["tensorflow/core/kernels/conv_grad_input_ops.h"], "fixing_code_end_loc": [657], "fixing_code_start_loc": [652], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a division by 0 in `tf.raw...
1,523
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2020 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [651], "buggy_code_start_loc": [651], "filenames": ["tensorflow/core/kernels/conv_grad_input_ops.h"], "fixing_code_end_loc": [657], "fixing_code_start_loc": [652], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a division by 0 in `tf.raw...
1,523
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": [1427, 898], "buggy_code_start_loc": [1426, 331], "filenames": ["MagickCore/quantum-import.c", "MagickCore/quantum.c"], "fixing_code_end_loc": [1427, 898], "fixing_code_start_loc": [1426, 332], "message": "The generic decoder in ImageMagick allows remote attackers to cause a denial of service (ou...
1,524
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": [1427, 898], "buggy_code_start_loc": [1426, 331], "filenames": ["MagickCore/quantum-import.c", "MagickCore/quantum.c"], "fixing_code_end_loc": [1427, 898], "fixing_code_start_loc": [1426, 332], "message": "The generic decoder in ImageMagick allows remote attackers to cause a denial of service (ou...
1,524
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1427, 898], "buggy_code_start_loc": [1426, 331], "filenames": ["MagickCore/quantum-import.c", "MagickCore/quantum.c"], "fixing_code_end_loc": [1427, 898], "fixing_code_start_loc": [1426, 332], "message": "The generic decoder in ImageMagick allows remote attackers to cause a denial of service (ou...
1,524
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 ]
PreciseBugs
{"buggy_code_end_loc": [1427, 898], "buggy_code_start_loc": [1426, 331], "filenames": ["MagickCore/quantum-import.c", "MagickCore/quantum.c"], "fixing_code_end_loc": [1427, 898], "fixing_code_start_loc": [1426, 332], "message": "The generic decoder in ImageMagick allows remote attackers to cause a denial of service (ou...
1,524
Determine whether the {function_name} code is vulnerable or not.
[ "\" Test various aspects of the Vim9 script language.", "source check.vim\nsource term_util.vim\nimport './vim9.vim' as v9\nsource screendump.vim\nsource shared.vim", "def Test_vim9script_feature()\n # example from the help, here the feature is always present\n var lines =<< trim END\n \" old style comme...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2097, 733, 1953], "buggy_code_start_loc": [2097, 733, 1168], "filenames": ["src/testdir/test_vim9_script.vim", "src/version.c", "src/vim9compile.c"], "fixing_code_end_loc": [2111, 736, 1960], "fixing_code_start_loc": [2098, 734, 1168], "message": "NULL Pointer Dereference in GitHub repository vi...
1,525
Determine whether the {function_name} code is vulnerable or not.
[ "\" Test various aspects of the Vim9 script language.", "source check.vim\nsource term_util.vim\nimport './vim9.vim' as v9\nsource screendump.vim\nsource shared.vim", "def Test_vim9script_feature()\n # example from the help, here the feature is always present\n var lines =<< trim END\n \" old style comme...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2097, 733, 1953], "buggy_code_start_loc": [2097, 733, 1168], "filenames": ["src/testdir/test_vim9_script.vim", "src/version.c", "src/vim9compile.c"], "fixing_code_end_loc": [2111, 736, 1960], "fixing_code_start_loc": [2098, 734, 1168], "message": "NULL Pointer Dereference in GitHub repository vi...
1,525
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "#include \"vim.h\"",...
[ 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, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2097, 733, 1953], "buggy_code_start_loc": [2097, 733, 1168], "filenames": ["src/testdir/test_vim9_script.vim", "src/version.c", "src/vim9compile.c"], "fixing_code_end_loc": [2111, 736, 1960], "fixing_code_start_loc": [2098, 734, 1168], "message": "NULL Pointer Dereference in GitHub repository vi...
1,525
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "#include \"vim.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 ]
PreciseBugs
{"buggy_code_end_loc": [2097, 733, 1953], "buggy_code_start_loc": [2097, 733, 1168], "filenames": ["src/testdir/test_vim9_script.vim", "src/version.c", "src/vim9compile.c"], "fixing_code_end_loc": [2111, 736, 1960], "fixing_code_start_loc": [2098, 734, 1168], "message": "NULL Pointer Dereference in GitHub repository vi...
1,525
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "/*\n * vim9compile.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, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2097, 733, 1953], "buggy_code_start_loc": [2097, 733, 1168], "filenames": ["src/testdir/test_vim9_script.vim", "src/version.c", "src/vim9compile.c"], "fixing_code_end_loc": [2111, 736, 1960], "fixing_code_start_loc": [2098, 734, 1168], "message": "NULL Pointer Dereference in GitHub repository vi...
1,525
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "/*\n * vim9compile.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, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2097, 733, 1953], "buggy_code_start_loc": [2097, 733, 1168], "filenames": ["src/testdir/test_vim9_script.vim", "src/version.c", "src/vim9compile.c"], "fixing_code_end_loc": [2111, 736, 1960], "fixing_code_start_loc": [2098, 734, 1168], "message": "NULL Pointer Dereference in GitHub repository vi...
1,525
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * arch/arm/kernel/sys_oabi-compat.c\n *\n * Compatibility wrappers for syscalls that are used from\n * old ABI user space binaries with an EABI kernel.\n *\n * Author:\tNicolas Pitre\n * Created:\tOct 7, 2005\n * Copyright:\tMontaVista Software, Inc.\n *\n * This program is free software; you can redis...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [245], "buggy_code_start_loc": [195], "filenames": ["arch/arm/kernel/sys_oabi-compat.c"], "fixing_code_end_loc": [246], "fixing_code_start_loc": [196], "message": "arch/arm/kernel/sys_oabi-compat.c in the Linux kernel before 4.4 allows local users to gain privileges via a crafted (1) F_OFD_GETLK,...
1,526
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * arch/arm/kernel/sys_oabi-compat.c\n *\n * Compatibility wrappers for syscalls that are used from\n * old ABI user space binaries with an EABI kernel.\n *\n * Author:\tNicolas Pitre\n * Created:\tOct 7, 2005\n * Copyright:\tMontaVista Software, Inc.\n *\n * This program is free software; you can redis...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [245], "buggy_code_start_loc": [195], "filenames": ["arch/arm/kernel/sys_oabi-compat.c"], "fixing_code_end_loc": [246], "fixing_code_start_loc": [196], "message": "arch/arm/kernel/sys_oabi-compat.c in the Linux kernel before 4.4 allows local users to gain privileges via a crafted (1) F_OFD_GETLK,...
1,526
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "defined('BASEPATH') OR exit('No direct script access allowed');", "/*\n |--------------------------------------------------------------------------\n | Base Site URL\n |--------------------------------------------------------------------------\n |\n | URL to your CodeIgniter root. Typically this ...
[ 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [418, 46], "buggy_code_start_loc": [361, 45], "filenames": ["application/config/config.php", "application/modules/admin/views/blog/blogpublish.php"], "fixing_code_end_loc": [418, 46], "fixing_code_start_loc": [361, 45], "message": "Ecommerce-CodeIgniter-Bootstrap before commit 56465f was discover...
1,527
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "defined('BASEPATH') OR exit('No direct script access allowed');", "/*\n |--------------------------------------------------------------------------\n | Base Site URL\n |--------------------------------------------------------------------------\n |\n | URL to your CodeIgniter root. Typically this ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [418, 46], "buggy_code_start_loc": [361, 45], "filenames": ["application/config/config.php", "application/modules/admin/views/blog/blogpublish.php"], "fixing_code_end_loc": [418, 46], "fixing_code_start_loc": [361, 45], "message": "Ecommerce-CodeIgniter-Bootstrap before commit 56465f was discover...
1,527
Determine whether the {function_name} code is vulnerable or not.
[ "<script src=\"<?= base_url('assets/ckeditor/ckeditor.js') ?>\"></script>\n<h1><img src=\"<?= base_url('assets/imgs/blogger.png') ?>\" class=\"header-img\" style=\"margin-top:-2px;\"> Publish post</h1>\n<hr>\n<div class=\"row\">\n <div class=\"col-sm-8 col-md-7\">\n <?php if (validation_errors()) { ?>\n ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [418, 46], "buggy_code_start_loc": [361, 45], "filenames": ["application/config/config.php", "application/modules/admin/views/blog/blogpublish.php"], "fixing_code_end_loc": [418, 46], "fixing_code_start_loc": [361, 45], "message": "Ecommerce-CodeIgniter-Bootstrap before commit 56465f was discover...
1,527
Determine whether the {function_name} code is vulnerable or not.
[ "<script src=\"<?= base_url('assets/ckeditor/ckeditor.js') ?>\"></script>\n<h1><img src=\"<?= base_url('assets/imgs/blogger.png') ?>\" class=\"header-img\" style=\"margin-top:-2px;\"> Publish post</h1>\n<hr>\n<div class=\"row\">\n <div class=\"col-sm-8 col-md-7\">\n <?php if (validation_errors()) { ?>\n ...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [418, 46], "buggy_code_start_loc": [361, 45], "filenames": ["application/config/config.php", "application/modules/admin/views/blog/blogpublish.php"], "fixing_code_end_loc": [418, 46], "fixing_code_start_loc": [361, 45], "message": "Ecommerce-CodeIgniter-Bootstrap before commit 56465f was discover...
1,527
Determine whether the {function_name} code is vulnerable or not.
[ "package configs", "", "\nconst (\n\t// EXT_COPYUP is a directive to copy up the contents of a directory when\n\t// a tmpfs is mounted over it.\n\tEXT_COPYUP = 1 << iota //nolint:golint // ignore \"don't use ALL_CAPS\" warning\n)", "type Mount struct {\n\t// Source path for the mount.\n\tSource string `json:\...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package configs", "\nimport \"golang.org/x/sys/unix\"", "\nconst (\n\t// EXT_COPYUP is a directive to copy up the contents of a directory when\n\t// a tmpfs is mounted over it.\n\tEXT_COPYUP = 1 << iota //nolint:golint // ignore \"don't use ALL_CAPS\" warning\n)", "type Mount struct {\n\t// Source path for t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"reflect\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"\n\t\"time\"", "\t\"github.com/checkpoint-restore/go-criu/v5\"\n\tc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"reflect\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"\n\t\"time\"", "\t\"github.com/checkpoint-restore/go-criu/v5\"\n\tc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"regexp\"\n\t\"runtime/debug\"\n\t\"strconv\"", "\tsecurejoin \"github.com/cyphar/filepath-securejoin\"\n\t\"github.com/moby/sys/mountinfo\"\n\t\"golang.org/x/sys/unix\"", "\t\"github.com/opencon...
[ 1, 1, 1, 1, 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, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"regexp\"\n\t\"runtime/debug\"\n\t\"strconv\"", "\tsecurejoin \"github.com/cyphar/filepath-securejoin\"\n\t\"github.com/moby/sys/mountinfo\"\n\t\"golang.org/x/sys/unix\"", "\t\"github.com/opencon...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"strings\"\n\t\"unsafe\"", "\t\"github.com/containerd/console\"\n\t\"github.com/opencontainers/runtime-spec/specs-go\"\n\t\"github.com/sirupsen/logrus\"\n\t\"github.co...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"strings\"\n\t\"unsafe\"", "\t\"github.com/containerd/console\"\n\t\"github.com/opencontainers/runtime-spec/specs-go\"\n\t\"github.com/sirupsen/logrus\"\n\t\"github.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": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"github.com/vishvananda/netlink/nl\"\n\t\"golang.org/x/sys/unix\"\n)", "// list of known message types we want to send to bootstrap program\n// The number is randomly chosen to not conflict with known netlink types\nconst (\n\tInitMsg uint16 = 62000\n\tCloneFlagsAt...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"github.com/vishvananda/netlink/nl\"\n\t\"golang.org/x/sys/unix\"\n)", "// list of known message types we want to send to bootstrap program\n// The number is randomly chosen to not conflict with known netlink types\nconst (\n\tInitMsg uint16 = 62000\n\tCloneFlagsAt...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "#define _GNU_SOURCE\n#include <endian.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <grp.h>", "", "#include <sched.h>\n#include <setjmp.h>\n#include <signal.h>\n#include <stdarg.h>\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <string...
[ 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "#define _GNU_SOURCE\n#include <endian.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <grp.h>", "#include <limits.h>", "#include <sched.h>\n#include <setjmp.h>\n#include <signal.h>\n#include <stdarg.h>\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.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": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"strings\"\n\t\"time\"", "\tsecurejoin \"github.com/cyphar/filepath-securejoin\"\n\t\"github.com/moby/sys/mountinfo\"\n\t\"github.com/mrunalp/fileuti...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0...
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"strings\"\n\t\"time\"", "\tsecurejoin \"github.com/cyphar/filepath-securejoin\"\n\t\"github.com/moby/sys/mountinfo\"\n\t\"github.com/mrunalp/fileuti...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"errors\"\n\t\"fmt\"\n\t\"os\"\n\t\"os/exec\"\n\t\"runtime\"\n\t\"strconv\"", "\t\"github.com/opencontainers/runtime-spec/specs-go\"\n\t\"github.com/opencontainers/selinux/go-selinux\"\n\t\"github.com/sirupsen/logrus\"\n\t\"golang.org/x/sys/unix\"", "\t\"github.com/openco...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "package libcontainer", "import (\n\t\"errors\"\n\t\"fmt\"\n\t\"os\"\n\t\"os/exec\"\n\t\"runtime\"\n\t\"strconv\"", "\t\"github.com/opencontainers/runtime-spec/specs-go\"\n\t\"github.com/opencontainers/selinux/go-selinux\"\n\t\"github.com/sirupsen/logrus\"\n\t\"golang.org/x/sys/unix\"", "\t\"github.com/openco...
[ 1, 1, 1, 1, 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": [39, 2134, 361, 102, 20, 1021, 1067, 93], "buggy_code_start_loc": [1, 523, 297, 79, 20, 6, 38, 28], "filenames": ["libcontainer/configs/mount.go", "libcontainer/container_linux.go", "libcontainer/factory_linux.go", "libcontainer/init_linux.go", "libcontainer/message_linux.go", "libcontainer/nsent...
1,528
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright The Helm Authors.\nLicensed 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 by applicable law or agreed to in writin...
[ 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": [63, 85, 199, 322], "buggy_code_start_loc": [62, 21, 22, 18], "filenames": ["cmd/helm/load_plugins.go", "cmd/helm/plugin_install.go", "pkg/plugin/plugin.go", "pkg/plugin/plugin_test.go"], "fixing_code_end_loc": [63, 86, 234, 372], "fixing_code_start_loc": [62, 22, 23, 19], "message": "In Helm bef...
1,529
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright The Helm Authors.\nLicensed 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 by applicable law or agreed to in writin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [63, 85, 199, 322], "buggy_code_start_loc": [62, 21, 22, 18], "filenames": ["cmd/helm/load_plugins.go", "cmd/helm/plugin_install.go", "pkg/plugin/plugin.go", "pkg/plugin/plugin_test.go"], "fixing_code_end_loc": [63, 86, 234, 372], "fixing_code_start_loc": [62, 22, 23, 19], "message": "In Helm bef...
1,529
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright The Helm Authors.\nLicensed 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 by applicable law or agreed to in writin...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [63, 85, 199, 322], "buggy_code_start_loc": [62, 21, 22, 18], "filenames": ["cmd/helm/load_plugins.go", "cmd/helm/plugin_install.go", "pkg/plugin/plugin.go", "pkg/plugin/plugin_test.go"], "fixing_code_end_loc": [63, 86, 234, 372], "fixing_code_start_loc": [62, 22, 23, 19], "message": "In Helm bef...
1,529
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright The Helm Authors.\nLicensed 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 by applicable law or agreed to in writin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [63, 85, 199, 322], "buggy_code_start_loc": [62, 21, 22, 18], "filenames": ["cmd/helm/load_plugins.go", "cmd/helm/plugin_install.go", "pkg/plugin/plugin.go", "pkg/plugin/plugin_test.go"], "fixing_code_end_loc": [63, 86, 234, 372], "fixing_code_start_loc": [62, 22, 23, 19], "message": "In Helm bef...
1,529
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright The Helm Authors.\nLicensed 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 by applicable law or agreed to in writin...
[ 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, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [63, 85, 199, 322], "buggy_code_start_loc": [62, 21, 22, 18], "filenames": ["cmd/helm/load_plugins.go", "cmd/helm/plugin_install.go", "pkg/plugin/plugin.go", "pkg/plugin/plugin_test.go"], "fixing_code_end_loc": [63, 86, 234, 372], "fixing_code_start_loc": [62, 22, 23, 19], "message": "In Helm bef...
1,529
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright The Helm Authors.\nLicensed 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 by applicable law or agreed to in writin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [63, 85, 199, 322], "buggy_code_start_loc": [62, 21, 22, 18], "filenames": ["cmd/helm/load_plugins.go", "cmd/helm/plugin_install.go", "pkg/plugin/plugin.go", "pkg/plugin/plugin_test.go"], "fixing_code_end_loc": [63, 86, 234, 372], "fixing_code_start_loc": [62, 22, 23, 19], "message": "In Helm bef...
1,529
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright The Helm Authors.\nLicensed 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 by applicable law or agreed to in writin...
[ 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, 0 ]
PreciseBugs
{"buggy_code_end_loc": [63, 85, 199, 322], "buggy_code_start_loc": [62, 21, 22, 18], "filenames": ["cmd/helm/load_plugins.go", "cmd/helm/plugin_install.go", "pkg/plugin/plugin.go", "pkg/plugin/plugin_test.go"], "fixing_code_end_loc": [63, 86, 234, 372], "fixing_code_start_loc": [62, 22, 23, 19], "message": "In Helm bef...
1,529
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright The Helm Authors.\nLicensed 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 by applicable law or agreed to in writin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [63, 85, 199, 322], "buggy_code_start_loc": [62, 21, 22, 18], "filenames": ["cmd/helm/load_plugins.go", "cmd/helm/plugin_install.go", "pkg/plugin/plugin.go", "pkg/plugin/plugin_test.go"], "fixing_code_end_loc": [63, 86, 234, 372], "fixing_code_start_loc": [62, 22, 23, 19], "message": "In Helm bef...
1,529
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * The main statistics page.\n *\n * PHP Version 5.5\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 * @category phpMyFAQ\n * @author ...
[ 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [84], "buggy_code_start_loc": [33], "filenames": ["phpmyfaq/admin/stat.main.php"], "fixing_code_end_loc": [92], "fixing_code_start_loc": [33], "message": "In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php.", "other": {"cve": {"cisaActionDue": null, "cisaE...
1,530
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * The main statistics page.\n *\n * PHP Version 5.5\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 * @category phpMyFAQ\n * @author ...
[ 1, 1, 1, 1, 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": [84], "buggy_code_start_loc": [33], "filenames": ["phpmyfaq/admin/stat.main.php"], "fixing_code_end_loc": [92], "fixing_code_start_loc": [33], "message": "In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php.", "other": {"cve": {"cisaActionDue": null, "cisaE...
1,530
Determine whether the {function_name} code is vulnerable or not.
[ "2016-08-15 6.9.5-8 Cristy <quetzlzacatenango@image...>\n * Prevent buffer overflow in BMP & SGI coders (bug report from\n\t pwchen&rayzhong of tencent).\n * Fix MSVG regression (reference\n https://github.com/ImageMagick/ImageMagick/issues/252).", "", "\n2016-08-14 6.9.5-7 Cristy <quetzlzacatenango@i...
[ 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, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
Determine whether the {function_name} code is vulnerable or not.
[ "2016-08-15 6.9.5-8 Cristy <quetzlzacatenango@image...>\n * Prevent buffer overflow in BMP & SGI coders (bug report from\n\t pwchen&rayzhong of tencent).\n * Fix MSVG regression (reference\n https://github.com/ImageMagick/ImageMagick/issues/252).", " * Prevent buffer overflow in SIXEL, PDB, MAP, and CALS...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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 ]
PreciseBugs
{"buggy_code_end_loc": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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 ]
PreciseBugs
{"buggy_code_end_loc": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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, 0, 1, 1, 1, 1, 0, 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, 0, 1, 0, 1, 0, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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": [5, 426, 848, 1302, 2506], "buggy_code_start_loc": [5, 410, 836, 262, 2503], "filenames": ["ChangeLog", "coders/map.c", "coders/pdb.c", "coders/sixel.c", "coders/tiff.c"], "fixing_code_end_loc": [8, 427, 850, 1302, 2505], "fixing_code_start_loc": [6, 410, 836, 262, 2504], "message": "Buffer overf...
1,531
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>", "\n#define njs_array_func(type) \\\n ((type << 1) | NJS_ARRAY_FUNC)", "\n#define njs_array_arg(type) \\\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, 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": [144, 13839], "buggy_code_start_loc": [144, 13839], "filenames": ["src/njs_array.c", "src/test/njs_unit_test.c"], "fixing_code_end_loc": [149, 13850], "fixing_code_start_loc": [145, 13840], "message": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_c...
1,532
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>", "\n#define njs_array_func(type) \\\n ((type << 1) | NJS_ARRAY_FUNC)", "\n#define njs_array_arg(type) \\\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": [144, 13839], "buggy_code_start_loc": [144, 13839], "filenames": ["src/njs_array.c", "src/test/njs_unit_test.c"], "fixing_code_end_loc": [149, 13850], "fixing_code_start_loc": [145, 13840], "message": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_c...
1,532
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": [144, 13839], "buggy_code_start_loc": [144, 13839], "filenames": ["src/njs_array.c", "src/test/njs_unit_test.c"], "fixing_code_end_loc": [149, 13850], "fixing_code_start_loc": [145, 13840], "message": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_c...
1,532
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": [144, 13839], "buggy_code_start_loc": [144, 13839], "filenames": ["src/njs_array.c", "src/test/njs_unit_test.c"], "fixing_code_end_loc": [149, 13850], "fixing_code_start_loc": [145, 13840], "message": "Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_c...
1,532
Determine whether the {function_name} code is vulnerable or not.
[ "#include <string.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <vector>\n#include <math.h>\n#include <fstream>\n#include <sstream>\n#include <iostream>\n#include <unistd.h>\n#include <errno.h>\n#include \"boinc/sched_msgs.h\"\n#include \"boinc/error_numbers.h\"\n#include \"boinc/boinc_db.h\"\n#include \"sc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59], "buggy_code_start_loc": [58], "filenames": ["validator/my_validator.cpp"], "fixing_code_end_loc": [60], "fixing_code_start_loc": [58], "message": "A vulnerability classified as critical was found in AenBleidd FiND. This vulnerability affects the function init_result of the file validator/my...
1,533
Determine whether the {function_name} code is vulnerable or not.
[ "#include <string.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <vector>\n#include <math.h>\n#include <fstream>\n#include <sstream>\n#include <iostream>\n#include <unistd.h>\n#include <errno.h>\n#include \"boinc/sched_msgs.h\"\n#include \"boinc/error_numbers.h\"\n#include \"boinc/boinc_db.h\"\n#include \"sc...
[ 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": [59], "buggy_code_start_loc": [58], "filenames": ["validator/my_validator.cpp"], "fixing_code_end_loc": [60], "fixing_code_start_loc": [58], "message": "A vulnerability classified as critical was found in AenBleidd FiND. This vulnerability affects the function init_result of the file validator/my...
1,533
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n* Filter the user views list for inactives\n*\t@params $views (string)\n*/\nif(!function_exists('simplr_views_users')):\n\tfunction simplr_views_users( $views ) {\n\t\t$class = (@$_GET['view_inactive'] == true) ? 'current':'';", "\t\t$views['view_inactive'] = '<a href=\"'.add_query_arg(array('vie...
[ 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 54, 5, 79], "buggy_code_start_loc": [10, 6, 4, 78], "filenames": ["lib/mod.php", "readme.txt", "simplr_reg_page.php", "views/fields.php"], "fixing_code_end_loc": [11, 58, 5, 79], "fixing_code_start_loc": [10, 6, 4, 78], "message": "A vulnerability was found in Simplr Registration Form Plus+ ...
1,534
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n* Filter the user views list for inactives\n*\t@params $views (string)\n*/\nif(!function_exists('simplr_views_users')):\n\tfunction simplr_views_users( $views ) {\n\t\t$class = (@$_GET['view_inactive'] == true) ? 'current':'';", "\t\t$views['view_inactive'] = '<a href=\"'.esc_url(add_query_arg(ar...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 54, 5, 79], "buggy_code_start_loc": [10, 6, 4, 78], "filenames": ["lib/mod.php", "readme.txt", "simplr_reg_page.php", "views/fields.php"], "fixing_code_end_loc": [11, 58, 5, 79], "fixing_code_start_loc": [10, 6, 4, 78], "message": "A vulnerability was found in Simplr Registration Form Plus+ ...
1,534
Determine whether the {function_name} code is vulnerable or not.
[ "=== Simplr Registration Form Plus+ ===\nContributors: mpvanwinkle77, mpol\nDonate link: http://www.mikevanwinkle.com/\nTags: registration, signup, profile, cms, users, user management, user profile\nRequires at least: 3.0", "Tested up to: 4.2\nStable tag: 2.3.4", "\nThis plugin allows users to easily add a cus...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 54, 5, 79], "buggy_code_start_loc": [10, 6, 4, 78], "filenames": ["lib/mod.php", "readme.txt", "simplr_reg_page.php", "views/fields.php"], "fixing_code_end_loc": [11, 58, 5, 79], "fixing_code_start_loc": [10, 6, 4, 78], "message": "A vulnerability was found in Simplr Registration Form Plus+ ...
1,534
Determine whether the {function_name} code is vulnerable or not.
[ "=== Simplr Registration Form Plus+ ===\nContributors: mpvanwinkle77, mpol\nDonate link: http://www.mikevanwinkle.com/\nTags: registration, signup, profile, cms, users, user management, user profile\nRequires at least: 3.0", "Tested up to: 4.2.1\nStable tag: 2.3.5", "\nThis plugin allows users to easily add 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [11, 54, 5, 79], "buggy_code_start_loc": [10, 6, 4, 78], "filenames": ["lib/mod.php", "readme.txt", "simplr_reg_page.php", "views/fields.php"], "fixing_code_end_loc": [11, 58, 5, 79], "fixing_code_start_loc": [10, 6, 4, 78], "message": "A vulnerability was found in Simplr Registration Form Plus+ ...
1,534
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\nPlugin Name: Simplr User Registration Form Plus", "Version: 2.3.4", "Description: This a simple plugin for adding a custom user registration form to any post or page using shortcode.\nAuthor: Mike Van Winkle\nAuthor URI: http://www.mikevanwinkle.com\nPlugin URI: http://www.mikevanwinkle.com/wordpres...
[ 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, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [11, 54, 5, 79], "buggy_code_start_loc": [10, 6, 4, 78], "filenames": ["lib/mod.php", "readme.txt", "simplr_reg_page.php", "views/fields.php"], "fixing_code_end_loc": [11, 58, 5, 79], "fixing_code_start_loc": [10, 6, 4, 78], "message": "A vulnerability was found in Simplr Registration Form Plus+ ...
1,534
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\nPlugin Name: Simplr User Registration Form Plus", "Version: 2.3.5", "Description: This a simple plugin for adding a custom user registration form to any post or page using shortcode.\nAuthor: Mike Van Winkle\nAuthor URI: http://www.mikevanwinkle.com\nPlugin URI: http://www.mikevanwinkle.com/wordpres...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [11, 54, 5, 79], "buggy_code_start_loc": [10, 6, 4, 78], "filenames": ["lib/mod.php", "readme.txt", "simplr_reg_page.php", "views/fields.php"], "fixing_code_end_loc": [11, 58, 5, 79], "fixing_code_start_loc": [10, 6, 4, 78], "message": "A vulnerability was found in Simplr Registration Form Plus+ ...
1,534
Determine whether the {function_name} code is vulnerable or not.
[ "<?php if(!isset($_GET['action']) || $_GET['action'] == 'delete') { ?>\n\t<div id=\"simplr-sub-nav\">\n\t\t<div class=\"add-field-button\">\n\t\t\t<a href=\"?page=simplr_reg_set&regview=fields&action=add\" class=\"button\"><?php _e('Add Field','simplr-reg'); ?></a>\n\t\t</div>\n\t</div>\n\t<?php $table = new SREG_F...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 54, 5, 79], "buggy_code_start_loc": [10, 6, 4, 78], "filenames": ["lib/mod.php", "readme.txt", "simplr_reg_page.php", "views/fields.php"], "fixing_code_end_loc": [11, 58, 5, 79], "fixing_code_start_loc": [10, 6, 4, 78], "message": "A vulnerability was found in Simplr Registration Form Plus+ ...
1,534
Determine whether the {function_name} code is vulnerable or not.
[ "<?php if(!isset($_GET['action']) || $_GET['action'] == 'delete') { ?>\n\t<div id=\"simplr-sub-nav\">\n\t\t<div class=\"add-field-button\">\n\t\t\t<a href=\"?page=simplr_reg_set&regview=fields&action=add\" class=\"button\"><?php _e('Add Field','simplr-reg'); ?></a>\n\t\t</div>\n\t</div>\n\t<?php $table = new SREG_F...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 54, 5, 79], "buggy_code_start_loc": [10, 6, 4, 78], "filenames": ["lib/mod.php", "readme.txt", "simplr_reg_page.php", "views/fields.php"], "fixing_code_end_loc": [11, 58, 5, 79], "fixing_code_start_loc": [10, 6, 4, 78], "message": "A vulnerability was found in Simplr Registration Form Plus+ ...
1,534
Determine whether the {function_name} code is vulnerable or not.
[ "# Joplin", "[![Donate](https://joplin.cozic.net/images/badges/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=E8JMYD2LQ8MMA&lc=GB&item_name=Joplin+Development&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) [![Donate with Bitcoin](https://joplin....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [254, 436, 580], "buggy_code_start_loc": [254, 392, 456], "filenames": ["README.md", "ReactNativeClient/lib/MdToHtml.js", "docs/index.html"], "fixing_code_end_loc": [259, 440, 582], "fixing_code_start_loc": [255, 392, 457], "message": "Joplin version prior to 1.0.90 contains a XSS evolving into c...
1,535
Determine whether the {function_name} code is vulnerable or not.
[ "# Joplin", "[![Donate](https://joplin.cozic.net/images/badges/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=E8JMYD2LQ8MMA&lc=GB&item_name=Joplin+Development&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) [![Donate with Bitcoin](https://joplin....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [254, 436, 580], "buggy_code_start_loc": [254, 392, 456], "filenames": ["README.md", "ReactNativeClient/lib/MdToHtml.js", "docs/index.html"], "fixing_code_end_loc": [259, 440, 582], "fixing_code_start_loc": [255, 392, 457], "message": "Joplin version prior to 1.0.90 contains a XSS evolving into c...
1,535
Determine whether the {function_name} code is vulnerable or not.
[ "const MarkdownIt = require('markdown-it');\nconst Entities = require('html-entities').AllHtmlEntities;\nconst htmlentities = (new Entities()).encode;\nconst Resource = require('lib/models/Resource.js');\nconst ModelCache = require('lib/ModelCache');\nconst ObjectUtils = require('lib/ObjectUtils');\nconst { shim } ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [254, 436, 580], "buggy_code_start_loc": [254, 392, 456], "filenames": ["README.md", "ReactNativeClient/lib/MdToHtml.js", "docs/index.html"], "fixing_code_end_loc": [259, 440, 582], "fixing_code_start_loc": [255, 392, 457], "message": "Joplin version prior to 1.0.90 contains a XSS evolving into c...
1,535
Determine whether the {function_name} code is vulnerable or not.
[ "const MarkdownIt = require('markdown-it');\nconst Entities = require('html-entities').AllHtmlEntities;\nconst htmlentities = (new Entities()).encode;\nconst Resource = require('lib/models/Resource.js');\nconst ModelCache = require('lib/ModelCache');\nconst ObjectUtils = require('lib/ObjectUtils');\nconst { shim } ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [254, 436, 580], "buggy_code_start_loc": [254, 392, 456], "filenames": ["README.md", "ReactNativeClient/lib/MdToHtml.js", "docs/index.html"], "fixing_code_end_loc": [259, 440, 582], "fixing_code_start_loc": [255, 392, 457], "message": "Joplin version prior to 1.0.90 contains a XSS evolving into c...
1,535
Determine whether the {function_name} code is vulnerable or not.
[ "<!doctype html>\n<html>\n<head>\n\t<title>Joplin - an open source note taking and to-do application with synchronisation capabilities</title>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\t<link...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [254, 436, 580], "buggy_code_start_loc": [254, 392, 456], "filenames": ["README.md", "ReactNativeClient/lib/MdToHtml.js", "docs/index.html"], "fixing_code_end_loc": [259, 440, 582], "fixing_code_start_loc": [255, 392, 457], "message": "Joplin version prior to 1.0.90 contains a XSS evolving into c...
1,535
Determine whether the {function_name} code is vulnerable or not.
[ "<!doctype html>\n<html>\n<head>\n\t<title>Joplin - an open source note taking and to-do application with synchronisation capabilities</title>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\t<link...
[ 1, 1, 1, 1, 1, 1, 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": [254, 436, 580], "buggy_code_start_loc": [254, 392, 456], "filenames": ["README.md", "ReactNativeClient/lib/MdToHtml.js", "docs/index.html"], "fixing_code_end_loc": [259, 440, 582], "fixing_code_start_loc": [255, 392, 457], "message": "Joplin version prior to 1.0.90 contains a XSS evolving into c...
1,535
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\nsession_start();", "require_once('../other/config.php');\nrequire_once('../other/phpcommand.php');", "function getclientip() {\n\tif (!empty($_SERVER['HTTP_CLIENT_IP']))\n\t\treturn $_SERVER['HTTP_CLIENT_IP'];\n\telseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR']))\n\t\treturn $_SERVER['HTTP_X_FORWARDED_FOR...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [133], "buggy_code_start_loc": [132], "filenames": ["webinterface/bot.php"], "fixing_code_end_loc": [133], "fixing_code_start_loc": [132], "message": "A vulnerability has been found in Newcomer1989 TSN-Ranksystem up to 1.2.6 and classified as problematic. This vulnerability affects the function g...
1,536
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\nsession_start();", "require_once('../other/config.php');\nrequire_once('../other/phpcommand.php');", "function getclientip() {\n\tif (!empty($_SERVER['HTTP_CLIENT_IP']))\n\t\treturn $_SERVER['HTTP_CLIENT_IP'];\n\telseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR']))\n\t\treturn $_SERVER['HTTP_X_FORWARDED_FOR...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [133], "buggy_code_start_loc": [132], "filenames": ["webinterface/bot.php"], "fixing_code_end_loc": [133], "fixing_code_start_loc": [132], "message": "A vulnerability has been found in Newcomer1989 TSN-Ranksystem up to 1.2.6 and classified as problematic. This vulnerability affects the function g...
1,536
Determine whether the {function_name} code is vulnerable or not.
[ "package clustersmngr", "import (\n\t\"context\"\n\t\"fmt\"\n\t\"sync\"\n\t\"time\"", "\t\"github.com/cheshir/ttlcache\"\n\t\"github.com/go-logr/logr\"\n\t\"github.com/weaveworks/weave-gitops/core/nsaccess\"\n\t\"github.com/weaveworks/weave-gitops/pkg/server/auth\"\n\tv1 \"k8s.io/api/core/v1\"\n\tapiruntime \"k...
[ 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, 1 ]
PreciseBugs
{"buggy_code_end_loc": [135], "buggy_code_start_loc": [134], "filenames": ["core/clustersmngr/factory.go"], "fixing_code_end_loc": [135], "fixing_code_start_loc": [134], "message": "Weave GitOps is a simple open source developer platform for people who want cloud native applications, without needing Kubernetes expertis...
1,537
Determine whether the {function_name} code is vulnerable or not.
[ "package clustersmngr", "import (\n\t\"context\"\n\t\"fmt\"\n\t\"sync\"\n\t\"time\"", "\t\"github.com/cheshir/ttlcache\"\n\t\"github.com/go-logr/logr\"\n\t\"github.com/weaveworks/weave-gitops/core/nsaccess\"\n\t\"github.com/weaveworks/weave-gitops/pkg/server/auth\"\n\tv1 \"k8s.io/api/core/v1\"\n\tapiruntime \"k...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [135], "buggy_code_start_loc": [134], "filenames": ["core/clustersmngr/factory.go"], "fixing_code_end_loc": [135], "fixing_code_start_loc": [134], "message": "Weave GitOps is a simple open source developer platform for people who want cloud native applications, without needing Kubernetes expertis...
1,537
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\n/**\r\n * Simple function to replicate PHP 5 behaviour\r\n */\r\nif ( !function_exists( 'microtime_float' ) ) {\r\n\tfunction microtime_float()\r\n\t{\r\n\t list($usec, $sec) = explode(\" \", microtime());\r\n\t return ((float)$usec + (float)$sec);\r\n\t}\r\n}\r\n\r\nrequire BLC_DIRECTORY . '/in...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2787, 443, 101], "buggy_code_start_loc": [1318, 435, 7], "filenames": ["core/core.php", "includes/any-post.php", "readme.txt"], "fixing_code_end_loc": [2787, 443, 103], "fixing_code_start_loc": [1318, 435, 7], "message": "A vulnerability was found in Broken Link Checker Plugin up to 1.10.5. It h...
1,538
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\n/**\r\n * Simple function to replicate PHP 5 behaviour\r\n */\r\nif ( !function_exists( 'microtime_float' ) ) {\r\n\tfunction microtime_float()\r\n\t{\r\n\t list($usec, $sec) = explode(\" \", microtime());\r\n\t return ((float)$usec + (float)$sec);\r\n\t}\r\n}\r\n\r\nrequire BLC_DIRECTORY . '/in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2787, 443, 101], "buggy_code_start_loc": [1318, 435, 7], "filenames": ["core/core.php", "includes/any-post.php", "readme.txt"], "fixing_code_end_loc": [2787, 443, 103], "fixing_code_start_loc": [1318, 435, 7], "message": "A vulnerability was found in Broken Link Checker Plugin up to 1.10.5. It h...
1,538
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\n/**\r\n * The manager to rule all (post) managers.\r\n * \r\n * This class dynamically registers container modules for the available post types\r\n * (including custom post types) and does stuff that pertain to all of them, such \r\n * as handling save/delete hooks and (re)creating synch records.\r\n ...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2787, 443, 101], "buggy_code_start_loc": [1318, 435, 7], "filenames": ["core/core.php", "includes/any-post.php", "readme.txt"], "fixing_code_end_loc": [2787, 443, 103], "fixing_code_start_loc": [1318, 435, 7], "message": "A vulnerability was found in Broken Link Checker Plugin up to 1.10.5. It h...
1,538
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\n/**\r\n * The manager to rule all (post) managers.\r\n * \r\n * This class dynamically registers container modules for the available post types\r\n * (including custom post types) and does stuff that pertain to all of them, such \r\n * as handling save/delete hooks and (re)creating synch records.\r\n ...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2787, 443, 101], "buggy_code_start_loc": [1318, 435, 7], "filenames": ["core/core.php", "includes/any-post.php", "readme.txt"], "fixing_code_end_loc": [2787, 443, 103], "fixing_code_start_loc": [1318, 435, 7], "message": "A vulnerability was found in Broken Link Checker Plugin up to 1.10.5. It h...
1,538