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. | [
"\"\"\"Object level permissions.\"\"\"",
"from django.contrib.auth.models import Group, Permission\nfrom django.contrib.contenttypes.models import ContentType",
"",
"\nfrom modoboa.core import constants as core_constants, signals as core_signals\nfrom modoboa.core.models import ObjectAccess, User",
"\ndef g... | [
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,
0
] | PreciseBugs | {"buggy_code_end_loc": [97, 194, 152, 16], "buggy_code_start_loc": [96, 12, 4, 4], "filenames": ["modoboa/admin/api/v1/viewsets.py", "modoboa/core/api/v2/views.py", "modoboa/lib/permissions.py", "modoboa/parameters/api/v2/viewsets.py"], "fixing_code_end_loc": [95, 200, 162, 19], "fixing_code_start_loc": [95, 12, 5, 4],... | 1,653 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"Object level permissions.\"\"\"",
"from django.contrib.auth.models import Group, Permission\nfrom django.contrib.contenttypes.models import ContentType",
"\nfrom rest_framework import permissions",
"\nfrom modoboa.core import constants as core_constants, signals as core_signals\nfrom modoboa.core.model... | [
1,
1,
1,
1,
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": [97, 194, 152, 16], "buggy_code_start_loc": [96, 12, 4, 4], "filenames": ["modoboa/admin/api/v1/viewsets.py", "modoboa/core/api/v2/views.py", "modoboa/lib/permissions.py", "modoboa/parameters/api/v2/viewsets.py"], "fixing_code_end_loc": [95, 200, 162, 19], "fixing_code_start_loc": [95, 12, 5, 4],... | 1,653 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"Parameters viewsets.\"\"\"",
"from drf_spectacular.utils import extend_schema, OpenApiParameter",
"from rest_framework import response, viewsets",
"from rest_framework.decorators import action\n",
"",
"from modoboa.lib.throttle import GetThrottleViewsetMixin",
"from . import serializers\nfrom ...... | [
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [97, 194, 152, 16], "buggy_code_start_loc": [96, 12, 4, 4], "filenames": ["modoboa/admin/api/v1/viewsets.py", "modoboa/core/api/v2/views.py", "modoboa/lib/permissions.py", "modoboa/parameters/api/v2/viewsets.py"], "fixing_code_end_loc": [95, 200, 162, 19], "fixing_code_start_loc": [95, 12, 5, 4],... | 1,653 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"Parameters viewsets.\"\"\"",
"from drf_spectacular.utils import extend_schema, OpenApiParameter",
"from rest_framework import permissions, response, viewsets",
"from rest_framework.decorators import action\n",
"from modoboa.lib.permissions import IsSuperUser",
"from modoboa.lib.throttle import GetT... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [97, 194, 152, 16], "buggy_code_start_loc": [96, 12, 4, 4], "filenames": ["modoboa/admin/api/v1/viewsets.py", "modoboa/core/api/v2/views.py", "modoboa/lib/permissions.py", "modoboa/parameters/api/v2/viewsets.py"], "fixing_code_end_loc": [95, 200, 162, 19], "fixing_code_start_loc": [95, 12, 5, 4],... | 1,653 |
Determine whether the {function_name} code is vulnerable or not. | [
"Allow Crypto SHA1 without SHA256/512 (for Original & ESP8266 where flash is scarce)\n Add better docs for the form of Wifi callback functions\n Modify ESP8266/ESP32 callbacks to match the node.js style used elsewhere\n nRF52: fix pin.toggle() on software-negated pins\n P... | [
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": [24, 3318], "buggy_code_start_loc": [24, 3317], "filenames": ["ChangeLog", "src/jsvar.c"], "fixing_code_end_loc": [26, 3318], "fixing_code_start_loc": [25, 3317], "message": "Espruino before 1.98 allows attackers to cause a denial of service (application crash) with a user crafted input file via ... | 1,654 |
Determine whether the {function_name} code is vulnerable or not. | [
"Allow Crypto SHA1 without SHA256/512 (for Original & ESP8266 where flash is scarce)\n Add better docs for the form of Wifi callback functions\n Modify ESP8266/ESP32 callbacks to match the node.js style used elsewhere\n nRF52: fix pin.toggle() on software-negated pins\n P... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [24, 3318], "buggy_code_start_loc": [24, 3317], "filenames": ["ChangeLog", "src/jsvar.c"], "fixing_code_end_loc": [26, 3318], "fixing_code_start_loc": [25, 3317], "message": "Espruino before 1.98 allows attackers to cause a denial of service (application crash) with a user crafted input file via ... | 1,654 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * This file is part of Espruino, a JavaScript interpreter for Microcontrollers\n *\n * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [24, 3318], "buggy_code_start_loc": [24, 3317], "filenames": ["ChangeLog", "src/jsvar.c"], "fixing_code_end_loc": [26, 3318], "fixing_code_start_loc": [25, 3317], "message": "Espruino before 1.98 allows attackers to cause a denial of service (application crash) with a user crafted input file via ... | 1,654 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * This file is part of Espruino, a JavaScript interpreter for Microcontrollers\n *\n * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [24, 3318], "buggy_code_start_loc": [24, 3317], "filenames": ["ChangeLog", "src/jsvar.c"], "fixing_code_end_loc": [26, 3318], "fixing_code_start_loc": [25, 3317], "message": "Espruino before 1.98 allows attackers to cause a denial of service (application crash) with a user crafted input file via ... | 1,654 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details.\n * Copyright (C) 2008 by Stefan Rado\n * based on admin.cpp by Sebastian Ramacher\n * based on admin.cpp in crox branch\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance ... | [
1,
1,
1,
1,
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": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details.\n * Copyright (C) 2008 by Stefan Rado\n * based on admin.cpp by Sebastian Ramacher\n * based on admin.cpp in crox branch\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2016 ZNC, see the NOTICE file for details.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2004-2016 ZNC, see the NOTICE file for details.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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
] | PreciseBugs | {"buggy_code_end_loc": [499, 1488, 1259, 2106, 57], "buggy_code_start_loc": [498, 1485, 1256, 2095, 57], "filenames": ["modules/controlpanel.cpp", "src/IRCNetwork.cpp", "src/User.cpp", "src/znc.cpp", "test/integration/tests/scripting.cpp"], "fixing_code_end_loc": [499, 1488, 1259, 2125, 65], "fixing_code_start_loc": [4... | 1,655 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * oEmbed API: Top-level oEmbed functionality\n *\n * @package WordPress\n * @subpackage oEmbed\n * @since 4.4.0\n */",
"/**\n * Registers an embed handler.\n *\n * Should probably only be used for sites that do not support oEmbed.\n *\n * @since 2.9.0\n *\n * @global WP_Embed $wp_embed\n *\n * @para... | [
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,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [230, 8], "buggy_code_start_loc": [229, 7], "filenames": ["wp-includes/embed.php", "wp-includes/version.php"], "fixing_code_end_loc": [230, 8], "fixing_code_start_loc": [229, 7], "message": "In WordPress before 4.7.3 (wp-includes/embed.php), there is authenticated Cross-Site Scripting (XSS) in Yo... | 1,656 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * oEmbed API: Top-level oEmbed functionality\n *\n * @package WordPress\n * @subpackage oEmbed\n * @since 4.4.0\n */",
"/**\n * Registers an embed handler.\n *\n * Should probably only be used for sites that do not support oEmbed.\n *\n * @since 2.9.0\n *\n * @global WP_Embed $wp_embed\n *\n * @para... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [230, 8], "buggy_code_start_loc": [229, 7], "filenames": ["wp-includes/embed.php", "wp-includes/version.php"], "fixing_code_end_loc": [230, 8], "fixing_code_start_loc": [229, 7], "message": "In WordPress before 4.7.3 (wp-includes/embed.php), there is authenticated Cross-Site Scripting (XSS) in Yo... | 1,656 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * The WordPress version string\n *\n * @global string $wp_version\n */",
"$wp_version = '4.8-alpha-40148';",
"\n/**\n * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.\n *\n * @global int $wp_db_version\n */\n$wp_db_version = 38590;",
"/**\n * Holds ... | [
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [230, 8], "buggy_code_start_loc": [229, 7], "filenames": ["wp-includes/embed.php", "wp-includes/version.php"], "fixing_code_end_loc": [230, 8], "fixing_code_start_loc": [229, 7], "message": "In WordPress before 4.7.3 (wp-includes/embed.php), there is authenticated Cross-Site Scripting (XSS) in Yo... | 1,656 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * The WordPress version string\n *\n * @global string $wp_version\n */",
"$wp_version = '4.8-alpha-40160';",
"\n/**\n * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.\n *\n * @global int $wp_db_version\n */\n$wp_db_version = 38590;",
"/**\n * Holds ... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [230, 8], "buggy_code_start_loc": [229, 7], "filenames": ["wp-includes/embed.php", "wp-includes/version.php"], "fixing_code_end_loc": [230, 8], "fixing_code_start_loc": [229, 7], "message": "In WordPress before 4.7.3 (wp-includes/embed.php), there is authenticated Cross-Site Scripting (XSS) in Yo... | 1,656 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * CUSE: Character device in Userspace\n *\n * Copyright (C) 2008-2009 SUSE Linux Products GmbH\n * Copyright (C) 2008-2009 Tejun Heo <tj@kernel.org>\n *\n * This file is released under the GPLv2.\n *\n * CUSE enables character devices to be implemented from userland much\n * like FUSE allows filesystems. O... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [551], "buggy_code_start_loc": [551], "filenames": ["fs/fuse/cuse.c"], "fixing_code_end_loc": [554], "fixing_code_start_loc": [552], "message": "Memory leak in the cuse_channel_release function in fs/fuse/cuse.c in the Linux kernel before 4.4 allows local users to cause a denial of service (memor... | 1,657 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * CUSE: Character device in Userspace\n *\n * Copyright (C) 2008-2009 SUSE Linux Products GmbH\n * Copyright (C) 2008-2009 Tejun Heo <tj@kernel.org>\n *\n * This file is released under the GPLv2.\n *\n * CUSE enables character devices to be implemented from userland much\n * like FUSE allows filesystems. O... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [551], "buggy_code_start_loc": [551], "filenames": ["fs/fuse/cuse.c"], "fixing_code_end_loc": [554], "fixing_code_start_loc": [552], "message": "Memory leak in the cuse_channel_release function in fs/fuse/cuse.c in the Linux kernel before 4.4 allows local users to cause a denial of service (memor... | 1,657 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @file\n * Repository Interface.\n *\n * All LaravelJqGrid code is copyright by the original authors and released under the MIT License.\n * See LICENSE.\n */",
"namespace Mgallegos\\LaravelJqgrid\\Repositories;",
"abstract class EloquentRepositoryAbstract implements RepositoryInterface{",
"\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,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [305], "buggy_code_start_loc": [302], "filenames": ["src/Mgallegos/LaravelJqgrid/Repositories/EloquentRepositoryAbstract.php"], "fixing_code_end_loc": [314], "fixing_code_start_loc": [302], "message": "A vulnerability classified as critical was found in laravel-jqgrid. Affected by this vulnerabil... | 1,658 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @file\n * Repository Interface.\n *\n * All LaravelJqGrid code is copyright by the original authors and released under the MIT License.\n * See LICENSE.\n */",
"namespace Mgallegos\\LaravelJqgrid\\Repositories;",
"abstract class EloquentRepositoryAbstract implements RepositoryInterface{",
"\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
] | PreciseBugs | {"buggy_code_end_loc": [305], "buggy_code_start_loc": [302], "filenames": ["src/Mgallegos/LaravelJqgrid/Repositories/EloquentRepositoryAbstract.php"], "fixing_code_end_loc": [314], "fixing_code_start_loc": [302], "message": "A vulnerability classified as critical was found in laravel-jqgrid. Affected by this vulnerabil... | 1,658 |
Determine whether the {function_name} code is vulnerable or not. | [
"class Uke::Finder\n attr_accessor :q, :limit, :results, :results_voice, :results_digital, :location, :location_radius, :active_import",
" def initialize\n @results = @results_voice = @results_digital = []",
" @active_import = UkeImport.find_by_active(true)\n raise 'There is no active import' if acti... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [153], "buggy_code_start_loc": [52], "filenames": ["lib/uke/finder.rb"], "fixing_code_end_loc": [153], "fixing_code_start_loc": [52], "message": "A vulnerability classified as critical has been found in arekk uke. This affects an unknown part of the file lib/uke/finder.rb. The manipulation leads ... | 1,659 |
Determine whether the {function_name} code is vulnerable or not. | [
"class Uke::Finder\n attr_accessor :q, :limit, :results, :results_voice, :results_digital, :location, :location_radius, :active_import",
" def initialize\n @results = @results_voice = @results_digital = []",
" @active_import = UkeImport.find_by_active(true)\n raise 'There is no active import' if acti... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [153], "buggy_code_start_loc": [52], "filenames": ["lib/uke/finder.rb"], "fixing_code_end_loc": [153], "fixing_code_start_loc": [52], "message": "A vulnerability classified as critical has been found in arekk uke. This affects an unknown part of the file lib/uke/finder.rb. The manipulation leads ... | 1,659 |
Determine whether the {function_name} code is vulnerable or not. | [
"=head1 WebminCore.pm",
"Perl module that exports Webmin API functions. Example code :",
" use WebminCore;\n init_config();\n ui_print_header(undef, 'My Module', '');\n print 'This is Webmin version ',get_webmin_version(),'<p>\\n';\n ui_print_footer();",
"Full function documentation is in web-lib-funcs.p... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [24, 20, 34, 12120], "buggy_code_start_loc": [23, 16, 30, 12120], "filenames": ["WebminCore.pm", "fastrpc.cgi", "rpc.cgi", "web-lib-funcs.pl"], "fixing_code_end_loc": [24, 17, 31, 12135], "fixing_code_start_loc": [23, 16, 30, 12121], "message": "Webmin through 1.991, when the Authentic theme is u... | 1,660 |
Determine whether the {function_name} code is vulnerable or not. | [
"=head1 WebminCore.pm",
"Perl module that exports Webmin API functions. Example code :",
" use WebminCore;\n init_config();\n ui_print_header(undef, 'My Module', '');\n print 'This is Webmin version ',get_webmin_version(),'<p>\\n';\n ui_print_footer();",
"Full function documentation is in web-lib-funcs.p... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [24, 20, 34, 12120], "buggy_code_start_loc": [23, 16, 30, 12120], "filenames": ["WebminCore.pm", "fastrpc.cgi", "rpc.cgi", "web-lib-funcs.pl"], "fixing_code_end_loc": [24, 17, 31, 12135], "fixing_code_start_loc": [23, 16, 30, 12121], "message": "Webmin through 1.991, when the Authentic theme is u... | 1,660 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/local/bin/perl\n# Handles remote_* function calls by a faster method. When first called\n# as a CGI, forks and starts listening on a port which is returned to the\n# client. From then on, direct TCP connections can be made to this port\n# to send requests and get replies.",
"BEGIN { push(@INC, \".\"); };\... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [24, 20, 34, 12120], "buggy_code_start_loc": [23, 16, 30, 12120], "filenames": ["WebminCore.pm", "fastrpc.cgi", "rpc.cgi", "web-lib-funcs.pl"], "fixing_code_end_loc": [24, 17, 31, 12135], "fixing_code_start_loc": [23, 16, 30, 12121], "message": "Webmin through 1.991, when the Authentic theme is u... | 1,660 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/local/bin/perl\n# Handles remote_* function calls by a faster method. When first called\n# as a CGI, forks and starts listening on a port which is returned to the\n# client. From then on, direct TCP connections can be made to this port\n# to send requests and get replies.",
"BEGIN { push(@INC, \".\"); };\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [24, 20, 34, 12120], "buggy_code_start_loc": [23, 16, 30, 12120], "filenames": ["WebminCore.pm", "fastrpc.cgi", "rpc.cgi", "web-lib-funcs.pl"], "fixing_code_end_loc": [24, 17, 31, 12135], "fixing_code_start_loc": [23, 16, 30, 12121], "message": "Webmin through 1.991, when the Authentic theme is u... | 1,660 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/local/bin/perl\n# rpc.cgi\n# Handles remote_foreign_require and remote_foreign_call requests from\n# other webmin servers. State is preserved by starting a process for each\n# session that listens for requests on a named pipe (and dies after a few\n# seconds of inactivity)\n# access{'rpc'} 0=not allowed 1=... | [
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [24, 20, 34, 12120], "buggy_code_start_loc": [23, 16, 30, 12120], "filenames": ["WebminCore.pm", "fastrpc.cgi", "rpc.cgi", "web-lib-funcs.pl"], "fixing_code_end_loc": [24, 17, 31, 12135], "fixing_code_start_loc": [23, 16, 30, 12121], "message": "Webmin through 1.991, when the Authentic theme is u... | 1,660 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/local/bin/perl\n# rpc.cgi\n# Handles remote_foreign_require and remote_foreign_call requests from\n# other webmin servers. State is preserved by starting a process for each\n# session that listens for requests on a named pipe (and dies after a few\n# seconds of inactivity)\n# access{'rpc'} 0=not allowed 1=... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [24, 20, 34, 12120], "buggy_code_start_loc": [23, 16, 30, 12120], "filenames": ["WebminCore.pm", "fastrpc.cgi", "rpc.cgi", "web-lib-funcs.pl"], "fixing_code_end_loc": [24, 17, 31, 12135], "fixing_code_start_loc": [23, 16, 30, 12121], "message": "Webmin through 1.991, when the Authentic theme is u... | 1,660 |
Determine whether the {function_name} code is vulnerable or not. | [
"=head1 web-lib-funcs.pl",
"Common functions for Webmin CGI scripts. This file gets in-directly included\nby all scripts that use web-lib.pl.\nExample code:",
" use WebminCore;\n init_config();\n ui_print_header(undef, 'My Module', '');\n print 'This is Webmin version ',get_webmin_version(),'<p>\\n';\n ui_... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [24, 20, 34, 12120], "buggy_code_start_loc": [23, 16, 30, 12120], "filenames": ["WebminCore.pm", "fastrpc.cgi", "rpc.cgi", "web-lib-funcs.pl"], "fixing_code_end_loc": [24, 17, 31, 12135], "fixing_code_start_loc": [23, 16, 30, 12121], "message": "Webmin through 1.991, when the Authentic theme is u... | 1,660 |
Determine whether the {function_name} code is vulnerable or not. | [
"=head1 web-lib-funcs.pl",
"Common functions for Webmin CGI scripts. This file gets in-directly included\nby all scripts that use web-lib.pl.\nExample code:",
" use WebminCore;\n init_config();\n ui_print_header(undef, 'My Module', '');\n print 'This is Webmin version ',get_webmin_version(),'<p>\\n';\n ui_... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [24, 20, 34, 12120], "buggy_code_start_loc": [23, 16, 30, 12120], "filenames": ["WebminCore.pm", "fastrpc.cgi", "rpc.cgi", "web-lib-funcs.pl"], "fixing_code_end_loc": [24, 17, 31, 12135], "fixing_code_start_loc": [23, 16, 30, 12121], "message": "Webmin through 1.991, when the Authentic theme is u... | 1,660 |
Determine whether the {function_name} code is vulnerable or not. | [
"linters:\n enable:\n - gosec\n disable:\n - ineffassign\n - deadcode\n - unused\n - structcheck",
" - errcheck",
" - gosimple\n - bodyclose\n - staticcheck",
"run:\n skip-files:\n - \".+_test.go\"\n - \".+_test_.+.go\""
] | [
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"linters:\n enable:\n - gosec\n disable:\n - ineffassign\n - deadcode\n - unused\n - structcheck",
"",
" - gosimple\n - bodyclose\n - staticcheck",
"run:\n skip-files:\n - \".+_test.go\"\n - \".+_test_.+.go\""
] | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"// +build tools",
"package fosite",
"import (\n\t_ \"github.com/gorilla/websocket\"\n\t_ \"github.com/mattn/goveralls\"",
"",
"\t_ \"github.com/ory/go-acc\"\n)"
] | [
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"// +build tools",
"package fosite",
"import (\n\t_ \"github.com/gorilla/websocket\"\n\t_ \"github.com/mattn/goveralls\"",
"",
"\t_ \"github.com/ory/go-acc\"\n)"
] | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
0,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n *... | [
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": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\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
] | PreciseBugs | {"buggy_code_end_loc": [10, 57, 43, 57, 170, 38, 7, 77, 166, 43, 127, 173], "buggy_code_start_loc": [9, 56, 42, 56, 165, 31, 7, 60, 60, 42, 115, 172], "filenames": [".golangci.yml", "access_error.go", "access_write.go", "authorize_error.go", "errors.go", "errors_test.go", "go_mod_indirect_pins.go", "handler/oauth2/revo... | 1,661 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"use strict\";\nwindow.search = window.search || {};\n(function search(search) {\n // Search functionality\n //\n // You can use !hasFocus() to prevent keyhandling in your key\n // event handlers while the user is typing their search.",
" if (!Mark || !elasticlunr) {\n return;\n }",
"... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [146], "buggy_code_start_loc": [146], "filenames": ["src/theme/searcher/searcher.js"], "fixing_code_end_loc": [152], "fixing_code_start_loc": [147], "message": "mdBook is a utility to create modern online books from Markdown files and is written in Rust. In mdBook before version 0.4.5, there is a... | 1,662 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"use strict\";\nwindow.search = window.search || {};\n(function search(search) {\n // Search functionality\n //\n // You can use !hasFocus() to prevent keyhandling in your key\n // event handlers while the user is typing their search.",
" if (!Mark || !elasticlunr) {\n return;\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
] | PreciseBugs | {"buggy_code_end_loc": [146], "buggy_code_start_loc": [146], "filenames": ["src/theme/searcher/searcher.js"], "fixing_code_end_loc": [152], "fixing_code_start_loc": [147], "message": "mdBook is a utility to create modern online books from Markdown files and is written in Rust. In mdBook before version 0.4.5, there is a... | 1,662 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*-\n* Copyright (c) 2003-2007 Tim Kientzle\n* Copyright (c) 2011 Andres Mejia\n* All rights reserved.\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions\n* are met:\n* 1. Redistributions of source code must retain the abov... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1028], "buggy_code_start_loc": [1027], "filenames": ["libarchive/archive_read_support_format_rar.c"], "fixing_code_end_loc": [1031], "fixing_code_start_loc": [1027], "message": "archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free... | 1,663 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*-\n* Copyright (c) 2003-2007 Tim Kientzle\n* Copyright (c) 2011 Andres Mejia\n* All rights reserved.\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions\n* are met:\n* 1. Redistributions of source code must retain the abov... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1028], "buggy_code_start_loc": [1027], "filenames": ["libarchive/archive_read_support_format_rar.c"], "fixing_code_end_loc": [1031], "fixing_code_start_loc": [1027], "message": "archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free... | 1,663 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * EGroupware eTemplate2 - JS Widget base class\n *\n * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License\n * @package etemplate\n * @subpackage api\n * @link http://www.egroupware.org\n * @author Andreas Stöckel\n * @copyright Stylite 2011\n * @version $Id$\n */",
"/*... | [
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,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [281, 167, 918, 21], "buggy_code_start_loc": [34, 109, 81, 17], "filenames": ["api/js/etemplate/et2_core_baseWidget.js", "api/js/jsapi/egw_tooltip.js", "calendar/js/et2_widget_event.js", "calendar/templates/default/conflicts.xet"], "fixing_code_end_loc": [287, 175, 919, 21], "fixing_code_start_lo... | 1,664 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * EGroupware eTemplate2 - JS Widget base class\n *\n * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License\n * @package etemplate\n * @subpackage api\n * @link http://www.egroupware.org\n * @author Andreas Stöckel\n * @copyright Stylite 2011\n * @version $Id$\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": [281, 167, 918, 21], "buggy_code_start_loc": [34, 109, 81, 17], "filenames": ["api/js/etemplate/et2_core_baseWidget.js", "api/js/jsapi/egw_tooltip.js", "calendar/js/et2_widget_event.js", "calendar/templates/default/conflicts.xet"], "fixing_code_end_loc": [287, 175, 919, 21], "fixing_code_start_lo... | 1,664 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * EGroupware clientside API object\n *\n * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License\n * @package etemplate\n * @subpackage api\n * @link http://www.egroupware.org\n * @author Andreas Stöckel (as AT stylite.de)\n * @author Ralf Becker <RalfBecker@outdoor-trainin... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [281, 167, 918, 21], "buggy_code_start_loc": [34, 109, 81, 17], "filenames": ["api/js/etemplate/et2_core_baseWidget.js", "api/js/jsapi/egw_tooltip.js", "calendar/js/et2_widget_event.js", "calendar/templates/default/conflicts.xet"], "fixing_code_end_loc": [287, 175, 919, 21], "fixing_code_start_lo... | 1,664 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * EGroupware clientside API object\n *\n * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License\n * @package etemplate\n * @subpackage api\n * @link http://www.egroupware.org\n * @author Andreas Stöckel (as AT stylite.de)\n * @author Ralf Becker <RalfBecker@outdoor-trainin... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [281, 167, 918, 21], "buggy_code_start_loc": [34, 109, 81, 17], "filenames": ["api/js/etemplate/et2_core_baseWidget.js", "api/js/jsapi/egw_tooltip.js", "calendar/js/et2_widget_event.js", "calendar/templates/default/conflicts.xet"], "fixing_code_end_loc": [287, 175, 919, 21], "fixing_code_start_lo... | 1,664 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Egroupware Calendar event widget\n * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License\n * @package etemplate\n * @subpackage api\n * @link http://www.egroupware.org\n * @author Nathan Gray\n * @version $Id$\n */",
"\n/*egw:uses\n\t/etemplate/js/et2_core_valueWidget;... | [
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [281, 167, 918, 21], "buggy_code_start_loc": [34, 109, 81, 17], "filenames": ["api/js/etemplate/et2_core_baseWidget.js", "api/js/jsapi/egw_tooltip.js", "calendar/js/et2_widget_event.js", "calendar/templates/default/conflicts.xet"], "fixing_code_end_loc": [287, 175, 919, 21], "fixing_code_start_lo... | 1,664 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Egroupware Calendar event widget\n * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License\n * @package etemplate\n * @subpackage api\n * @link http://www.egroupware.org\n * @author Nathan Gray\n * @version $Id$\n */",
"\n/*egw:uses\n\t/etemplate/js/et2_core_valueWidget;... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [281, 167, 918, 21], "buggy_code_start_loc": [34, 109, 81, 17], "filenames": ["api/js/etemplate/et2_core_baseWidget.js", "api/js/jsapi/egw_tooltip.js", "calendar/js/et2_widget_event.js", "calendar/templates/default/conflicts.xet"], "fixing_code_end_loc": [287, 175, 919, 21], "fixing_code_start_lo... | 1,664 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE overlay PUBLIC \"-//EGroupware GmbH//eTemplate 2//EN\" \"http://www.egroupware.org/etemplate2.dtd\">\n<!-- $Id$ -->\n<overlay>\n\t<template id=\"calendar.conflicts\" template=\"\" lang=\"\" group=\"0\" version=\"1.0.1.001\">\n\t\t<description value=\"Scheduling... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [281, 167, 918, 21], "buggy_code_start_loc": [34, 109, 81, 17], "filenames": ["api/js/etemplate/et2_core_baseWidget.js", "api/js/jsapi/egw_tooltip.js", "calendar/js/et2_widget_event.js", "calendar/templates/default/conflicts.xet"], "fixing_code_end_loc": [287, 175, 919, 21], "fixing_code_start_lo... | 1,664 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE overlay PUBLIC \"-//EGroupware GmbH//eTemplate 2//EN\" \"http://www.egroupware.org/etemplate2.dtd\">\n<!-- $Id$ -->\n<overlay>\n\t<template id=\"calendar.conflicts\" template=\"\" lang=\"\" group=\"0\" version=\"1.0.1.001\">\n\t\t<description value=\"Scheduling... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [281, 167, 918, 21], "buggy_code_start_loc": [34, 109, 81, 17], "filenames": ["api/js/etemplate/et2_core_baseWidget.js", "api/js/jsapi/egw_tooltip.js", "calendar/js/et2_widget_event.js", "calendar/templates/default/conflicts.xet"], "fixing_code_end_loc": [287, 175, 919, 21], "fixing_code_start_lo... | 1,664 |
Determine whether the {function_name} code is vulnerable or not. | [
"package org.airsonic.player.security;",
"import org.airsonic.player.service.JWTSecurityService;\nimport org.airsonic.player.service.SecurityService;\nimport org.airsonic.player.service.SettingsService;\nimport org.apache.commons.lang3.StringUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimpor... | [
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [170], "buggy_code_start_loc": [24], "filenames": ["airsonic-main/src/main/java/org/airsonic/player/security/GlobalSecurityConfig.java"], "fixing_code_end_loc": [180], "fixing_code_start_loc": [25], "message": "Airsonic 10.2.1 uses Spring's default remember-me mechanism based on MD5, with a fixed... | 1,665 |
Determine whether the {function_name} code is vulnerable or not. | [
"package org.airsonic.player.security;",
"import org.airsonic.player.service.JWTSecurityService;\nimport org.airsonic.player.service.SecurityService;\nimport org.airsonic.player.service.SettingsService;\nimport org.apache.commons.lang3.StringUtils;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimpor... | [
1,
1,
1,
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": [170], "buggy_code_start_loc": [24], "filenames": ["airsonic-main/src/main/java/org/airsonic/player/security/GlobalSecurityConfig.java"], "fixing_code_end_loc": [180], "fixing_code_start_loc": [25], "message": "Airsonic 10.2.1 uses Spring's default remember-me mechanism based on MD5, with a fixed... | 1,665 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n# MantisBT - A PHP based bugtracking system",
"# MantisBT 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#\n# Mantis... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [427], "buggy_code_start_loc": [423], "filenames": ["core/access_api.php"], "fixing_code_end_loc": [429], "fixing_code_start_loc": [423], "message": "The access_has_bug_level function in core/access_api.php in MantisBT before 1.2.9 does not properly restrict access when the private_bug_view_thres... | 1,666 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n# MantisBT - A PHP based bugtracking system",
"# MantisBT 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#\n# Mantis... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [427], "buggy_code_start_loc": [423], "filenames": ["core/access_api.php"], "fixing_code_end_loc": [429], "fixing_code_start_loc": [423], "message": "The access_has_bug_level function in core/access_api.php in MantisBT before 1.2.9 does not properly restrict access when the private_bug_view_thres... | 1,666 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n// Extend this class to re-use db connection\nclass dbConn {\n\tpublic $conn;\n\tpublic function __construct(){",
"\t\tinclude 'config.php';\n\t\t// Connect to server and select database.\n\t\t$this->conn = new PDO('mysql:host='.$host.';dbname='.$db_name.';charset=utf8', $username, $password);\n\t\t$this-... | [
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [56], "buggy_code_start_loc": [30], "filenames": ["login/scripts/class.loginscript.php"], "fixing_code_end_loc": [62], "fixing_code_start_loc": [31], "message": "A vulnerability was found in PHP-Login 1.0. It has been declared as critical. This vulnerability affects the function checkLogin of the... | 1,667 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n// Extend this class to re-use db connection\nclass dbConn {\n\tpublic $conn;\n\tpublic function __construct(){",
"\t\tinclude 'config.php';\n\t\t// Connect to server and select database.\n\t\t$this->conn = new PDO('mysql:host='.$host.';dbname='.$db_name.';charset=utf8', $username, $password);\n\t\t$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,
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": [56], "buggy_code_start_loc": [30], "filenames": ["login/scripts/class.loginscript.php"], "fixing_code_end_loc": [62], "fixing_code_start_loc": [31], "message": "A vulnerability was found in PHP-Login 1.0. It has been declared as critical. This vulnerability affects the function checkLogin of the... | 1,667 |
Determine whether the {function_name} code is vulnerable or not. | [
"import {insertText} from './text'",
"export function install(el: HTMLElement): void {\n el.addEventListener('dragover', onDragover)\n el.addEventListener('drop', onDrop)\n el.addEventListener('paste', onPaste)\n}",
"export function uninstall(el: HTMLElement): void {\n el.removeEventListener('dragover', onD... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [93, 99], "buggy_code_start_loc": [90, 38], "filenames": ["src/paste-markdown-table.ts", "test/test.js"], "fixing_code_end_loc": [94, 119], "fixing_code_start_loc": [90, 39], "message": "@github/paste-markdown is an npm package for pasting markdown objects. A self Cross-Site Scripting vulnerabili... | 1,668 |
Determine whether the {function_name} code is vulnerable or not. | [
"import {insertText} from './text'",
"export function install(el: HTMLElement): void {\n el.addEventListener('dragover', onDragover)\n el.addEventListener('drop', onDrop)\n el.addEventListener('paste', onPaste)\n}",
"export function uninstall(el: HTMLElement): void {\n el.removeEventListener('dragover', onD... | [
1,
1,
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": [93, 99], "buggy_code_start_loc": [90, 38], "filenames": ["src/paste-markdown-table.ts", "test/test.js"], "fixing_code_end_loc": [94, 119], "fixing_code_start_loc": [90, 39], "message": "@github/paste-markdown is an npm package for pasting markdown objects. A self Cross-Site Scripting vulnerabili... | 1,668 |
Determine whether the {function_name} code is vulnerable or not. | [
"import subscribe from '../dist/index.esm.js'",
"describe('paste-markdown', function () {\n describe('installed on textarea', function () {\n let subscription, textarea\n beforeEach(function () {\n document.body.innerHTML = `\n <textarea data-paste-markdown></textarea>\n `",
" texta... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [93, 99], "buggy_code_start_loc": [90, 38], "filenames": ["src/paste-markdown-table.ts", "test/test.js"], "fixing_code_end_loc": [94, 119], "fixing_code_start_loc": [90, 39], "message": "@github/paste-markdown is an npm package for pasting markdown objects. A self Cross-Site Scripting vulnerabili... | 1,668 |
Determine whether the {function_name} code is vulnerable or not. | [
"import subscribe from '../dist/index.esm.js'",
"describe('paste-markdown', function () {\n describe('installed on textarea', function () {\n let subscription, textarea\n beforeEach(function () {\n document.body.innerHTML = `\n <textarea data-paste-markdown></textarea>\n `",
" texta... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [93, 99], "buggy_code_start_loc": [90, 38], "filenames": ["src/paste-markdown-table.ts", "test/test.js"], "fixing_code_end_loc": [94, 119], "fixing_code_start_loc": [90, 39], "message": "@github/paste-markdown is an npm package for pasting markdown objects. A self Cross-Site Scripting vulnerabili... | 1,668 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ... | [
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [3592], "buggy_code_start_loc": [69], "filenames": ["coders/svg.c"], "fixing_code_end_loc": [3598], "fixing_code_start_loc": [69], "message": "ImageMagick before 7.0.9-0 allows remote attackers to cause a denial of service because XML_PARSE_HUGE is not properly restricted in coders/svg.c, related... | 1,669 |
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": [3592], "buggy_code_start_loc": [69], "filenames": ["coders/svg.c"], "fixing_code_end_loc": [3598], "fixing_code_start_loc": [69], "message": "ImageMagick before 7.0.9-0 allows remote attackers to cause a denial of service because XML_PARSE_HUGE is not properly restricted in coders/svg.c, related... | 1,669 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * jabberd - Jabber Open Source Server\n * Copyright (c) 2002 Jeremie Miller, Thomas Muldowney,\n * Ryan Eatmon, Robert Norris\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 So... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1753], "buggy_code_start_loc": [1664], "filenames": ["s2s/out.c"], "fixing_code_end_loc": [1753], "fixing_code_start_loc": [1664], "message": "s2s/out.c in jabberd2 2.2.16 and earlier does not verify that a request was made for an XMPP Server Dialback response, which allows remote XMPP servers t... | 1,670 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * jabberd - Jabber Open Source Server\n * Copyright (c) 2002 Jeremie Miller, Thomas Muldowney,\n * Ryan Eatmon, Robert Norris\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 So... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1753], "buggy_code_start_loc": [1664], "filenames": ["s2s/out.c"], "fixing_code_end_loc": [1753], "fixing_code_start_loc": [1664], "message": "s2s/out.c in jabberd2 2.2.16 and earlier does not verify that a request was made for an XMPP Server Dialback response, which allows remote XMPP servers t... | 1,670 |
Determine whether the {function_name} code is vulnerable or not. | [
"package io.github.karlatemp.unsafeaccessor;",
"import org.jetbrains.annotations.Contract;",
"import java.lang.invoke.MethodHandle;\nimport java.lang.invoke.MethodHandles;\nimport java.lang.reflect.AccessibleObject;\nimport java.lang.reflect.Field;\nimport java.util.function.Consumer;",
"/**\n * JVM Root Acce... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [162, 21], "buggy_code_start_loc": [160, 20], "filenames": ["api/src/main/java/io/github/karlatemp/unsafeaccessor/Root.java", "api/src/main/java/io/github/karlatemp/unsafeaccessor/UnsafeAccess.java"], "fixing_code_end_loc": [162, 22], "fixing_code_start_loc": [160, 20], "message": "UnsafeAccessor... | 1,671 |
Determine whether the {function_name} code is vulnerable or not. | [
"package io.github.karlatemp.unsafeaccessor;",
"import org.jetbrains.annotations.Contract;",
"import java.lang.invoke.MethodHandle;\nimport java.lang.invoke.MethodHandles;\nimport java.lang.reflect.AccessibleObject;\nimport java.lang.reflect.Field;\nimport java.util.function.Consumer;",
"/**\n * JVM Root Acce... | [
1,
1,
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": [162, 21], "buggy_code_start_loc": [160, 20], "filenames": ["api/src/main/java/io/github/karlatemp/unsafeaccessor/Root.java", "api/src/main/java/io/github/karlatemp/unsafeaccessor/UnsafeAccess.java"], "fixing_code_end_loc": [162, 22], "fixing_code_start_loc": [160, 20], "message": "UnsafeAccessor... | 1,671 |
Determine whether the {function_name} code is vulnerable or not. | [
"package io.github.karlatemp.unsafeaccessor;",
"import java.lang.invoke.MethodHandles;\nimport java.lang.reflect.AccessibleObject;",
"/**\n * Direct unsafe access\n * <p>\n * A bridge object to access unsafe.\n * <p>\n * Unlike other methods, using this bridge will not trigger any permission checks.\n * The per... | [
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [162, 21], "buggy_code_start_loc": [160, 20], "filenames": ["api/src/main/java/io/github/karlatemp/unsafeaccessor/Root.java", "api/src/main/java/io/github/karlatemp/unsafeaccessor/UnsafeAccess.java"], "fixing_code_end_loc": [162, 22], "fixing_code_start_loc": [160, 20], "message": "UnsafeAccessor... | 1,671 |
Determine whether the {function_name} code is vulnerable or not. | [
"package io.github.karlatemp.unsafeaccessor;",
"import java.lang.invoke.MethodHandles;\nimport java.lang.reflect.AccessibleObject;",
"/**\n * Direct unsafe access\n * <p>\n * A bridge object to access unsafe.\n * <p>\n * Unlike other methods, using this bridge will not trigger any permission checks.\n * The per... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [162, 21], "buggy_code_start_loc": [160, 20], "filenames": ["api/src/main/java/io/github/karlatemp/unsafeaccessor/Root.java", "api/src/main/java/io/github/karlatemp/unsafeaccessor/UnsafeAccess.java"], "fixing_code_end_loc": [162, 22], "fixing_code_start_loc": [160, 20], "message": "UnsafeAccessor... | 1,671 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% extends \"./layout/default\" %}",
"{% block breadcrumbs %}\n {{ Breadcrumbs.render(Route.getCurrentRoute.getName, link) }}\n{% endblock %}",
"{% block content %}",
" <form method=\"POST\" action=\"{{ route('transactions.link.destroy', [link.id]) }}\" accept-charset=\"UTF-8\" class=\"form-horizontal\... | [
1,
1,
1,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [23], "buggy_code_start_loc": [15], "filenames": ["resources/views/v1/transactions/links/delete.twig"], "fixing_code_end_loc": [23], "fixing_code_start_loc": [15], "message": "Firefly III 4.7.17.3 is vulnerable to stored XSS due to the lack of filtration of user-supplied data in the transaction d... | 1,672 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% extends \"./layout/default\" %}",
"{% block breadcrumbs %}\n {{ Breadcrumbs.render(Route.getCurrentRoute.getName, link) }}\n{% endblock %}",
"{% block content %}",
" <form method=\"POST\" action=\"{{ route('transactions.link.destroy', [link.id]) }}\" accept-charset=\"UTF-8\" class=\"form-horizontal\... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [23], "buggy_code_start_loc": [15], "filenames": ["resources/views/v1/transactions/links/delete.twig"], "fixing_code_end_loc": [23], "fixing_code_start_loc": [15], "message": "Firefly III 4.7.17.3 is vulnerable to stored XSS due to the lack of filtration of user-supplied data in the transaction d... | 1,672 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Overview of actions in the admin section.\n *\n * PHP Version 5.5\n *\n * http://www.mozilla.org/MPL/\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.or... | [
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [148], "buggy_code_start_loc": [37], "filenames": ["phpmyfaq/admin/stat.adminlog.php"], "fixing_code_end_loc": [156], "fixing_code_start_loc": [38], "message": "In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.adminlog.php.", "other": {"cve": {"cisaActionDue": nu... | 1,673 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Overview of actions in the admin section.\n *\n * PHP Version 5.5\n *\n * http://www.mozilla.org/MPL/\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.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
] | PreciseBugs | {"buggy_code_end_loc": [148], "buggy_code_start_loc": [37], "filenames": ["phpmyfaq/admin/stat.adminlog.php"], "fixing_code_end_loc": [156], "fixing_code_start_loc": [38], "message": "In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.adminlog.php.", "other": {"cve": {"cisaActionDue": nu... | 1,673 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n Ming, an SWF output library\n Copyright (C) 2002 Opaque Industries - http://www.opaque.net/",
" This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n versi... | [
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,
1... | PreciseBugs | {"buggy_code_end_loc": [117], "buggy_code_start_loc": [116], "filenames": ["src/blocks/input.c"], "fixing_code_end_loc": [117], "fixing_code_start_loc": [116], "message": "In Ming (aka libming) 0.4.8, there is an integer overflow (caused by an out-of-range left shift) in the SWFInput_readSBits function in blocks/input.... | 1,674 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n Ming, an SWF output library\n Copyright (C) 2002 Opaque Industries - http://www.opaque.net/",
" This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n versi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [117], "buggy_code_start_loc": [116], "filenames": ["src/blocks/input.c"], "fixing_code_end_loc": [117], "fixing_code_start_loc": [116], "message": "In Ming (aka libming) 0.4.8, there is an integer overflow (caused by an out-of-range left shift) in the SWFInput_readSBits function in blocks/input.... | 1,674 |
Determine whether the {function_name} code is vulnerable or not. | [
"//--------------------------------------------------------------------------\r\n// Program to pull the information out of various types of EXIF digital \r\n// camera files and show it in a reasonably consistent way\r\n//\r\n// This module handles basic Jpeg file handling\r\n//\r\n// Matthias Wandel\r\n//----------... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [479], "buggy_code_start_loc": [172], "filenames": ["jpgfile.c"], "fixing_code_end_loc": [484], "fixing_code_start_loc": [172], "message": "JHEAD is a simple command line tool for displaying and some manipulation of EXIF header data embedded in Jpeg images from digital cameras. In affected versio... | 1,675 |
Determine whether the {function_name} code is vulnerable or not. | [
"//--------------------------------------------------------------------------\r\n// Program to pull the information out of various types of EXIF digital \r\n// camera files and show it in a reasonably consistent way\r\n//\r\n// This module handles basic Jpeg file handling\r\n//\r\n// Matthias Wandel\r\n//----------... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [479], "buggy_code_start_loc": [172], "filenames": ["jpgfile.c"], "fixing_code_end_loc": [484], "fixing_code_start_loc": [172], "message": "JHEAD is a simple command line tool for displaying and some manipulation of EXIF header data embedded in Jpeg images from digital cameras. In affected versio... | 1,675 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * The Ajax Service Layer.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/.\n *\n * @package phpMyFAQ\n * @author Thorsten Rinne <thorsten@... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [121, 159, 498], "buggy_code_start_loc": [119, 158, 494], "filenames": ["phpmyfaq/ajaxservice.php", "phpmyfaq/lang/language_de.php", "phpmyfaq/src/phpMyFAQ/Captcha.php"], "fixing_code_end_loc": [121, 159, 498], "fixing_code_start_loc": [119, 158, 494], "message": "Authentication Bypass by Capture... | 1,676 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * The Ajax Service Layer.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/.\n *\n * @package phpMyFAQ\n * @author Thorsten Rinne <thorsten@... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [121, 159, 498], "buggy_code_start_loc": [119, 158, 494], "filenames": ["phpmyfaq/ajaxservice.php", "phpmyfaq/lang/language_de.php", "phpmyfaq/src/phpMyFAQ/Captcha.php"], "fixing_code_end_loc": [121, 159, 498], "fixing_code_start_loc": [119, 158, 494], "message": "Authentication Bypass by Capture... | 1,676 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.