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/**\n * @file items.load.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link http://www.teampass.net\n *\n * This library is distributed in the hope that it will be useful,\n * but W...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @file items.load.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link http://www.teampass.net\n *\n * This library is distributed in the hope that it will be useful,\n * but W...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @file core.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link http://www.teampass.net\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT...
[ 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": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @file core.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link http://www.teampass.net\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @file items.queries.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link http://www.teampass.net\n *\n * This library is distributed in the hope that it will be useful,\n * bu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @file items.queries.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link http://www.teampass.net\n *\n * This library is distributed in the hope that it will be useful,\n * bu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n *\n * @file main.functions.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link\n */", "//define pbkdf2 iteration count\ndefine('ITCOUNT', '2072');", "if (!isset($_SESSION['CPM']) ||...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n *\n * @file main.functions.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link\n */", "//define pbkdf2 iteration count\ndefine('ITCOUNT', '2072');", "if (!isset($_SESSION['CPM']) ||...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "/************************************************************\n * Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.\n *\n * Permission to use, copy, modify, and distribute this\n * software and its documentation for any purpose and without\n * fee is hereby granted, provided that the above copyright\n ...
[ 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, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [169], "buggy_code_start_loc": [168], "filenames": ["src/xkbcomp/expr.c"], "fixing_code_end_loc": [169], "fixing_code_start_loc": [168], "message": "Endless recursion exists in xkbcomp/expr.c in xkbcommon and libxkbcommon before 0.8.1, which could be used by local attackers to crash xkbcommon use...
498
Determine whether the {function_name} code is vulnerable or not.
[ "/************************************************************\n * Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.\n *\n * Permission to use, copy, modify, and distribute this\n * software and its documentation for any purpose and without\n * fee is hereby granted, provided that the above copyright\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": [169], "buggy_code_start_loc": [168], "filenames": ["src/xkbcomp/expr.c"], "fixing_code_end_loc": [169], "fixing_code_start_loc": [168], "message": "Endless recursion exists in xkbcomp/expr.c in xkbcommon and libxkbcommon before 0.8.1, which could be used by local attackers to crash xkbcommon use...
498
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Back-end of the driver for virtual network devices. This portion of the\n * driver exports a 'unified' network-device interface that can be accessed\n * by any operating system that implements a compatible front end. A\n * reference front-end implementation can be found in:\n * drivers/net/xen-netfront.c\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, 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": [1546], "buggy_code_start_loc": [150], "filenames": ["drivers/net/xen-netback/netback.c"], "fixing_code_end_loc": [1534], "fixing_code_start_loc": [150], "message": "Memory leak in drivers/net/xen-netback/netback.c in the Xen netback functionality in the Linux kernel before 3.7.8 allows guest OS ...
499
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Back-end of the driver for virtual network devices. This portion of the\n * driver exports a 'unified' network-device interface that can be accessed\n * by any operating system that implements a compatible front end. A\n * reference front-end implementation can be found in:\n * drivers/net/xen-netfront.c\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": [1546], "buggy_code_start_loc": [150], "filenames": ["drivers/net/xen-netback/netback.c"], "fixing_code_end_loc": [1534], "fixing_code_start_loc": [150], "message": "Memory leak in drivers/net/xen-netback/netback.c in the Xen netback functionality in the Linux kernel before 3.7.8 allows guest OS ...
499
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * This class is responsible for instanciating\n * the various components of the navigation panel\n *\n * @package PhpMyAdmin-navigation\n */\nif (! defined('PHPMYADMIN')) {\n exit;\n}", "require_once 'libraries/navigation/NodeFactory.class.php';\nrequire...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [195, 38], "buggy_code_start_loc": [192, 35], "filenames": ["libraries/navigation/Navigation.class.php", "libraries/navigation/Nodes/Node_DatabaseChild.class.php"], "fixing_code_end_loc": [195, 38], "fixing_code_start_loc": [192, 35], "message": "Multiple cross-site scripting (XSS) vulnerabilitie...
500
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * This class is responsible for instanciating\n * the various components of the navigation panel\n *\n * @package PhpMyAdmin-navigation\n */\nif (! defined('PHPMYADMIN')) {\n exit;\n}", "require_once 'libraries/navigation/NodeFactory.class.php';\nrequire...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [195, 38], "buggy_code_start_loc": [192, 35], "filenames": ["libraries/navigation/Navigation.class.php", "libraries/navigation/Nodes/Node_DatabaseChild.class.php"], "fixing_code_end_loc": [195, 38], "fixing_code_start_loc": [192, 35], "message": "Multiple cross-site scripting (XSS) vulnerabilitie...
500
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * Functionality for the navigation tree\n *\n * @package PhpMyAdmin-Navigation\n */\nif (! defined('PHPMYADMIN')) {\n exit;\n}", "/**\n * Represents a node that is a concrete child of a database node\n *\n * @package PhpMyAdmin-Navigation\n */\nabstract ...
[ 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [195, 38], "buggy_code_start_loc": [192, 35], "filenames": ["libraries/navigation/Navigation.class.php", "libraries/navigation/Nodes/Node_DatabaseChild.class.php"], "fixing_code_end_loc": [195, 38], "fixing_code_start_loc": [192, 35], "message": "Multiple cross-site scripting (XSS) vulnerabilitie...
500
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * Functionality for the navigation tree\n *\n * @package PhpMyAdmin-Navigation\n */\nif (! defined('PHPMYADMIN')) {\n exit;\n}", "/**\n * Represents a node that is a concrete child of a database node\n *\n * @package PhpMyAdmin-Navigation\n */\nabstract ...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [195, 38], "buggy_code_start_loc": [192, 35], "filenames": ["libraries/navigation/Navigation.class.php", "libraries/navigation/Nodes/Node_DatabaseChild.class.php"], "fixing_code_end_loc": [195, 38], "fixing_code_start_loc": [192, 35], "message": "Multiple cross-site scripting (XSS) vulnerabilitie...
500
Determine whether the {function_name} code is vulnerable or not.
[ "/*!\n Flowplayer : The Video Player for Web", " Copyright (c) 2012 - 2013 Flowplayer Ltd\n http://flowplayer.org", " Authors: Tero Piirainen, Anssi Piirainen", " -----", " This GPL version includes Flowplayer branding", " http://flowplayer.org/GPL-license/#term-7", " Commercial versions are available\n...
[ 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, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [87], "buggy_code_start_loc": [86], "filenames": ["lib/as/Flowplayer.as"], "fixing_code_end_loc": [88], "fixing_code_start_loc": [86], "message": "Cross-site scripting (XSS) vulnerability in flowplayer.swf in the Flash fallback feature in Flowplayer HTML5 5.4.3 allows remote attackers to inject a...
501
Determine whether the {function_name} code is vulnerable or not.
[ "/*!\n Flowplayer : The Video Player for Web", " Copyright (c) 2012 - 2013 Flowplayer Ltd\n http://flowplayer.org", " Authors: Tero Piirainen, Anssi Piirainen", " -----", " This GPL version includes Flowplayer branding", " http://flowplayer.org/GPL-license/#term-7", " Commercial versions are available\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": [87], "buggy_code_start_loc": [86], "filenames": ["lib/as/Flowplayer.as"], "fixing_code_end_loc": [88], "fixing_code_start_loc": [86], "message": "Cross-site scripting (XSS) vulnerability in flowplayer.swf in the Flash fallback feature in Flowplayer HTML5 5.4.3 allows remote attackers to inject a...
501
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2016-present Cloud <cloud@txthinking.com>\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of version 3 of the GNU General Public\n// License as published by the Free Software Foundation.\n//\n// This program is distributed in the hope that it wil...
[ 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1567, 199, 49, 192], "buggy_code_start_loc": [978, 37, 48, 97], "filenames": ["cli/brook/main.go", "cli/brook/static/index.html", "quicserver.go", "streamclient.go"], "fixing_code_end_loc": [1633, 304, 49, 192], "fixing_code_start_loc": [978, 38, 48, 97], "message": "Brook is a cross-platform pr...
502
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2016-present Cloud <cloud@txthinking.com>\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of version 3 of the GNU General Public\n// License as published by the Free Software Foundation.\n//\n// This program is distributed in the hope that it wil...
[ 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": [1567, 199, 49, 192], "buggy_code_start_loc": [978, 37, 48, 97], "filenames": ["cli/brook/main.go", "cli/brook/static/index.html", "quicserver.go", "streamclient.go"], "fixing_code_end_loc": [1633, 304, 49, 192], "fixing_code_start_loc": [978, 38, 48, 97], "message": "Brook is a cross-platform pr...
502
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html>\n <head>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no\" />\n <title>Brook</title>\n <script async src=\"https://www.googletagmanager.com/gtag/js?id=G-96ENZWNBX1\"></script>\n <scrip...
[ 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1567, 199, 49, 192], "buggy_code_start_loc": [978, 37, 48, 97], "filenames": ["cli/brook/main.go", "cli/brook/static/index.html", "quicserver.go", "streamclient.go"], "fixing_code_end_loc": [1633, 304, 49, 192], "fixing_code_start_loc": [978, 38, 48, 97], "message": "Brook is a cross-platform pr...
502
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html>\n <head>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no\" />\n <title>Brook</title>\n <script async src=\"https://www.googletagmanager.com/gtag/js?id=G-96ENZWNBX1\"></script>\n <scrip...
[ 1, 1, 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": [1567, 199, 49, 192], "buggy_code_start_loc": [978, 37, 48, 97], "filenames": ["cli/brook/main.go", "cli/brook/static/index.html", "quicserver.go", "streamclient.go"], "fixing_code_end_loc": [1633, 304, 49, 192], "fixing_code_start_loc": [978, 38, 48, 97], "message": "Brook is a cross-platform pr...
502
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2016-present Cloud <cloud@txthinking.com>\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of version 3 of the GNU General Public\n// License as published by the Free Software Foundation.\n//\n// This program is distributed in the hope that it wil...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1567, 199, 49, 192], "buggy_code_start_loc": [978, 37, 48, 97], "filenames": ["cli/brook/main.go", "cli/brook/static/index.html", "quicserver.go", "streamclient.go"], "fixing_code_end_loc": [1633, 304, 49, 192], "fixing_code_start_loc": [978, 38, 48, 97], "message": "Brook is a cross-platform pr...
502
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2016-present Cloud <cloud@txthinking.com>\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of version 3 of the GNU General Public\n// License as published by the Free Software Foundation.\n//\n// This program is distributed in the hope that it wil...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1567, 199, 49, 192], "buggy_code_start_loc": [978, 37, 48, 97], "filenames": ["cli/brook/main.go", "cli/brook/static/index.html", "quicserver.go", "streamclient.go"], "fixing_code_end_loc": [1633, 304, 49, 192], "fixing_code_start_loc": [978, 38, 48, 97], "message": "Brook is a cross-platform pr...
502
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2016-present Cloud <cloud@txthinking.com>\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of version 3 of the GNU General Public\n// License as published by the Free Software Foundation.\n//\n// This program is distributed in the hope that it wil...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1567, 199, 49, 192], "buggy_code_start_loc": [978, 37, 48, 97], "filenames": ["cli/brook/main.go", "cli/brook/static/index.html", "quicserver.go", "streamclient.go"], "fixing_code_end_loc": [1633, 304, 49, 192], "fixing_code_start_loc": [978, 38, 48, 97], "message": "Brook is a cross-platform pr...
502
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2016-present Cloud <cloud@txthinking.com>\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of version 3 of the GNU General Public\n// License as published by the Free Software Foundation.\n//\n// This program is distributed in the hope that it wil...
[ 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": [1567, 199, 49, 192], "buggy_code_start_loc": [978, 37, 48, 97], "filenames": ["cli/brook/main.go", "cli/brook/static/index.html", "quicserver.go", "streamclient.go"], "fixing_code_end_loc": [1633, 304, 49, 192], "fixing_code_start_loc": [978, 38, 48, 97], "message": "Brook is a cross-platform pr...
502
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * elFinder - file manager for web.\n * Core class.\n *\n * @package elfinder\n * @author Dmitry (dio) Levashov\n * @author Troex Nevelin\n * @author Alexey Sukhotin\n **/\nclass elFinder {\n\t\n\t/**\n\t * API version number\n\t *\n\t * @var float\n\t **/\n\tprotected static $ApiVersion = 2.1;\n\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1628], "buggy_code_start_loc": [1627], "filenames": ["php/elFinder.class.php"], "fixing_code_end_loc": [1628], "fixing_code_start_loc": [1627], "message": "Studio 42 elFinder before 2.1.37 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function that can allow a re...
503
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * elFinder - file manager for web.\n * Core class.\n *\n * @package elfinder\n * @author Dmitry (dio) Levashov\n * @author Troex Nevelin\n * @author Alexey Sukhotin\n **/\nclass elFinder {\n\t\n\t/**\n\t * API version number\n\t *\n\t * @var float\n\t **/\n\tprotected static $ApiVersion = 2.1;\n\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1628], "buggy_code_start_loc": [1627], "filenames": ["php/elFinder.class.php"], "fixing_code_end_loc": [1628], "fixing_code_start_loc": [1627], "message": "Studio 42 elFinder before 2.1.37 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function that can allow a re...
503
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/local/bin/perl\n# view_man.cgi\n# Display a single manual page", "require './man-lib.pl';\n&ReadParse();\n&ui_print_header(undef, $text{'man_title'}, \"\");", "if (&has_command($config{'man2html_path'})) {\n\t$ocmd = $in{'sec'} ? $config{'list_cmd_sect'}\n\t\t\t : $config{'list_cmd'};\n\t}\nelse {\n\t...
[ 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [96], "buggy_code_start_loc": [46], "filenames": ["man/view_man.cgi"], "fixing_code_end_loc": [102], "fixing_code_start_loc": [46], "message": "Multiple Cross-site scripting (XSS) vulnerabilities in Webmin before 1.850 allow remote attackers to inject arbitrary web script or HTML via the sec para...
504
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/local/bin/perl\n# view_man.cgi\n# Display a single manual page", "require './man-lib.pl';\n&ReadParse();\n&ui_print_header(undef, $text{'man_title'}, \"\");", "if (&has_command($config{'man2html_path'})) {\n\t$ocmd = $in{'sec'} ? $config{'list_cmd_sect'}\n\t\t\t : $config{'list_cmd'};\n\t}\nelse {\n\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [96], "buggy_code_start_loc": [46], "filenames": ["man/view_man.cgi"], "fixing_code_end_loc": [102], "fixing_code_start_loc": [46], "message": "Multiple Cross-site scripting (XSS) vulnerabilities in Webmin before 1.850 allow remote attackers to inject arbitrary web script or HTML via the sec para...
504
Determine whether the {function_name} code is vulnerable or not.
[ "Cacti CHANGELOG", "-issue#2184: html_host_filter() does not handle host_id consequently\n-issue#2188: SNMP timeout errors are being duplicated\n-issue#2191: i18n_themes is not properly primed in global_arrays.php\n-issue#2202: Can't create more than one graph with add_graphs.php from one template\n-issue#2207: R...
[ 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, 1...
PreciseBugs
{"buggy_code_end_loc": [7, 853], "buggy_code_start_loc": [7, 852], "filenames": ["CHANGELOG", "pollers.php"], "fixing_code_end_loc": [9, 853], "fixing_code_start_loc": [8, 852], "message": "A cross-site scripting (XSS) vulnerability exists in pollers.php in Cacti before 1.2.0 due to lack of escaping of unintended chara...
505
Determine whether the {function_name} code is vulnerable or not.
[ "Cacti CHANGELOG", "-issue#2184: html_host_filter() does not handle host_id consequently\n-issue#2188: SNMP timeout errors are being duplicated\n-issue#2191: i18n_themes is not properly primed in global_arrays.php\n-issue#2202: Can't create more than one graph with add_graphs.php from one template\n-issue#2207: R...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [7, 853], "buggy_code_start_loc": [7, 852], "filenames": ["CHANGELOG", "pollers.php"], "fixing_code_end_loc": [9, 853], "fixing_code_start_loc": [8, 852], "message": "A cross-site scripting (XSS) vulnerability exists in pollers.php in Cacti before 1.2.0 due to lack of escaping of unintended chara...
505
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\n +-------------------------------------------------------------------------+\n | Copyright (C) 2004-2018 The Cacti Group |\n | |\n | This program is free software; you can redistribute it and/or ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [7, 853], "buggy_code_start_loc": [7, 852], "filenames": ["CHANGELOG", "pollers.php"], "fixing_code_end_loc": [9, 853], "fixing_code_start_loc": [8, 852], "message": "A cross-site scripting (XSS) vulnerability exists in pollers.php in Cacti before 1.2.0 due to lack of escaping of unintended chara...
505
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\n +-------------------------------------------------------------------------+\n | Copyright (C) 2004-2018 The Cacti Group |\n | |\n | This program is free software; you can redistribute it and/or ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [7, 853], "buggy_code_start_loc": [7, 852], "filenames": ["CHANGELOG", "pollers.php"], "fixing_code_end_loc": [9, 853], "fixing_code_start_loc": [8, 852], "message": "A cross-site scripting (XSS) vulnerability exists in pollers.php in Cacti before 1.2.0 due to lack of escaping of unintended chara...
505
Determine whether the {function_name} code is vulnerable or not.
[ "# Changelog", "All notable changes to Gogs are documented in this file.", "## 0.13.0+dev (`main`)", "### Added", "- An unlisted option is added when create or migrate a repository. Unlisted repositories are public but not being listed for users without direct access in the UI. [#5733](https://github.com/go...
[ 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": [27, 13, 47], "buggy_code_start_loc": [27, 12, 15], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil.go", "internal/pathutil/pathutil_test.go"], "fixing_code_end_loc": [29, 16, 78], "fixing_code_start_loc": [28, 12, 15], "message": "Path Traversal in GitHub repository gogs/gogs prior to ...
506
Determine whether the {function_name} code is vulnerable or not.
[ "# Changelog", "All notable changes to Gogs are documented in this file.", "## 0.13.0+dev (`main`)", "### Added", "- An unlisted option is added when create or migrate a repository. Unlisted repositories are public but not being listed for users without direct access in the UI. [#5733](https://github.com/go...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [27, 13, 47], "buggy_code_start_loc": [27, 12, 15], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil.go", "internal/pathutil/pathutil_test.go"], "fixing_code_end_loc": [29, 16, 78], "fixing_code_start_loc": [28, 12, 15], "message": "Path Traversal in GitHub repository gogs/gogs prior to ...
506
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2020 The Gogs Authors. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.", "package pathutil", "import (\n\t\"path\"\n\t\"strings\"\n)\n", "// Clean cleans up given path and returns a relative path that goes straight do...
[ 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [27, 13, 47], "buggy_code_start_loc": [27, 12, 15], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil.go", "internal/pathutil/pathutil_test.go"], "fixing_code_end_loc": [29, 16, 78], "fixing_code_start_loc": [28, 12, 15], "message": "Path Traversal in GitHub repository gogs/gogs prior to ...
506
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2020 The Gogs Authors. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.", "package pathutil", "import (\n\t\"path\"\n\t\"strings\"\n)\n", "// Clean cleans up given path and returns a relative path that goes straight\n/...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [27, 13, 47], "buggy_code_start_loc": [27, 12, 15], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil.go", "internal/pathutil/pathutil_test.go"], "fixing_code_end_loc": [29, 16, 78], "fixing_code_start_loc": [28, 12, 15], "message": "Path Traversal in GitHub repository gogs/gogs prior to ...
506
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2020 The Gogs Authors. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.", "package pathutil", "import (\n\t\"testing\"", "\t\"github.com/stretchr/testify/assert\"\n)", "func TestClean(t *testing.T) {\n\ttests := []st...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [27, 13, 47], "buggy_code_start_loc": [27, 12, 15], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil.go", "internal/pathutil/pathutil_test.go"], "fixing_code_end_loc": [29, 16, 78], "fixing_code_start_loc": [28, 12, 15], "message": "Path Traversal in GitHub repository gogs/gogs prior to ...
506
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2020 The Gogs Authors. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.", "package pathutil", "import (\n\t\"testing\"", "\t\"github.com/stretchr/testify/assert\"\n)", "func TestClean(t *testing.T) {\n\ttests := []st...
[ 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": [27, 13, 47], "buggy_code_start_loc": [27, 12, 15], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil.go", "internal/pathutil/pathutil_test.go"], "fixing_code_end_loc": [29, 16, 78], "fixing_code_start_loc": [28, 12, 15], "message": "Path Traversal in GitHub repository gogs/gogs prior to ...
506
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n +----------------------------------------------------------------------+\n | PHP Version 7 |\n +----------------------------------------------------------------------+\n | Copyright (c) 1997-2016 The PHP Group |\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": [2732], "buggy_code_start_loc": [1284], "filenames": ["ext/zip/php_zip.c"], "fixing_code_end_loc": [2732], "fixing_code_start_loc": [1284], "message": "Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-based ...
507
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n +----------------------------------------------------------------------+\n | PHP Version 7 |\n +----------------------------------------------------------------------+\n | Copyright (c) 1997-2016 The PHP Group |\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": [2732], "buggy_code_start_loc": [1284], "filenames": ["ext/zip/php_zip.c"], "fixing_code_end_loc": [2732], "fixing_code_start_loc": [1284], "message": "Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-based ...
507
Determine whether the {function_name} code is vulnerable or not.
[ "use primitive_types::U256;\nuse core::cmp::{min, max};\nuse alloc::vec::Vec;\nuse crate::{ExitError, ExitFatal};", "/// A sequencial memory. It uses Rust's `Vec` for internal\n/// representation.\n#[derive(Clone, Debug)]\npub struct Memory {\n\tdata: Vec<u8>,\n\teffective_len: U256,\n\tlimit: usize,\n}", "impl...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [107], "buggy_code_start_loc": [107], "filenames": ["core/src/memory.rs"], "fixing_code_end_loc": [112], "fixing_code_start_loc": [108], "message": "evm is a pure Rust implementation of Ethereum Virtual Machine. Prior to the patch, when executing specific EVM opcodes related to memory operations ...
508
Determine whether the {function_name} code is vulnerable or not.
[ "use primitive_types::U256;\nuse core::cmp::{min, max};\nuse alloc::vec::Vec;\nuse crate::{ExitError, ExitFatal};", "/// A sequencial memory. It uses Rust's `Vec` for internal\n/// representation.\n#[derive(Clone, Debug)]\npub struct Memory {\n\tdata: Vec<u8>,\n\teffective_len: U256,\n\tlimit: usize,\n}", "impl...
[ 1, 1, 1, 1, 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": [107], "buggy_code_start_loc": [107], "filenames": ["core/src/memory.rs"], "fixing_code_end_loc": [112], "fixing_code_start_loc": [108], "message": "evm is a pure Rust implementation of Ethereum Virtual Machine. Prior to the patch, when executing specific EVM opcodes related to memory operations ...
508
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2003-2009 the SysCP Team (see authors).\n * Copyright (c) 2010 the Froxlor Team (see authors).\n *\n * For the full copyright and license information, please view the COPYING\n * file that was distributed with this source code. You can ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0...
PreciseBugs
{"buggy_code_end_loc": [381, 780], "buggy_code_start_loc": [241, 22], "filenames": ["customer_tickets.php", "lib/classes/ticket/class.ticket.php"], "fixing_code_end_loc": [401, 787], "fixing_code_start_loc": [241, 22], "message": "Froxlor through 0.9.39.5 has Incorrect Access Control for tickets not owned by the curren...
509
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2003-2009 the SysCP Team (see authors).\n * Copyright (c) 2010 the Froxlor Team (see authors).\n *\n * For the full copyright and license information, please view the COPYING\n * file that was distributed with this source code. You can ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [381, 780], "buggy_code_start_loc": [241, 22], "filenames": ["customer_tickets.php", "lib/classes/ticket/class.ticket.php"], "fixing_code_end_loc": [401, 787], "fixing_code_start_loc": [241, 22], "message": "Froxlor through 0.9.39.5 has Incorrect Access Control for tickets not owned by the curren...
509
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2003-2009 the SysCP Team (see authors).\n * Copyright (c) 2010 the Froxlor Team (see authors).\n *\n * For the full copyright and license information, please view the COPYING\n * file that was distributed with this source code. You can ...
[ 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [381, 780], "buggy_code_start_loc": [241, 22], "filenames": ["customer_tickets.php", "lib/classes/ticket/class.ticket.php"], "fixing_code_end_loc": [401, 787], "fixing_code_start_loc": [241, 22], "message": "Froxlor through 0.9.39.5 has Incorrect Access Control for tickets not owned by the curren...
509
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2003-2009 the SysCP Team (see authors).\n * Copyright (c) 2010 the Froxlor Team (see authors).\n *\n * For the full copyright and license information, please view the COPYING\n * file that was distributed with this source code. You can ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [381, 780], "buggy_code_start_loc": [241, 22], "filenames": ["customer_tickets.php", "lib/classes/ticket/class.ticket.php"], "fixing_code_end_loc": [401, 787], "fixing_code_start_loc": [241, 22], "message": "Froxlor through 0.9.39.5 has Incorrect Access Control for tickets not owned by the curren...
509
Determine whether the {function_name} code is vulnerable or not.
[ "/******************************************************************************\n * emulate.c\n *\n * Generic x86 (32-bit and 64-bit) instruction decoder and emulator.\n *\n * Copyright (c) 2005 Keir Fraser\n *\n * Linux coding style, mod r/m decoder, segment base fixes, real-mode\n * privileged instructions:\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": [2393], "buggy_code_start_loc": [2351], "filenames": ["arch/x86/kvm/emulate.c"], "fixing_code_end_loc": [2382], "fixing_code_start_loc": [2351], "message": "The em_sysenter function in arch/x86/kvm/emulate.c in the Linux kernel before 3.18.5, when the guest OS lacks SYSENTER MSR initialization, a...
510
Determine whether the {function_name} code is vulnerable or not.
[ "/******************************************************************************\n * emulate.c\n *\n * Generic x86 (32-bit and 64-bit) instruction decoder and emulator.\n *\n * Copyright (c) 2005 Keir Fraser\n *\n * Linux coding style, mod r/m decoder, segment base fixes, real-mode\n * privileged instructions:\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": [2393], "buggy_code_start_loc": [2351], "filenames": ["arch/x86/kvm/emulate.c"], "fixing_code_end_loc": [2382], "fixing_code_start_loc": [2351], "message": "The em_sysenter function in arch/x86/kvm/emulate.c in the Linux kernel before 3.18.5, when the guest OS lacks SYSENTER MSR initialization, a...
510
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';\nconst UserController = require('../lib/Controllers/UserController')\n .UserController;\nconst Config = require('../lib/Config');\ndescribe('ParseLiveQuery', function () {\n it('can subscribe to query', async done => {\n await reconfigureServer({\n liveQuery: {\n classNames: ['TestOb...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';\nconst UserController = require('../lib/Controllers/UserController')\n .UserController;\nconst Config = require('../lib/Config');\ndescribe('ParseLiveQuery', function () {\n it('can subscribe to query', async done => {\n await reconfigureServer({\n liveQuery: {\n classNames: ['TestOb...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "import tv4 from 'tv4';\nimport Parse from 'parse/node';\nimport { Subscription } from './Subscription';\nimport { Client } from './Client';\nimport { ParseWebSocketServer } from './ParseWebSocketServer';\nimport logger from '../logger';\nimport RequestSchema from './RequestSchema';\nimport { matchesQuery, queryHas...
[ 1, 1, 0, 1, 0, 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, 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...
PreciseBugs
{"buggy_code_end_loc": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "import tv4 from 'tv4';\nimport Parse from 'parse/node';\nimport { Subscription } from './Subscription';\nimport { Client } from './Client';\nimport { ParseWebSocketServer } from './ParseWebSocketServer';\nimport logger from '../logger';\nimport RequestSchema from './RequestSchema';\nimport { matchesQuery, queryHas...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n**** GENERATED CODE ****\nThis code has been generated by resources/buildConfigDefinitions.js\nDo not edit manually, but update Options/index.js\n*/\nvar parsers = require('./parsers');", "module.exports.ParseServerOptions = {\n accountLockout: {\n env: 'PARSE_SERVER_ACCOUNT_LOCKOUT',\n help: 'account...
[ 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n**** GENERATED CODE ****\nThis code has been generated by resources/buildConfigDefinitions.js\nDo not edit manually, but update Options/index.js\n*/\nvar parsers = require('./parsers');", "module.exports.ParseServerOptions = {\n accountLockout: {\n env: 'PARSE_SERVER_ACCOUNT_LOCKOUT',\n help: 'account...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @interface ParseServerOptions\n * @property {Any} accountLockout account lockout policy for failed login attempts\n * @property {Boolean} allowClientClassCreation Enable (or disable) client class creation, defaults to true\n * @property {Boolean} allowCustomObjectId Enable (or disable) custom objectId\n * ...
[ 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @interface ParseServerOptions\n * @property {Any} accountLockout account lockout policy for failed login attempts\n * @property {Boolean} allowClientClassCreation Enable (or disable) client class creation, defaults to true\n * @property {Boolean} allowCustomObjectId Enable (or disable) custom objectId\n * ...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "import { AnalyticsAdapter } from '../Adapters/Analytics/AnalyticsAdapter';\nimport { FilesAdapter } from '../Adapters/Files/FilesAdapter';\nimport { LoggerAdapter } from '../Adapters/Logger/LoggerAdapter';\nimport { StorageAdapter } from '../Adapters/Storage/StorageAdapter';\nimport { CacheAdapter } from '../Adapt...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "import { AnalyticsAdapter } from '../Adapters/Analytics/AnalyticsAdapter';\nimport { FilesAdapter } from '../Adapters/Files/FilesAdapter';\nimport { LoggerAdapter } from '../Adapters/Logger/LoggerAdapter';\nimport { StorageAdapter } from '../Adapters/Storage/StorageAdapter';\nimport { CacheAdapter } from '../Adapt...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "// ParseServer - open-source compatible API Server for Parse apps", "var batch = require('./batch'),\n bodyParser = require('body-parser'),\n express = require('express'),\n middlewares = require('./middlewares'),\n Parse = require('parse/node').Parse,\n { parse } = require('graphql'),\n path = require('pa...
[ 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "// ParseServer - open-source compatible API Server for Parse apps", "var batch = require('./batch'),\n bodyParser = require('body-parser'),\n express = require('express'),\n middlewares = require('./middlewares'),\n Parse = require('parse/node').Parse,\n { parse } = require('graphql'),\n path = require('pa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [786, 519, 482, 104, 264, 337], "buggy_code_start_loc": [786, 33, 481, 103, 263, 301], "filenames": ["spec/ParseLiveQuery.spec.js", "src/LiveQuery/ParseLiveQueryServer.js", "src/Options/Definitions.js", "src/Options/docs.js", "src/Options/index.js", "src/ParseServer.js"], "fixing_code_end_loc": [...
511
Determine whether the {function_name} code is vulnerable or not.
[ "// Styles\nimport './calendar-with-events.sass'", "// Types\nimport { VNode, VNodeData } from 'vue'", "// Directives\nimport ripple from '../../../directives/ripple'", "// Mixins\nimport CalendarBase from './calendar-base'", "\n// Helpers\nimport { escapeHTML } from '../../../util/helpers'", "\n// Util\n...
[ 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, 0, 1, 0, 0, 1, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [355, 279], "buggy_code_start_loc": [12, 1], "filenames": ["packages/vuetify/src/components/VCalendar/mixins/calendar-with-events.ts", "packages/vuetify/types/index.d.ts"], "fixing_code_end_loc": [356, 279], "fixing_code_start_loc": [11, 1], "message": "The package vuetify from 2.0.0-beta.4 and b...
512
Determine whether the {function_name} code is vulnerable or not.
[ "// Styles\nimport './calendar-with-events.sass'", "// Types\nimport { VNode, VNodeData } from 'vue'", "// Directives\nimport ripple from '../../../directives/ripple'", "// Mixins\nimport CalendarBase from './calendar-base'", "", "\n// Util\nimport props from '../util/props'\nimport {\n CalendarEventOver...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [355, 279], "buggy_code_start_loc": [12, 1], "filenames": ["packages/vuetify/src/components/VCalendar/mixins/calendar-with-events.ts", "packages/vuetify/types/index.d.ts"], "fixing_code_end_loc": [356, 279], "fixing_code_start_loc": [11, 1], "message": "The package vuetify from 2.0.0-beta.4 and b...
512
Determine whether the {function_name} code is vulnerable or not.
[ "import Vue, { Component, PluginFunction, VueConstructor, DirectiveOptions } from 'vue'", "import './lib'\nimport './alacarte'\nimport './colors'", "// Services\nimport { Application } from './services/application'\nimport { Breakpoint } from './services/breakpoint'\nimport { Icons } from './services/icons'\nim...
[ 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, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [355, 279], "buggy_code_start_loc": [12, 1], "filenames": ["packages/vuetify/src/components/VCalendar/mixins/calendar-with-events.ts", "packages/vuetify/types/index.d.ts"], "fixing_code_end_loc": [356, 279], "fixing_code_start_loc": [11, 1], "message": "The package vuetify from 2.0.0-beta.4 and b...
512
Determine whether the {function_name} code is vulnerable or not.
[ "import Vue, { Component, PluginFunction, VueConstructor, DirectiveOptions, VNode } from 'vue'", "import './lib'\nimport './alacarte'\nimport './colors'", "// Services\nimport { Application } from './services/application'\nimport { Breakpoint } from './services/breakpoint'\nimport { Icons } from './services/ico...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [355, 279], "buggy_code_start_loc": [12, 1], "filenames": ["packages/vuetify/src/components/VCalendar/mixins/calendar-with-events.ts", "packages/vuetify/types/index.d.ts"], "fixing_code_end_loc": [356, 279], "fixing_code_start_loc": [11, 1], "message": "The package vuetify from 2.0.0-beta.4 and b...
512
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Digital Audio (PCM) abstract layer\n * Copyright (c) by Jaroslav Kysela <perex@perex.cz>\n * Abramo Bagnara <abramo@alsa-project.org>\n *\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 as published...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1891], "buggy_code_start_loc": [1888], "filenames": ["sound/core/pcm_lib.c"], "fixing_code_end_loc": [1890], "fixing_code_start_loc": [1889], "message": "Race condition in the snd_pcm_period_elapsed function in sound/core/pcm_lib.c in the ALSA subsystem in the Linux kernel before 4.7 allows loca...
513
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Digital Audio (PCM) abstract layer\n * Copyright (c) by Jaroslav Kysela <perex@perex.cz>\n * Abramo Bagnara <abramo@alsa-project.org>\n *\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 as published...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1891], "buggy_code_start_loc": [1888], "filenames": ["sound/core/pcm_lib.c"], "fixing_code_end_loc": [1890], "fixing_code_start_loc": [1889], "message": "Race condition in the snd_pcm_period_elapsed function in sound/core/pcm_lib.c in the ALSA subsystem in the Linux kernel before 4.7 allows loca...
513
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * Main export hanling code\n * @package PhpMyAdmin\n */", "/**\n * Get the variables sent or posted to this script and a core script\n */\nrequire_once './libraries/common.inc.php';\nrequire_once './libraries/zip.lib.php';\nrequire_once './libraries/plugin_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [279, 149], "buggy_code_start_loc": [275, 137], "filenames": ["export.php", "libraries/sanitizing.lib.php"], "fixing_code_end_loc": [279, 160], "fixing_code_start_loc": [274, 137], "message": "phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows r...
514
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * Main export hanling code\n * @package PhpMyAdmin\n */", "/**\n * Get the variables sent or posted to this script and a core script\n */\nrequire_once './libraries/common.inc.php';\nrequire_once './libraries/zip.lib.php';\nrequire_once './libraries/plugin_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [279, 149], "buggy_code_start_loc": [275, 137], "filenames": ["export.php", "libraries/sanitizing.lib.php"], "fixing_code_end_loc": [279, 160], "fixing_code_start_loc": [274, 137], "message": "phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows r...
514
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * This is in a separate script because it's called from a number of scripts\n *\n * @package PhpMyAdmin\n */", "/**\n * Checks whether given link is valid\n *\n * @param string $url URL to check\n * @return boolean True if string can be used as link\n */\nf...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [279, 149], "buggy_code_start_loc": [275, 137], "filenames": ["export.php", "libraries/sanitizing.lib.php"], "fixing_code_end_loc": [279, 160], "fixing_code_start_loc": [274, 137], "message": "phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows r...
514
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * This is in a separate script because it's called from a number of scripts\n *\n * @package PhpMyAdmin\n */", "/**\n * Checks whether given link is valid\n *\n * @param string $url URL to check\n * @return boolean True if string can be used as link\n */\nf...
[ 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": [279, 149], "buggy_code_start_loc": [275, 137], "filenames": ["export.php", "libraries/sanitizing.lib.php"], "fixing_code_end_loc": [279, 160], "fixing_code_start_loc": [274, 137], "message": "phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows r...
514
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% M M AAA TTTTT L AAA BBBB ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1128], "buggy_code_start_loc": [1128], "filenames": ["coders/mat.c"], "fixing_code_end_loc": [1130], "fixing_code_start_loc": [1129], "message": "In ImageMagick before 6.9.7-6 and 7.x before 7.0.4-6, the ReadMATImage function in coders/mat.c uses uninitialized data, which might allow remote atta...
515
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% M M AAA TTTTT L AAA BBBB ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1128], "buggy_code_start_loc": [1128], "filenames": ["coders/mat.c"], "fixing_code_end_loc": [1130], "fixing_code_start_loc": [1129], "message": "In ImageMagick before 6.9.7-6 and 7.x before 7.0.4-6, the ReadMATImage function in coders/mat.c uses uninitialized data, which might allow remote atta...
515
Determine whether the {function_name} code is vulnerable or not.
[ "This project implements a complete(!) JPEG (Rec. ITU-T T.81 | ISO/IEC\r\n10918-1) codec, plus a library that can be used to encode and decode\r\nJPEG streams. It also implements ISO/IEC 18477 aka JPEG XT which is\r\nan extension towards intermediate, high-dynamic-range lossy and\r\nlossless coding of JPEG. In spe...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "This project implements a complete(!) JPEG (Rec. ITU-T T.81 | ISO/IEC\r\n10918-1) codec, plus a library that can be used to encode and decode\r\nJPEG streams. It also implements ISO/IEC 18477 aka JPEG XT which is\r\nan extension towards intermediate, high-dynamic-range lossy and\r\nlossless coding of JPEG. In spe...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "Revision 0.10\r\n-----------------------------\r\n\r\nFirst release of libjpeg to the public.\r\n\r\n\r\nRevision 0.11\r\n-----------------------------\r\n\r\nApparently, the demo frontend code used the \r\nnon-binary mode to open the output files,\r\ncreating corrupt files under platforms where\r\nsuch modes incl...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "Revision 0.10\r\n-----------------------------\r\n\r\nFirst release of libjpeg to the public.\r\n\r\n\r\nRevision 0.11\r\n-----------------------------\r\n\r\nApparently, the demo frontend code used the \r\nnon-binary mode to open the output files,\r\ncreating corrupt files under platforms where\r\nsuch modes incl...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 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": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 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, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 1, 1, 1, 1, 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": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*************************************************************************", " This project implements a complete(!) JPEG (Recommendation ITU-T\n T.81 | ISO/IEC 10918-1) codec, plus a library that can be used to\n encode and decode JPEG streams. \n It also implements ISO/IEC 18477 aka JPEG XT which i...
[ 1, 1, 1, 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": [454, 557, 363, 120, 658, 195, 379, 121], "buggy_code_start_loc": [454, 557, 45, 46, 45, 46, 45, 45], "filenames": ["README", "README.history", "codestream/aclosslessscan.cpp", "codestream/aclosslessscan.hpp", "codestream/acsequentialscan.cpp", "codestream/acsequentialscan.hpp", "codestream/lossl...
516
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 1999-2000 Image Power, Inc. and the University of\n * British Columbia.\n * Copyright (c) 2001-2002 Michael David Adams.\n * All rights reserved.\n */", "/* __START_OF_JASPER_LICENSE__\n * \n * JasPer License Version 2.0\n * \n * Copyright (c) 2001-2006 Michael David Adams\n * Copyright (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, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [332], "buggy_code_start_loc": [253], "filenames": ["src/libjasper/jp2/jp2_cod.c"], "fixing_code_end_loc": [336], "fixing_code_start_loc": [254], "message": "The jp2_colr_destroy function in jp2_cod.c in JasPer before 1.900.13 allows remote attackers to cause a denial of service (NULL pointer der...
517
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 1999-2000 Image Power, Inc. and the University of\n * British Columbia.\n * Copyright (c) 2001-2002 Michael David Adams.\n * All rights reserved.\n */", "/* __START_OF_JASPER_LICENSE__\n * \n * JasPer License Version 2.0\n * \n * Copyright (c) 2001-2006 Michael David Adams\n * Copyright (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": [332], "buggy_code_start_loc": [253], "filenames": ["src/libjasper/jp2/jp2_cod.c"], "fixing_code_end_loc": [336], "fixing_code_start_loc": [254], "message": "The jp2_colr_destroy function in jp2_cod.c in JasPer before 1.900.13 allows remote attackers to cause a denial of service (NULL pointer der...
517
Determine whether the {function_name} code is vulnerable or not.
[ "#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/proc.h>", "#define fiber_ptr(o) ((struct RFiber*)mrb_ptr(o))", "#define FIBER_STACK_INIT_SIZE 64\n#define FIBER_CI_INIT_SIZE 8\n/* copied from vm.c */\n#define CINFO_RESUMED 3", "/*\n * call-seq:\n * Fiber.new{...} -...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [218], "buggy_code_start_loc": [211], "filenames": ["mrbgems/mruby-fiber/src/fiber.c"], "fixing_code_end_loc": [226], "fixing_code_start_loc": [210], "message": "NULL Pointer Dereference in GitHub repository mruby/mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nu...
518
Determine whether the {function_name} code is vulnerable or not.
[ "#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/proc.h>", "#define fiber_ptr(o) ((struct RFiber*)mrb_ptr(o))", "#define FIBER_STACK_INIT_SIZE 64\n#define FIBER_CI_INIT_SIZE 8\n/* copied from vm.c */\n#define CINFO_RESUMED 3", "/*\n * call-seq:\n * Fiber.new{...} -...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [218], "buggy_code_start_loc": [211], "filenames": ["mrbgems/mruby-fiber/src/fiber.c"], "fixing_code_end_loc": [226], "fixing_code_start_loc": [210], "message": "NULL Pointer Dereference in GitHub repository mruby/mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nu...
518
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2014-2015 Hisilicon Limited.\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 as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\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, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1483, 98], "buggy_code_start_loc": [303, 95], "filenames": ["drivers/net/ethernet/hisilicon/hns/hns_enet.c", "drivers/net/ethernet/hisilicon/hns/hns_enet.h"], "fixing_code_end_loc": [1481, 98], "fixing_code_start_loc": [303, 95], "message": "In drivers/net/ethernet/hisilicon/hns/hns_enet.c in th...
519
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2014-2015 Hisilicon Limited.\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 as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\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": [1483, 98], "buggy_code_start_loc": [303, 95], "filenames": ["drivers/net/ethernet/hisilicon/hns/hns_enet.c", "drivers/net/ethernet/hisilicon/hns/hns_enet.h"], "fixing_code_end_loc": [1481, 98], "fixing_code_start_loc": [303, 95], "message": "In drivers/net/ethernet/hisilicon/hns/hns_enet.c in th...
519
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2014-2015 Hisilicon Limited.\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 as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n */"...
[ 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": [1483, 98], "buggy_code_start_loc": [303, 95], "filenames": ["drivers/net/ethernet/hisilicon/hns/hns_enet.c", "drivers/net/ethernet/hisilicon/hns/hns_enet.h"], "fixing_code_end_loc": [1481, 98], "fixing_code_start_loc": [303, 95], "message": "In drivers/net/ethernet/hisilicon/hns/hns_enet.c in th...
519
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2014-2015 Hisilicon Limited.\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 as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n */"...
[ 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": [1483, 98], "buggy_code_start_loc": [303, 95], "filenames": ["drivers/net/ethernet/hisilicon/hns/hns_enet.c", "drivers/net/ethernet/hisilicon/hns/hns_enet.h"], "fixing_code_end_loc": [1481, 98], "fixing_code_start_loc": [303, 95], "message": "In drivers/net/ethernet/hisilicon/hns/hns_enet.c in th...
519
Determine whether the {function_name} code is vulnerable or not.
[ "using OrchardCore.Infrastructure.Html;", "namespace Microsoft.Extensions.DependencyInjection\n{\n public static partial class OrchardCoreBuilderExtensions\n {\n /// <summary>\n /// Adds html script sanitization services.\n /// </summary>\n /// <param name=\"builder\">The <see cr...
[ 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [19, 27], "buggy_code_start_loc": [19, 20], "filenames": ["src/OrchardCore/OrchardCore.Infrastructure/Html/OrchardCoreBuilderExtensions.cs", "src/docs/reference/core/Sanitizer/README.md"], "fixing_code_end_loc": [21, 34], "fixing_code_start_loc": [20, 21], "message": "In OrchardCore rc1-11259 to ...
520
Determine whether the {function_name} code is vulnerable or not.
[ "using OrchardCore.Infrastructure.Html;", "namespace Microsoft.Extensions.DependencyInjection\n{\n public static partial class OrchardCoreBuilderExtensions\n {\n /// <summary>\n /// Adds html script sanitization services.\n /// </summary>\n /// <param name=\"builder\">The <see cr...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [19, 27], "buggy_code_start_loc": [19, 20], "filenames": ["src/OrchardCore/OrchardCore.Infrastructure/Html/OrchardCoreBuilderExtensions.cs", "src/docs/reference/core/Sanitizer/README.md"], "fixing_code_end_loc": [21, 34], "fixing_code_start_loc": [20, 21], "message": "In OrchardCore rc1-11259 to ...
520