prompt stringclasses 1
value | completions listlengths 1 63.8k | labels listlengths 1 63.8k | source stringclasses 1
value | other_info stringlengths 2.06k 101k | index int64 0 6.83k |
|---|---|---|---|---|---|
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the \"License\").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n * or http:... | [
1,
1,
1,
1,
1,
1,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [58, 70, 394], "buggy_code_start_loc": [58, 69, 47], "filenames": ["lib/libshare/libshare.c", "lib/libshare/libshare_impl.h", "lib/libshare/nfs.c"], "fixing_code_end_loc": [118, 74, 331], "fixing_code_start_loc": [59, 70, 46], "message": "sharenfs 0.6.4, when built with commits bcdd594 and 7d0888... | 1,465 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the \"License\").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n * or http:... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [58, 70, 394], "buggy_code_start_loc": [58, 69, 47], "filenames": ["lib/libshare/libshare.c", "lib/libshare/libshare_impl.h", "lib/libshare/nfs.c"], "fixing_code_end_loc": [118, 74, 331], "fixing_code_start_loc": [59, 70, 46], "message": "sharenfs 0.6.4, when built with commits bcdd594 and 7d0888... | 1,465 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * insexpand.c: fu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [4145, 685, 2175, 701], "buggy_code_start_loc": [2493, 685, 550, 701], "filenames": ["src/insexpand.c", "src/move.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [4168, 687, 2192, 704], "fixing_code_start_loc": [2493, 686, 549, 702], "message": "Use After Free in... | 1,466 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * insexpand.c: fu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [4145, 685, 2175, 701], "buggy_code_start_loc": [2493, 685, 550, 701], "filenames": ["src/insexpand.c", "src/move.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [4168, 687, 2192, 704], "fixing_code_start_loc": [2493, 686, 549, 702], "message": "Use After Free in... | 1,466 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */\n/*\n * move.c: Functions f... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [4145, 685, 2175, 701], "buggy_code_start_loc": [2493, 685, 550, 701], "filenames": ["src/insexpand.c", "src/move.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [4168, 687, 2192, 704], "fixing_code_start_loc": [2493, 686, 549, 702], "message": "Use After Free in... | 1,466 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */\n/*\n * move.c: Functions f... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [4145, 685, 2175, 701], "buggy_code_start_loc": [2493, 685, 550, 701], "filenames": ["src/insexpand.c", "src/move.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [4168, 687, 2192, 704], "fixing_code_start_loc": [2493, 686, 549, 702], "message": "Use After Free in... | 1,466 |
Determine whether the {function_name} code is vulnerable or not. | [
"\" Test for insert completion",
"source screendump.vim\nsource check.vim\nimport './vim9.vim' as v9",
"\" Test for insert expansion\nfunc Test_ins_complete()\n edit test_ins_complete.vim\n \" The files in the current directory interferes with the files\n \" used by this test. So use a separate directory for... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [4145, 685, 2175, 701], "buggy_code_start_loc": [2493, 685, 550, 701], "filenames": ["src/insexpand.c", "src/move.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [4168, 687, 2192, 704], "fixing_code_start_loc": [2493, 686, 549, 702], "message": "Use After Free in... | 1,466 |
Determine whether the {function_name} code is vulnerable or not. | [
"\" Test for insert completion",
"source screendump.vim\nsource check.vim\nimport './vim9.vim' as v9",
"\" Test for insert expansion\nfunc Test_ins_complete()\n edit test_ins_complete.vim\n \" The files in the current directory interferes with the files\n \" used by this test. So use a separate directory for... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [4145, 685, 2175, 701], "buggy_code_start_loc": [2493, 685, 550, 701], "filenames": ["src/insexpand.c", "src/move.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [4168, 687, 2192, 704], "fixing_code_start_loc": [2493, 686, 549, 702], "message": "Use After Free in... | 1,466 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"#include \"vim.h\"",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [4145, 685, 2175, 701], "buggy_code_start_loc": [2493, 685, 550, 701], "filenames": ["src/insexpand.c", "src/move.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [4168, 687, 2192, 704], "fixing_code_start_loc": [2493, 686, 549, 702], "message": "Use After Free in... | 1,466 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"#include \"vim.h\"",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [4145, 685, 2175, 701], "buggy_code_start_loc": [2493, 685, 550, 701], "filenames": ["src/insexpand.c", "src/move.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [4168, 687, 2192, 704], "fixing_code_start_loc": [2493, 686, 549, 702], "message": "Use After Free in... | 1,466 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [540], "buggy_code_start_loc": [540], "filenames": ["tensorflow/core/kernels/quantized_add_op.cc"], "fixing_code_end_loc": [543], "fixing_code_start_loc": [541], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a runtime division by zero err... | 1,467 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [540], "buggy_code_start_loc": [540], "filenames": ["tensorflow/core/kernels/quantized_add_op.cc"], "fixing_code_end_loc": [543], "fixing_code_start_loc": [541], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a runtime division by zero err... | 1,467 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nrequire_once ('Plans.php');\nnew SessionBroker();\nrequire ('functions-main.php');\nrequire (\"syntax-classes.php\");\n$idcookie = User::id();\n$dbh = db_connect();\n$page = new PlansPage('Plan', 'readplan', PLANSVNAME, 'read.php');\n$searchnum = (isset($_GET['searchnum']) ? $_GET['searchnum'] : false);\n$s... | [
1,
0,
1,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [100], "buggy_code_start_loc": [74], "filenames": ["read.php"], "fixing_code_end_loc": [100], "fixing_code_start_loc": [74], "message": "A vulnerability was found in grinnellplans-php up to 3.0. It has been declared as critical. Affected by this vulnerability is the function interface_disp_page/i... | 1,468 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nrequire_once ('Plans.php');\nnew SessionBroker();\nrequire ('functions-main.php');\nrequire (\"syntax-classes.php\");\n$idcookie = User::id();\n$dbh = db_connect();\n$page = new PlansPage('Plan', 'readplan', PLANSVNAME, 'read.php');\n$searchnum = (isset($_GET['searchnum']) ? $_GET['searchnum'] : false);\n$s... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [100], "buggy_code_start_loc": [74], "filenames": ["read.php"], "fixing_code_end_loc": [100], "fixing_code_start_loc": [74], "message": "A vulnerability was found in grinnellplans-php up to 3.0. It has been declared as critical. Affected by this vulnerability is the function interface_disp_page/i... | 1,468 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * sysctl.c: General linux system control interface\n *\n * Begun 24 March 1995, Stephen Tweedie\n * Added /proc support, Dec 1995\n * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas.\n * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver.\n * Added kernel/java-{interpre... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [2396], "buggy_code_start_loc": [172], "filenames": ["kernel/sysctl.c"], "fixing_code_end_loc": [2413], "fixing_code_start_loc": [173], "message": "The sysrq_sysctl_handler function in kernel/sysctl.c in the Linux kernel before 2.6.39 does not require the CAP_SYS_ADMIN capability to modify the dm... | 1,469 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * sysctl.c: General linux system control interface\n *\n * Begun 24 March 1995, Stephen Tweedie\n * Added /proc support, Dec 1995\n * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas.\n * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver.\n * Added kernel/java-{interpre... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [2396], "buggy_code_start_loc": [172], "filenames": ["kernel/sysctl.c"], "fixing_code_end_loc": [2413], "fixing_code_start_loc": [173], "message": "The sysrq_sysctl_handler function in kernel/sysctl.c in the Linux kernel before 2.6.39 does not require the CAP_SYS_ADMIN capability to modify the dm... | 1,469 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * net/key/af_key.c\tAn implementation of PF_KEYv2 sockets.\n *\n *\t\tThis program is free software; you can redistribute it and/or\n *\t\tmodify it under the terms of the GNU General Public License\n *\t\tas published by the Free Software Foundation; either version\n *\t\t2 of the License, or (at your option... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [2696], "buggy_code_start_loc": [2696], "filenames": ["net/key/af_key.c"], "fixing_code_end_loc": [2698], "fixing_code_start_loc": [2697], "message": "The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allo... | 1,470 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * net/key/af_key.c\tAn implementation of PF_KEYv2 sockets.\n *\n *\t\tThis program is free software; you can redistribute it and/or\n *\t\tmodify it under the terms of the GNU General Public License\n *\t\tas published by the Free Software Foundation; either version\n *\t\t2 of the License, or (at your option... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [2696], "buggy_code_start_loc": [2696], "filenames": ["net/key/af_key.c"], "fixing_code_end_loc": [2698], "fixing_code_start_loc": [2697], "message": "The key_notify_policy_flush function in net/key/af_key.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allo... | 1,470 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Driver for the NXP SAA7164 PCIe bridge\n *\n * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com>\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 versio... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [477], "buggy_code_start_loc": [391], "filenames": ["drivers/media/pci/saa7164/saa7164-bus.c"], "fixing_code_end_loc": [465], "fixing_code_start_loc": [392], "message": "The saa7164_bus_get function in drivers/media/pci/saa7164/saa7164-bus.c in the Linux kernel through 4.11.5 allows local users t... | 1,471 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Driver for the NXP SAA7164 PCIe bridge\n *\n * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com>\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 versio... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [477], "buggy_code_start_loc": [391], "filenames": ["drivers/media/pci/saa7164/saa7164-bus.c"], "fixing_code_end_loc": [465], "fixing_code_start_loc": [392], "message": "The saa7164_bus_get function in drivers/media/pci/saa7164/saa7164-bus.c in the Linux kernel through 4.11.5 allows local users t... | 1,471 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [35], "filenames": ["framework/modules/addressbook/controllers/addressController.php"], "fixing_code_end_loc": [104], "fixing_code_start_loc": [35], "message": "framework/modules/addressbook/controllers/addressController.php in Exponent CMS v2.4.0 allows remote attac... | 1,472 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [35], "filenames": ["framework/modules/addressbook/controllers/addressController.php"], "fixing_code_end_loc": [104], "fixing_code_start_loc": [35], "message": "framework/modules/addressbook/controllers/addressController.php in Exponent CMS v2.4.0 allows remote attac... | 1,472 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace Api\\Controller;\nuse Think\\Controller;\nclass UserController extends BaseController {",
"\n //注册\n public function register(){\n $username = trim(I(\"username\"));\n $password = I(\"password\");\n $confirm_password = I(\"confirm_password\");\n $v_code = I(\"v_... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [252], "buggy_code_start_loc": [45], "filenames": ["server/Application/Api/Controller/UserController.class.php"], "fixing_code_end_loc": [263], "fixing_code_start_loc": [45], "message": "showdoc is vulnerable to Cross-Site Request Forgery (CSRF)", "other": {"cve": {"cisaActionDue": null, "cisaExp... | 1,473 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace Api\\Controller;\nuse Think\\Controller;\nclass UserController extends BaseController {",
"\n //注册\n public function register(){\n $username = trim(I(\"username\"));\n $password = I(\"password\");\n $confirm_password = I(\"confirm_password\");\n $v_code = I(\"v_... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [252], "buggy_code_start_loc": [45], "filenames": ["server/Application/Api/Controller/UserController.class.php"], "fixing_code_end_loc": [263], "fixing_code_start_loc": [45], "message": "showdoc is vulnerable to Cross-Site Request Forgery (CSRF)", "other": {"cve": {"cisaActionDue": null, "cisaExp... | 1,473 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [159, 1003, 183], "buggy_code_start_loc": [140, 1002, 180], "filenames": ["bundles/AdminBundle/Resources/public/js/pimcore/object/tags/urlSlug.js", "bundles/CoreBundle/Resources/translations/en.json", "models/DataObject/ClassDefinition/Data/UrlSlug.php"], "fixing_code_end_loc": [158, 1004, 189], ... | 1,474 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [159, 1003, 183], "buggy_code_start_loc": [140, 1002, 180], "filenames": ["bundles/AdminBundle/Resources/public/js/pimcore/object/tags/urlSlug.js", "bundles/CoreBundle/Resources/translations/en.json", "models/DataObject/ClassDefinition/Data/UrlSlug.php"], "fixing_code_end_loc": [158, 1004, 189], ... | 1,474 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"unsupported_feature\": \"Unsupported feature! Please check system requirements!\",\n \"screen_size_to_small\": \"Your screen is too small to display the desired preview.\",\n \"too_many_children_for_recyclebin\": \"This element contains too many children to be moved to the recycle bin so it will be ... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [159, 1003, 183], "buggy_code_start_loc": [140, 1002, 180], "filenames": ["bundles/AdminBundle/Resources/public/js/pimcore/object/tags/urlSlug.js", "bundles/CoreBundle/Resources/translations/en.json", "models/DataObject/ClassDefinition/Data/UrlSlug.php"], "fixing_code_end_loc": [158, 1004, 189], ... | 1,474 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"unsupported_feature\": \"Unsupported feature! Please check system requirements!\",\n \"screen_size_to_small\": \"Your screen is too small to display the desired preview.\",\n \"too_many_children_for_recyclebin\": \"This element contains too many children to be moved to the recycle bin so it will be ... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [159, 1003, 183], "buggy_code_start_loc": [140, 1002, 180], "filenames": ["bundles/AdminBundle/Resources/public/js/pimcore/object/tags/urlSlug.js", "bundles/CoreBundle/Resources/translations/en.json", "models/DataObject/ClassDefinition/Data/UrlSlug.php"], "fixing_code_end_loc": [158, 1004, 189], ... | 1,474 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [159, 1003, 183], "buggy_code_start_loc": [140, 1002, 180], "filenames": ["bundles/AdminBundle/Resources/public/js/pimcore/object/tags/urlSlug.js", "bundles/CoreBundle/Resources/translations/en.json", "models/DataObject/ClassDefinition/Data/UrlSlug.php"], "fixing_code_end_loc": [158, 1004, 189], ... | 1,474 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [159, 1003, 183], "buggy_code_start_loc": [140, 1002, 180], "filenames": ["bundles/AdminBundle/Resources/public/js/pimcore/object/tags/urlSlug.js", "bundles/CoreBundle/Resources/translations/en.json", "models/DataObject/ClassDefinition/Data/UrlSlug.php"], "fixing_code_end_loc": [158, 1004, 189], ... | 1,474 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @co... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [129], "buggy_code_start_loc": [41], "filenames": ["models/Tool/CustomReport/Adapter/Sql.php"], "fixing_code_end_loc": [130], "fixing_code_start_loc": [41], "message": "Pimcore is an open source data and experience management platform. Prior to version 10.5.19, since a user with 'report' permissi... | 1,475 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [129], "buggy_code_start_loc": [41], "filenames": ["models/Tool/CustomReport/Adapter/Sql.php"], "fixing_code_end_loc": [130], "fixing_code_start_loc": [41], "message": "Pimcore is an open source data and experience management platform. Prior to version 10.5.19, since a user with 'report' permissi... | 1,475 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0-only\n/*\n * The input core\n *\n * Copyright (c) 1999-2002 Vojtech Pavlik\n */",
"\n#define pr_fmt(fmt) KBUILD_BASENAME \": \" fmt",
"#include <linux/init.h>\n#include <linux/types.h>\n#include <linux/idr.h>\n#include <linux/input/mt.h>\n#include <linux/module.h>\n#include ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [949], "buggy_code_start_loc": [881], "filenames": ["drivers/input/input.c"], "fixing_code_end_loc": [955], "fixing_code_start_loc": [881], "message": "In the Linux kernel before 5.4.12, drivers/input/input.c has out-of-bounds writes via a crafted keycode table, as demonstrated by input_set_keyco... | 1,476 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0-only\n/*\n * The input core\n *\n * Copyright (c) 1999-2002 Vojtech Pavlik\n */",
"\n#define pr_fmt(fmt) KBUILD_BASENAME \": \" fmt",
"#include <linux/init.h>\n#include <linux/types.h>\n#include <linux/idr.h>\n#include <linux/input/mt.h>\n#include <linux/module.h>\n#include ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [949], "buggy_code_start_loc": [881], "filenames": ["drivers/input/input.c"], "fixing_code_end_loc": [955], "fixing_code_start_loc": [881], "message": "In the Linux kernel before 5.4.12, drivers/input/input.c has out-of-bounds writes via a crafted keycode table, as demonstrated by input_set_keyco... | 1,476 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* -*- mode: c; c-basic-offset: 8; -*-\n * vim: noexpandtab sw=8 ts=8 sts=0:\n *\n * Copyright (C) 2004, 2005 Oracle. All rights reserved.\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public\n * License as published by the Free Software Fou... | [
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,
0,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0... | PreciseBugs | {"buggy_code_end_loc": [740], "buggy_code_start_loc": [42], "filenames": ["fs/ocfs2/cluster/nodemanager.c"], "fixing_code_end_loc": [788], "fixing_code_start_loc": [43], "message": "In fs/ocfs2/cluster/nodemanager.c in the Linux kernel before 4.15, local users can cause a denial of service (NULL pointer dereference and... | 1,477 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* -*- mode: c; c-basic-offset: 8; -*-\n * vim: noexpandtab sw=8 ts=8 sts=0:\n *\n * Copyright (C) 2004, 2005 Oracle. All rights reserved.\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public\n * License as published by the Free Software Fou... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [740], "buggy_code_start_loc": [42], "filenames": ["fs/ocfs2/cluster/nodemanager.c"], "fixing_code_end_loc": [788], "fixing_code_start_loc": [43], "message": "In fs/ocfs2/cluster/nodemanager.c in the Linux kernel before 4.15, local users can cause a denial of service (NULL pointer dereference and... | 1,477 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\t\"Ping\" sockets\n *\n *\t\tThis program is free software; you can redistribute it and/or\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [158], "filenames": ["net/ipv4/ping.c"], "fixing_code_end_loc": [171], "fixing_code_start_loc": [159], "message": "The ping_unhash function in net/ipv4/ping.c in the Linux kernel through 4.10.8 is too late in obtaining a certain lock and consequently cannot ensure t... | 1,478 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\t\"Ping\" sockets\n *\n *\t\tThis program is free software; you can redistribute it and/or\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": [170], "buggy_code_start_loc": [158], "filenames": ["net/ipv4/ping.c"], "fixing_code_end_loc": [171], "fixing_code_start_loc": [159], "message": "The ping_unhash function in net/ipv4/ping.c in the Linux kernel through 4.10.8 is too late in obtaining a certain lock and consequently cannot ensure t... | 1,478 |
Determine whether the {function_name} code is vulnerable or not. | [
"/****************************************************************************\n MP4 input module",
" Copyright (C) 2017 Krzysztof Nikiel",
" 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 Soft... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [348], "buggy_code_start_loc": [347], "filenames": ["frontend/mp4read.c"], "fixing_code_end_loc": [351], "fixing_code_start_loc": [347], "message": "An issue was discovered in faad2 before 2.10.0. A heap-buffer-overflow exists in the function stszin located in mp4read.c. It allows an attacker to ... | 1,479 |
Determine whether the {function_name} code is vulnerable or not. | [
"/****************************************************************************\n MP4 input module",
" Copyright (C) 2017 Krzysztof Nikiel",
" 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 Soft... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [348], "buggy_code_start_loc": [347], "filenames": ["frontend/mp4read.c"], "fixing_code_end_loc": [351], "fixing_code_start_loc": [347], "message": "An issue was discovered in faad2 before 2.10.0. A heap-buffer-overflow exists in the function stszin located in mp4read.c. It allows an attacker to ... | 1,479 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2020\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [153], "buggy_code_start_loc": [152], "filenames": ["src/isomedia/isom_store.c"], "fixing_code_end_loc": [160], "fixing_code_start_loc": [153], "message": "An issue was discovered in GPAC version 0.8.0 and 1.0.1. There is an invalid pointer dereference in the function SetupWriters() in isomedia/i... | 1,480 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2020\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [153], "buggy_code_start_loc": [152], "filenames": ["src/isomedia/isom_store.c"], "fixing_code_end_loc": [160], "fixing_code_start_loc": [153], "message": "An issue was discovered in GPAC version 0.8.0 and 1.0.1. There is an invalid pointer dereference in the function SetupWriters() in isomedia/i... | 1,480 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * IPv4 over IEEE 1394, per RFC 2734\n * IPv6 over IEEE 1394, per RFC 3146\n *\n * Copyright (C) 2009 Jay Fenlason <fenlason@redhat.com>\n *\n * based on eth1394 by Ben Collins et al\n */",
"#include <linux/bug.h>\n#include <linux/compiler.h>\n#include <linux/delay.h>\n#include <linux/device.h>\n#include <li... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [769], "buggy_code_start_loc": [580], "filenames": ["drivers/firewire/net.c"], "fixing_code_end_loc": [787], "fixing_code_start_loc": [581], "message": "drivers/firewire/net.c in the Linux kernel before 4.8.7, in certain unusual hardware configurations, allows remote attackers to execute arbitrar... | 1,481 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * IPv4 over IEEE 1394, per RFC 2734\n * IPv6 over IEEE 1394, per RFC 3146\n *\n * Copyright (C) 2009 Jay Fenlason <fenlason@redhat.com>\n *\n * based on eth1394 by Ben Collins et al\n */",
"#include <linux/bug.h>\n#include <linux/compiler.h>\n#include <linux/delay.h>\n#include <linux/device.h>\n#include <li... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [769], "buggy_code_start_loc": [580], "filenames": ["drivers/firewire/net.c"], "fixing_code_end_loc": [787], "fixing_code_start_loc": [581], "message": "drivers/firewire/net.c in the Linux kernel before 4.8.7, in certain unusual hardware configurations, allows remote attackers to execute arbitrar... | 1,481 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*+***********************************************************************************\n * The contents of this file are subject to the vtiger CRM Public License Version 1.0\n * (\"License\"); You may not use this file except in compliance with the License\n * The Original Code is: vtiger CRM Open Source\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,
0,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [482], "buggy_code_start_loc": [482], "filenames": ["include/utils/VtlibUtils.php"], "fixing_code_end_loc": [493], "fixing_code_start_loc": [483], "message": "Cross-site Scripting (XSS) - Generic in GitHub repository tsolucio/corebos prior to 8.0.", "other": {"cve": {"cisaActionDue": null, "cisaE... | 1,482 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*+***********************************************************************************\n * The contents of this file are subject to the vtiger CRM Public License Version 1.0\n * (\"License\"); You may not use this file except in compliance with the License\n * The Original Code is: vtiger CRM Open Source\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": [482], "buggy_code_start_loc": [482], "filenames": ["include/utils/VtlibUtils.php"], "fixing_code_end_loc": [493], "fixing_code_start_loc": [483], "message": "Cross-site Scripting (XSS) - Generic in GitHub repository tsolucio/corebos prior to 8.0.", "other": {"cve": {"cisaActionDue": null, "cisaE... | 1,482 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"300100\";\ninclude_once('./_common.php');",
"if ($w == 'u')\n check_demo();",
"auth_check($auth[$sub_menu], 'w');",
"check_admin_token();",
"if (!$_POST['gr_id']) { alert('그룹 ID는 반드시 선택하세요.'); }\nif (!$bo_table) { alert('게시판 TABLE명은 반드시 입력하세요.'); }\nif (!preg_match(\"/^([A-Za-z0-9_]... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"300100\";\ninclude_once('./_common.php');",
"if ($w == 'u')\n check_demo();",
"auth_check($auth[$sub_menu], 'w');",
"check_admin_token();",
"if (!$_POST['gr_id']) { alert('그룹 ID는 반드시 선택하세요.'); }\nif (!$bo_table) { alert('게시판 TABLE명은 반드시 입력하세요.'); }\nif (!preg_match(\"/^([A-Za-z0-9_]... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"300200\";\ninclude_once('./_common.php');",
"auth_check($auth[$sub_menu], 'w');",
"if ($is_admin != 'super' && $w == '') alert('최고관리자만 접근 가능합니다.');",
"$html_title = '게시판그룹';\n$gr_id_attr = '';\n$sound_only = '';\nif ($w == '') {\n $gr_id_attr = 'required';\n $sound_only = '<strong ... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"300200\";\ninclude_once('./_common.php');",
"auth_check($auth[$sub_menu], 'w');",
"if ($is_admin != 'super' && $w == '') alert('최고관리자만 접근 가능합니다.');",
"$html_title = '게시판그룹';\n$gr_id_attr = '';\n$sound_only = '';\nif ($w == '') {\n $gr_id_attr = 'required';\n $sound_only = '<strong ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"100100\";\ninclude_once('./_common.php');",
"auth_check($auth[$sub_menu], 'r');",
"if ($is_admin != 'super')\n alert('최고관리자만 접근 가능합니다.');",
"if (!isset($config['cf_add_script'])) {\n sql_query(\" ALTER TABLE `{$g5['config_table']}`\n ADD `cf_add_script` TEXT NOT ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"100100\";\ninclude_once('./_common.php');",
"auth_check($auth[$sub_menu], 'r');",
"if ($is_admin != 'super')\n alert('최고관리자만 접근 가능합니다.');",
"if (!isset($config['cf_add_script'])) {\n sql_query(\" ALTER TABLE `{$g5['config_table']}`\n ADD `cf_add_script` TEXT NOT ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"100100\";\ninclude_once('./_common.php');",
"check_demo();",
"auth_check($auth[$sub_menu], 'w');",
"if ($is_admin != 'super')\n alert('최고관리자만 접근 가능합니다.');",
"$mb = get_member($cf_admin);\nif (!$mb['mb_id'])\n alert('최고관리자 회원아이디가 존재하지 않습니다.');",
"check_admin_token();",
"// 본인확... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"100100\";\ninclude_once('./_common.php');",
"check_demo();",
"auth_check($auth[$sub_menu], 'w');",
"if ($is_admin != 'super')\n alert('최고관리자만 접근 가능합니다.');",
"$mb = get_member($cf_admin);\nif (!$mb['mb_id'])\n alert('최고관리자 회원아이디가 존재하지 않습니다.');",
"check_admin_token();",
"// 본인확... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"100290\";\ninclude_once('./_common.php');",
"if ($is_admin != 'super')\n alert('최고관리자만 접근 가능합니다.');",
"// 메뉴테이블 생성\nif( !isset($g5['menu_table']) ){\n die('<meta charset=\"utf-8\">dbconfig.php 파일에 <strong>$g5[\\'menu_table\\'] = G5_TABLE_PREFIX.\\'menu\\';</strong> 를 추가해 주세요.');\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,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"100290\";\ninclude_once('./_common.php');",
"if ($is_admin != 'super')\n alert('최고관리자만 접근 가능합니다.');",
"// 메뉴테이블 생성\nif( !isset($g5['menu_table']) ){\n die('<meta charset=\"utf-8\">dbconfig.php 파일에 <strong>$g5[\\'menu_table\\'] = G5_TABLE_PREFIX.\\'menu\\';</strong> 를 추가해 주세요.');\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
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"100290\";\ninclude_once('./_common.php');",
"check_demo();",
"if ($is_admin != 'super')\n alert('최고관리자만 접근 가능합니다.');",
"check_admin_token();",
"// 이전 메뉴정보 삭제\n$sql = \" delete from {$g5['menu_table']} \";\nsql_query($sql);",
"$group_code = null;\n$primary_code = null;\n$count = co... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n$sub_menu = \"100290\";\ninclude_once('./_common.php');",
"check_demo();",
"if ($is_admin != 'super')\n alert('최고관리자만 접근 가능합니다.');",
"check_admin_token();",
"// 이전 메뉴정보 삭제\n$sql = \" delete from {$g5['menu_table']} \";\nsql_query($sql);",
"$group_code = null;\n$primary_code = null;\n$count = co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nif (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가",
"// 게시판 관리의 상단 내용\nif (G5_IS_MOBILE) {\n // 모바일의 경우 설정을 따르지 않는다.\n include_once(G5_BBS_PATH.'/_head.php');",
" echo stripslashes($board['bo_mobile_content_head']);",
"} else {\n if(is_include_path_check($board['bo_include_head'])) { //파일... | [
1,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nif (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가",
"// 게시판 관리의 상단 내용\nif (G5_IS_MOBILE) {\n // 모바일의 경우 설정을 따르지 않는다.\n include_once(G5_BBS_PATH.'/_head.php');",
" echo html_purifier(stripslashes($board['bo_mobile_content_head']));",
"} else {\n if(is_include_path_check($board['bo_include_h... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nif (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가",
"// 게시판 관리의 하단 파일 경로\nif (G5_IS_MOBILE) {",
" echo stripslashes($board['bo_mobile_content_tail']);",
" // 모바일의 경우 설정을 따르지 않는다.\n include_once(G5_BBS_PATH.'/_tail.php');\n} else {",
" echo stripslashes($board['bo_content_tail']);",
" ... | [
1,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nif (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가",
"// 게시판 관리의 하단 파일 경로\nif (G5_IS_MOBILE) {",
" echo html_purifier(stripslashes($board['bo_mobile_content_tail']));",
" // 모바일의 경우 설정을 따르지 않는다.\n include_once(G5_BBS_PATH.'/_tail.php');\n} else {",
" echo html_purifier(stripslashes($board... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ninclude_once('./_common.php');",
"$g5['title'] = '비밀번호 입력';",
"switch ($w) {\n case 'u' :\n $action = G5_HTTP_BBS_URL.'/write.php';\n $return_url = G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id;\n break;\n case 'd' :\n set_session('ss_delete_toke... | [
1,
1,
1,
1,
0,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ninclude_once('./_common.php');",
"$g5['title'] = '비밀번호 입력';",
"switch ($w) {\n case 'u' :\n $action = G5_HTTP_BBS_URL.'/write.php';\n $return_url = G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id;\n break;\n case 'd' :\n set_session('ss_delete_toke... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [73, 121, 1321, 27, 198, 28, 16, 11, 62], "buggy_code_start_loc": [73, 120, 1320, 27, 198, 26, 8, 6, 46], "filenames": ["adm/board_form_update.php", "adm/boardgroup_form.php", "adm/config_form.php", "adm/config_form_update.php", "adm/menu_list.php", "adm/menu_list_update.php", "bbs/board_head.php... | 1,483 |
Determine whether the {function_name} code is vulnerable or not. | [
"import logging\nimport zipfile\nimport base64\nimport shutil\nimport time\nfrom tarfile import TarFile",
"from bz2 import BZ2File\nfrom gzip import GzipFile\nfrom lzma import LZMAFile\nfrom io import BytesIO\nfrom pathlib import Path\nfrom typing import List, Optional, Union, Tuple, Sequence, Dict, overload, Lit... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [613, 7], "buggy_code_start_loc": [503, 7], "filenames": ["pandora/workers/extractor.py", "pandora/workers/extractor.yml.sample"], "fixing_code_end_loc": [640, 10], "fixing_code_start_loc": [504, 8], "message": "workers/extractor.py in Pandora (aka pandora-analysis/pandora) 1.3.0 allows a denial ... | 1,484 |
Determine whether the {function_name} code is vulnerable or not. | [
"import logging\nimport zipfile\nimport base64\nimport shutil\nimport time\nfrom tarfile import TarFile",
"from bz2 import BZ2File\nfrom gzip import GzipFile\nfrom lzma import LZMAFile\nfrom io import BytesIO\nfrom pathlib import Path\nfrom typing import List, Optional, Union, Tuple, Sequence, Dict, overload, Lit... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [613, 7], "buggy_code_start_loc": [503, 7], "filenames": ["pandora/workers/extractor.py", "pandora/workers/extractor.yml.sample"], "fixing_code_end_loc": [640, 10], "fixing_code_start_loc": [504, 8], "message": "workers/extractor.py in Pandora (aka pandora-analysis/pandora) 1.3.0 allows a denial ... | 1,484 |
Determine whether the {function_name} code is vulnerable or not. | [
"meta:\n name: Extractor\n description: Extracts content from the uploaded object (email, archive)\n replicas: 5",
"settings:\n max_files_in_archive: 15",
"",
" max_extracted_filesize_in_mb: 100\n max_is_error: no\n zip_passwords:\n - ''\n - virus\n - CERT_SOC\n - cert\n - pandora\n -... | [
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [613, 7], "buggy_code_start_loc": [503, 7], "filenames": ["pandora/workers/extractor.py", "pandora/workers/extractor.yml.sample"], "fixing_code_end_loc": [640, 10], "fixing_code_start_loc": [504, 8], "message": "workers/extractor.py in Pandora (aka pandora-analysis/pandora) 1.3.0 allows a denial ... | 1,484 |
Determine whether the {function_name} code is vulnerable or not. | [
"meta:\n name: Extractor\n description: Extracts content from the uploaded object (email, archive)\n replicas: 5",
"settings:\n max_files_in_archive: 15",
" max_files_in_recursive_archive: 25\n max_recurse: 2",
" max_extracted_filesize_in_mb: 100\n max_is_error: no\n zip_passwords:\n - ''\n - v... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [613, 7], "buggy_code_start_loc": [503, 7], "filenames": ["pandora/workers/extractor.py", "pandora/workers/extractor.yml.sample"], "fixing_code_end_loc": [640, 10], "fixing_code_start_loc": [504, 8], "message": "workers/extractor.py in Pandora (aka pandora-analysis/pandora) 1.3.0 allows a denial ... | 1,484 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Core HTTP Request API\n *\n * Standardizes the HTTP requests for WordPress. Handles cookies, gzip encoding and decoding, chunk\n * decoding, if HTTP 1.1 and various other difficult HTTP protocol implementations.\n *\n * @package WordPress\n * @subpackage HTTP\n */",
"/**\n * Returns the initialize... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [554, 17], "buggy_code_start_loc": [553, 16], "filenames": ["wp-includes/http.php", "wp-includes/version.php"], "fixing_code_end_loc": [554, 17], "fixing_code_start_loc": [553, 16], "message": "WordPress before 5.2.4 has a Server Side Request Forgery (SSRF) vulnerability because URL validation do... | 1,485 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Core HTTP Request API\n *\n * Standardizes the HTTP requests for WordPress. Handles cookies, gzip encoding and decoding, chunk\n * decoding, if HTTP 1.1 and various other difficult HTTP protocol implementations.\n *\n * @package WordPress\n * @subpackage HTTP\n */",
"/**\n * Returns the initialize... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [554, 17], "buggy_code_start_loc": [553, 16], "filenames": ["wp-includes/http.php", "wp-includes/version.php"], "fixing_code_end_loc": [554, 17], "fixing_code_start_loc": [553, 16], "message": "WordPress before 5.2.4 has a Server Side Request Forgery (SSRF) vulnerability because URL validation do... | 1,485 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * WordPress Version\n *\n * Contains version information for the current WordPress release.\n *\n * @package WordPress\n * @since 1.1.0\n */",
"/**\n * The WordPress version string\n *\n * @global string $wp_version\n */",
"$wp_version = '5.3-beta3-46474';",
"\n/**\n * Holds the WordPress DB rev... | [
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [554, 17], "buggy_code_start_loc": [553, 16], "filenames": ["wp-includes/http.php", "wp-includes/version.php"], "fixing_code_end_loc": [554, 17], "fixing_code_start_loc": [553, 16], "message": "WordPress before 5.2.4 has a Server Side Request Forgery (SSRF) vulnerability because URL validation do... | 1,485 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * WordPress Version\n *\n * Contains version information for the current WordPress release.\n *\n * @package WordPress\n * @since 1.1.0\n */",
"/**\n * The WordPress version string\n *\n * @global string $wp_version\n */",
"$wp_version = '5.3-beta3-46475';",
"\n/**\n * Holds the WordPress DB rev... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [554, 17], "buggy_code_start_loc": [553, 16], "filenames": ["wp-includes/http.php", "wp-includes/version.php"], "fixing_code_end_loc": [554, 17], "fixing_code_start_loc": [553, 16], "message": "WordPress before 5.2.4 has a Server Side Request Forgery (SSRF) vulnerability because URL validation do... | 1,485 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace App\\Http\\Controllers;",
"use App\\Http\\Requests\\Appointment\\CreateAppointmentCalendarRequest;\nuse App\\Http\\Requests\\Appointment\\UpdateAppointmentCalendarRequest;\nuse App\\Models\\Appointment;\nuse App\\Models\\User;\nuse App\\Models\\Client;\nuse Carbon\\Carbon;\nuse Illuminate\\H... | [
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [90, 34, 34], "buggy_code_start_loc": [17, 32, 32], "filenames": ["app/Http/Controllers/AppointmentsController.php", "app/Http/Requests/User/StoreUserRequest.php", "app/Http/Requests/User/UpdateUserRequest.php"], "fixing_code_end_loc": [93, 34, 34], "fixing_code_start_loc": [18, 32, 32], "message... | 1,486 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace App\\Http\\Controllers;",
"use App\\Http\\Requests\\Appointment\\CreateAppointmentCalendarRequest;\nuse App\\Http\\Requests\\Appointment\\UpdateAppointmentCalendarRequest;\nuse App\\Models\\Appointment;\nuse App\\Models\\User;\nuse App\\Models\\Client;\nuse Carbon\\Carbon;\nuse Illuminate\\H... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [90, 34, 34], "buggy_code_start_loc": [17, 32, 32], "filenames": ["app/Http/Controllers/AppointmentsController.php", "app/Http/Requests/User/StoreUserRequest.php", "app/Http/Requests/User/UpdateUserRequest.php"], "fixing_code_end_loc": [93, 34, 34], "fixing_code_start_loc": [18, 32, 32], "message... | 1,486 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace App\\Http\\Requests\\User;",
"use Illuminate\\Foundation\\Http\\FormRequest;",
"class StoreUserRequest extends FormRequest\n{\n /**\n * Determine if the user is authorized to make this request.\n *\n * @return bool\n */\n public function authorize()\n {\n re... | [
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [90, 34, 34], "buggy_code_start_loc": [17, 32, 32], "filenames": ["app/Http/Controllers/AppointmentsController.php", "app/Http/Requests/User/StoreUserRequest.php", "app/Http/Requests/User/UpdateUserRequest.php"], "fixing_code_end_loc": [93, 34, 34], "fixing_code_start_loc": [18, 32, 32], "message... | 1,486 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace App\\Http\\Requests\\User;",
"use Illuminate\\Foundation\\Http\\FormRequest;",
"class StoreUserRequest extends FormRequest\n{\n /**\n * Determine if the user is authorized to make this request.\n *\n * @return bool\n */\n public function authorize()\n {\n re... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [90, 34, 34], "buggy_code_start_loc": [17, 32, 32], "filenames": ["app/Http/Controllers/AppointmentsController.php", "app/Http/Requests/User/StoreUserRequest.php", "app/Http/Requests/User/UpdateUserRequest.php"], "fixing_code_end_loc": [93, 34, 34], "fixing_code_start_loc": [18, 32, 32], "message... | 1,486 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace App\\Http\\Requests\\User;",
"use Illuminate\\Foundation\\Http\\FormRequest;",
"class UpdateUserRequest extends FormRequest\n{\n /**\n * Determine if the user is authorized to make this request.\n *\n * @return bool\n */\n public function authorize()\n {\n r... | [
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [90, 34, 34], "buggy_code_start_loc": [17, 32, 32], "filenames": ["app/Http/Controllers/AppointmentsController.php", "app/Http/Requests/User/StoreUserRequest.php", "app/Http/Requests/User/UpdateUserRequest.php"], "fixing_code_end_loc": [93, 34, 34], "fixing_code_start_loc": [18, 32, 32], "message... | 1,486 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace App\\Http\\Requests\\User;",
"use Illuminate\\Foundation\\Http\\FormRequest;",
"class UpdateUserRequest extends FormRequest\n{\n /**\n * Determine if the user is authorized to make this request.\n *\n * @return bool\n */\n public function authorize()\n {\n r... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [90, 34, 34], "buggy_code_start_loc": [17, 32, 32], "filenames": ["app/Http/Controllers/AppointmentsController.php", "app/Http/Requests/User/StoreUserRequest.php", "app/Http/Requests/User/UpdateUserRequest.php"], "fixing_code_end_loc": [93, 34, 34], "fixing_code_start_loc": [18, 32, 32], "message... | 1,486 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\"******************************************************************************************************\n* (c) 2007-2014 by Kajona, www.kajona.de *\n* Published under the GNU LGPL v2.1, see /system/licence_lgpl.txt ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [500], "buggy_code_start_loc": [350], "filenames": ["module_system/system/class_link.php"], "fixing_code_end_loc": [506], "fixing_code_start_loc": [350], "message": "Cross-site scripting (XSS) vulnerability in system/class_link.php in the System module (module_system) in Kajona before 4.5 allows ... | 1,487 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\"******************************************************************************************************\n* (c) 2007-2014 by Kajona, www.kajona.de *\n* Published under the GNU LGPL v2.1, see /system/licence_lgpl.txt ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [500], "buggy_code_start_loc": [350], "filenames": ["module_system/system/class_link.php"], "fixing_code_end_loc": [506], "fixing_code_start_loc": [350], "message": "Cross-site scripting (XSS) vulnerability in system/class_link.php in the System module (module_system) in Kajona before 4.5 allows ... | 1,487 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [496, 409], "buggy_code_start_loc": [24, 17], "filenames": ["tensorflow/core/kernels/quantize_and_dequantize_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantization_ops_test.py"], "fixing_code_end_loc": [497, 466], "fixing_code_start_loc": [23, 18], "message": "TensorFlow is an open... | 1,488 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [496, 409], "buggy_code_start_loc": [24, 17], "filenames": ["tensorflow/core/kernels/quantize_and_dequantize_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantization_ops_test.py"], "fixing_code_end_loc": [497, 466], "fixing_code_start_loc": [23, 18], "message": "TensorFlow is an open... | 1,488 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2015 The TensorFlow Authors. All Rights Reserved.\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# Unless requ... | [
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,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [496, 409], "buggy_code_start_loc": [24, 17], "filenames": ["tensorflow/core/kernels/quantize_and_dequantize_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantization_ops_test.py"], "fixing_code_end_loc": [497, 466], "fixing_code_start_loc": [23, 18], "message": "TensorFlow is an open... | 1,488 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2015 The TensorFlow Authors. All Rights Reserved.\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# Unless requ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [496, 409], "buggy_code_start_loc": [24, 17], "filenames": ["tensorflow/core/kernels/quantize_and_dequantize_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantization_ops_test.py"], "fixing_code_end_loc": [497, 466], "fixing_code_start_loc": [23, 18], "message": "TensorFlow is an open... | 1,488 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n irc-core.c : irssi",
" Copyright (C) 1999-2000 Timo Sirainen",
" 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)... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [77, 54, 106], "buggy_code_start_loc": [77, 52, 104], "filenames": ["src/irc/core/irc-core.c", "src/irc/core/irc-servers-reconnect.c", "src/irc/core/irc-servers-setup.c"], "fixing_code_end_loc": [80, 54, 106], "fixing_code_start_loc": [78, 52, 104], "message": "Irssi before 1.0.8, 1.1.x before 1.... | 1,489 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n irc-core.c : irssi",
" Copyright (C) 1999-2000 Timo Sirainen",
" 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)... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 54, 106], "buggy_code_start_loc": [77, 52, 104], "filenames": ["src/irc/core/irc-core.c", "src/irc/core/irc-servers-reconnect.c", "src/irc/core/irc-servers-setup.c"], "fixing_code_end_loc": [80, 54, 106], "fixing_code_start_loc": [78, 52, 104], "message": "Irssi before 1.0.8, 1.1.x before 1.... | 1,489 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n servers-reconnect.c : irssi",
" Copyright (C) 1999-2000 Timo Sirainen",
" 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 you... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [77, 54, 106], "buggy_code_start_loc": [77, 52, 104], "filenames": ["src/irc/core/irc-core.c", "src/irc/core/irc-servers-reconnect.c", "src/irc/core/irc-servers-setup.c"], "fixing_code_end_loc": [80, 54, 106], "fixing_code_start_loc": [78, 52, 104], "message": "Irssi before 1.0.8, 1.1.x before 1.... | 1,489 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n servers-reconnect.c : irssi",
" Copyright (C) 1999-2000 Timo Sirainen",
" 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 you... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 54, 106], "buggy_code_start_loc": [77, 52, 104], "filenames": ["src/irc/core/irc-core.c", "src/irc/core/irc-servers-reconnect.c", "src/irc/core/irc-servers-setup.c"], "fixing_code_end_loc": [80, 54, 106], "fixing_code_start_loc": [78, 52, 104], "message": "Irssi before 1.0.8, 1.1.x before 1.... | 1,489 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n irc-servers-setup.c : irssi",
" Copyright (C) 1999-2000 Timo Sirainen",
" 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 you... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [77, 54, 106], "buggy_code_start_loc": [77, 52, 104], "filenames": ["src/irc/core/irc-core.c", "src/irc/core/irc-servers-reconnect.c", "src/irc/core/irc-servers-setup.c"], "fixing_code_end_loc": [80, 54, 106], "fixing_code_start_loc": [78, 52, 104], "message": "Irssi before 1.0.8, 1.1.x before 1.... | 1,489 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n irc-servers-setup.c : irssi",
" Copyright (C) 1999-2000 Timo Sirainen",
" 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 you... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 54, 106], "buggy_code_start_loc": [77, 52, 104], "filenames": ["src/irc/core/irc-core.c", "src/irc/core/irc-servers-reconnect.c", "src/irc/core/irc-servers-setup.c"], "fixing_code_end_loc": [80, 54, 106], "fixing_code_start_loc": [78, 52, 104], "message": "Irssi before 1.0.8, 1.1.x before 1.... | 1,489 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace WP_STATISTICS;",
"class Pages {\n\t/**\n\t * Check Active Record Pages\n\t *\n\t * @return mixed\n\t */\n\tpublic static function active() {\n\t\treturn ( has_filter( 'wp_statistics_active_pages' ) ) ? apply_filters( 'wp_statistics_active_pages', true ) : Option::get( 'pages' );\n\t}",
"\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,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [331], "buggy_code_start_loc": [298], "filenames": ["includes/class-wp-statistics-pages.php"], "fixing_code_end_loc": [331], "fixing_code_start_loc": [298], "message": "The WP Statistics plugin through 12.6.5 for Wordpress has stored XSS in includes/class-wp-statistics-pages.php. This is related ... | 1,490 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace WP_STATISTICS;",
"class Pages {\n\t/**\n\t * Check Active Record Pages\n\t *\n\t * @return mixed\n\t */\n\tpublic static function active() {\n\t\treturn ( has_filter( 'wp_statistics_active_pages' ) ) ? apply_filters( 'wp_statistics_active_pages', true ) : Option::get( 'pages' );\n\t}",
"\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": [331], "buggy_code_start_loc": [298], "filenames": ["includes/class-wp-statistics-pages.php"], "fixing_code_end_loc": [331], "fixing_code_start_loc": [298], "message": "The WP Statistics plugin through 12.6.5 for Wordpress has stored XSS in includes/class-wp-statistics-pages.php. This is related ... | 1,490 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright (c) 2015-2021 MinIO, Inc.\n//\n// This file is part of MinIO Object Storage stack\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the Licen... | [
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,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [353], "buggy_code_start_loc": [24], "filenames": ["cmd/generic-handlers.go"], "fixing_code_end_loc": [354], "fixing_code_start_loc": [25], "message": "Minio is a Multi-Cloud Object Storage framework. All users on Windows prior to version RELEASE.2023-03-20T20-16-18Z are impacted. MinIO fails to ... | 1,491 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright (c) 2015-2021 MinIO, Inc.\n//\n// This file is part of MinIO Object Storage stack\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the Licen... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [353], "buggy_code_start_loc": [24], "filenames": ["cmd/generic-handlers.go"], "fixing_code_end_loc": [354], "fixing_code_start_loc": [25], "message": "Minio is a Multi-Cloud Object Storage framework. All users on Windows prior to version RELEASE.2023-03-20T20-16-18Z are impacted. MinIO fails to ... | 1,491 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict';",
"const path = require('path');\nconst {promisify} = require('util');\nconst graphviz = require('graphviz');\n",
"const exec = promisify(require('child_process').exec);",
"const writeFile = promisify(require('fs').writeFile);",
"/**\n * Set color on a node.\n * @param {Object} node\n * @par... | [
1,
1,
0,
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
] | PreciseBugs | {"buggy_code_end_loc": [38, 317], "buggy_code_start_loc": [7, 316], "filenames": ["lib/graph.js", "test/api.js"], "fixing_code_end_loc": [32, 317], "fixing_code_start_loc": [7, 316], "message": "This affects the package madge before 4.0.1. It is possible to specify a custom Graphviz path via the graphVizPath option par... | 1,492 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict';",
"const path = require('path');\nconst {promisify} = require('util');\nconst graphviz = require('graphviz');\n",
"const exec = promisify(require('child_process').execFile);",
"const writeFile = promisify(require('fs').writeFile);",
"/**\n * Set color on a node.\n * @param {Object} node\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
] | PreciseBugs | {"buggy_code_end_loc": [38, 317], "buggy_code_start_loc": [7, 316], "filenames": ["lib/graph.js", "test/api.js"], "fixing_code_end_loc": [32, 317], "fixing_code_start_loc": [7, 316], "message": "This affects the package madge before 4.0.1. It is possible to specify a custom Graphviz path via the graphVizPath option par... | 1,492 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* eslint-env mocha */\n'use strict';",
"const os = require('os');\nconst path = require('path');\nconst fs = require('mz/fs');\nconst madge = require('../lib/api');",
"require('should');",
"describe('API', () => {\n\tit('throws error on missing path argument', () => {\n\t\t(() => {\n\t\t\tmadge();\n\t\t}).s... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | PreciseBugs | {"buggy_code_end_loc": [38, 317], "buggy_code_start_loc": [7, 316], "filenames": ["lib/graph.js", "test/api.js"], "fixing_code_end_loc": [32, 317], "fixing_code_start_loc": [7, 316], "message": "This affects the package madge before 4.0.1. It is possible to specify a custom Graphviz path via the graphVizPath option par... | 1,492 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* eslint-env mocha */\n'use strict';",
"const os = require('os');\nconst path = require('path');\nconst fs = require('mz/fs');\nconst madge = require('../lib/api');",
"require('should');",
"describe('API', () => {\n\tit('throws error on missing path argument', () => {\n\t\t(() => {\n\t\t\tmadge();\n\t\t}).s... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [38, 317], "buggy_code_start_loc": [7, 316], "filenames": ["lib/graph.js", "test/api.js"], "fixing_code_end_loc": [32, 317], "fixing_code_start_loc": [7, 316], "message": "This affects the package madge before 4.0.1. It is possible to specify a custom Graphviz path via the graphVizPath option par... | 1,492 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n * LimeSurvey\n * Copyright (C) 2007-2016 The LimeSurvey Project Team / Carsten Schmitz\n * All rights reserved.\n * License: GNU/GPL License v3 or later, see LICENSE.php\n * LimeSurvey is free software. This version may have been modified pursuant\n * to the GNU General Public License, and as distribut... | [
1,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [20, 36], "buggy_code_start_loc": [15, 36], "filenames": ["application/config/version.php", "docs/release_notes.txt"], "fixing_code_end_loc": [20, 77], "fixing_code_start_loc": [15, 37], "message": "In Limesurvey before 3.17.14, admin users can access the plugin manager without proper permissions... | 1,493 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n * LimeSurvey\n * Copyright (C) 2007-2016 The LimeSurvey Project Team / Carsten Schmitz\n * All rights reserved.\n * License: GNU/GPL License v3 or later, see LICENSE.php\n * LimeSurvey is free software. This version may have been modified pursuant\n * to the GNU General Public License, and as distribut... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [20, 36], "buggy_code_start_loc": [15, 36], "filenames": ["application/config/version.php", "docs/release_notes.txt"], "fixing_code_end_loc": [20, 77], "fixing_code_start_loc": [15, 37], "message": "In Limesurvey before 3.17.14, admin users can access the plugin manager without proper permissions... | 1,493 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.