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.
[ "=== Broken Link Checker ===\r\nContributors: whiteshadow\r\nDonate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A6P9S6CE3SRSW\r\nTags: links, broken, maintenance, blogroll, custom fields, admin, comments, posts\r\nRequires at least: 3.2\r\nTested up to: 4.2-beta\r", "Stable tag: 1.1...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2787, 443, 101], "buggy_code_start_loc": [1318, 435, 7], "filenames": ["core/core.php", "includes/any-post.php", "readme.txt"], "fixing_code_end_loc": [2787, 443, 103], "fixing_code_start_loc": [1318, 435, 7], "message": "A vulnerability was found in Broken Link Checker Plugin up to 1.10.5. It h...
1,538
Determine whether the {function_name} code is vulnerable or not.
[ "=== Broken Link Checker ===\r\nContributors: whiteshadow\r\nDonate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A6P9S6CE3SRSW\r\nTags: links, broken, maintenance, blogroll, custom fields, admin, comments, posts\r\nRequires at least: 3.2\r\nTested up to: 4.2-beta\r", "Stable tag: 1.1...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2787, 443, 101], "buggy_code_start_loc": [1318, 435, 7], "filenames": ["core/core.php", "includes/any-post.php", "readme.txt"], "fixing_code_end_loc": [2787, 443, 103], "fixing_code_start_loc": [1318, 435, 7], "message": "A vulnerability was found in Broken Link Checker Plugin up to 1.10.5. It h...
1,538
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2008-2022 - nibble, pancake, thestr4ng3r */", "#include <r_anal.h>\n#include <r_core.h>", "static bool item_matches_filter(RAnalMetaItem *item, RAnalMetaType type, R_NULLABLE const RSpace *space) {\n\treturn (type == R_META_TYPE_ANY || item->type == type) && (!space || item->space ...
[ 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": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2008-2022 - nibble, pancake, thestr4ng3r */", "#include <r_anal.h>\n#include <r_core.h>", "static bool item_matches_filter(RAnalMetaItem *item, RAnalMetaType type, R_NULLABLE const RSpace *space) {\n\treturn (type == R_META_TYPE_ANY || item->type == type) && (!space || item->space ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2012-2021 - pancake, Fedor Sakharov */", "#include <errno.h>", "#include <r_bin.h>\n#include <r_bin_dwarf.h>\n#include <r_core.h>", "#define STANDARD_OPERAND_COUNT_DWARF2 9\n#define STANDARD_OPERAND_COUNT_DWARF3 12\n#define R_BIN_DWARF_INFO 1", "// TODO: kill this global\nstati...
[ 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, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2012-2021 - pancake, Fedor Sakharov */", "#include <errno.h>", "#include <r_bin.h>\n#include <r_bin_dwarf.h>\n#include <r_core.h>", "#define STANDARD_OPERAND_COUNT_DWARF2 9\n#define STANDARD_OPERAND_COUNT_DWARF3 12\n#define R_BIN_DWARF_INFO 1", "// TODO: kill this global\nstati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2008-2021 - pancake */", "\n#include <r_cons.h>\n#include <ctype.h>", "#define I(x) r_cons_singleton ()->x", "// Display the content of a file in the hud\nR_API char *r_cons_hud_file(const char *f) {\n\tchar *s = r_file_slurp (f, NULL);\n\tif (s) {", "", "\t\tchar *ret = r_co...
[ 0, 1, 1, 1, 0, 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 ]
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2008-2023 - pancake */", "\n#include <r_cons.h>\n#include <ctype.h>", "#define I(x) r_cons_singleton ()->x", "// Display the content of a file in the hud\nR_API char *r_cons_hud_file(const char *f) {\n\tchar *s = r_file_slurp (f, NULL);\n\tif (s) {", "\t\tr_str_ansi_strip (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 ]
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare2 - LGPL - Copyright 2009-2022 - pancake */", "#include \"r_anal.h\"\n#include \"r_bin.h\"\n#include \"r_cons.h\"\n#include \"r_core.h\"\n#include \"r_util.h\"\n#include \"r_types.h\"\n#include <sdb/sdb.h>", "char *getcommapath(RCore *core);", "static R_TH_LOCAL ut64 filter_offset = UT64_MAX;\nstati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare2 - LGPL - Copyright 2009-2022 - pancake */", "#include \"r_anal.h\"\n#include \"r_bin.h\"\n#include \"r_cons.h\"\n#include \"r_core.h\"\n#include \"r_util.h\"\n#include \"r_types.h\"\n#include <sdb/sdb.h>", "char *getcommapath(RCore *core);", "static R_TH_LOCAL ut64 filter_offset = UT64_MAX;\nstati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2009-2022 - pancake */", "\n#include <r_core.h>\n#include <limits.h>", "#define R_CORE_MAX_DISASM (1024 * 1024 * 8)\n#define PF_USAGE_STR \"pf[.k[.f[=v]]|[v]]|[n]|[0|cnt][fmt] [a0 a1 ...]\"", "static int printzoomcallback(void *user, int mode, ut64 addr, ut8 *bufz, ut64 size);\ns...
[ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2009-2023 - pancake */", "\n#include <r_core.h>\n#include <limits.h>", "#define R_CORE_MAX_DISASM (1024 * 1024 * 8)\n#define PF_USAGE_STR \"pf[.k[.f[=v]]|[v]]|[n]|[0|cnt][fmt] [a0 a1 ...]\"", "static int printzoomcallback(void *user, int mode, ut64 addr, ut8 *bufz, ut64 size);\ns...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2007-2022 - pancake */", "#include <r_bin.h>", "/* stable code */\nstatic const char * const rwxstr[] = {\n\t[0] = \"---\",\n\t[1] = \"--x\",\n\t[2] = \"-w-\",\n\t[3] = \"-wx\",\n\t[4] = \"r--\",\n\t[5] = \"r-x\",\n\t[6] = \"rw-\",\n\t[7] = \"rwx\",", "\t[8] = \"---\",\n\t[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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2007-2022 - pancake */", "#include <r_bin.h>", "/* stable code */\nstatic const char * const rwxstr[] = {\n\t[0] = \"---\",\n\t[1] = \"--x\",\n\t[2] = \"-w-\",\n\t[3] = \"-wx\",\n\t[4] = \"r--\",\n\t[5] = \"r-x\",\n\t[6] = \"rw-\",\n\t[7] = \"rwx\",", "\t[8] = \"---\",\n\t[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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "", "NAME=\"open companion file for macho dwarf\"\nFILE=bins/mach0/dwarf/a.out\nCMDS=<<EOF\nCL\nEOF\nEXPECT=<<EOF\nfile: /Users/pancake/hello.c\nline: 2\naddr: 0x100003f64\nfile: /Users/pancake/hello.c\nline: 5\naddr: 0x100003f80\nfile: /Users/pancake/hello.c\nline: 0\naddr: 0x100003f78\nfile: /Users/pancake/hell...
[ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "NAME=\"ansi injection via dwarf\"\nFILE=bins/elf/dwarf_test_func_patched\nARGS=-AA\nCMDS=<<EOF\nCL\nxc\nEOF\nEXPECT=<<EOF\nfile: /_test.c\nline: 5\naddr: 0x00001159\nfile: /_test.c\nline: 11\naddr: 0x00001184\nfile: /_test.c\nline: 6\naddr: 0x00001165\nfile: /_test.c\nline: 11\naddr: 0x00001186\nfile: /_test.c\nli...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 1908, 68, 562, 2, 1968, 0], "buggy_code_start_loc": [114, 433, 1, 542, 1, 1959, 0], "filenames": ["libr/anal/meta.c", "libr/bin/dwarf.c", "libr/cons/hud.c", "libr/core/cmd_meta.c", "libr/core/cmd_print.c", "libr/util/str.c", "test/db/cmd/dwarf"], "fixing_code_end_loc": [121, 1933, 72, 564, ...
1,539
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [381], "buggy_code_start_loc": [293], "filenames": ["net/rose/rose_subr.c"], "fixing_code_end_loc": [396], "fixing_code_start_loc": [293], "message": "Array index error in the rose_parse_national function in net/rose/rose_subr.c in the Linux kernel before 2.6.39 allows remote attackers to cause a...
1,540
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [381], "buggy_code_start_loc": [293], "filenames": ["net/rose/rose_subr.c"], "fixing_code_end_loc": [396], "fixing_code_start_loc": [293], "message": "Array index error in the rose_parse_national function in net/rose/rose_subr.c in the Linux kernel before 2.6.39 allows remote attackers to cause a...
1,540
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * 2014 John McLear (Etherpad Foundation / McLear Ltd)\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 * Unle...
[ 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [28], "buggy_code_start_loc": [25], "filenames": ["src/node/utils/ExportEtherpad.js"], "fixing_code_end_loc": [39], "fixing_code_start_loc": [26], "message": "node/utils/ExportEtherpad.js in Etherpad 1.5.x before 1.5.2 might allow remote attackers to obtain sensitive information by leveraging an ...
1,541
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * 2014 John McLear (Etherpad Foundation / McLear Ltd)\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 * Unle...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [28], "buggy_code_start_loc": [25], "filenames": ["src/node/utils/ExportEtherpad.js"], "fixing_code_end_loc": [39], "fixing_code_start_loc": [26], "message": "node/utils/ExportEtherpad.js in Etherpad 1.5.x before 1.5.2 might allow remote attackers to obtain sensitive information by leveraging an ...
1,541
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": [3660], "buggy_code_start_loc": [3427], "filenames": ["magick/cache.c"], "fixing_code_end_loc": [3649], "fixing_code_start_loc": [3426], "message": "Memory leak in AcquireVirtualMemory in ImageMagick before 7 allows remote attackers to cause a denial of service (memory consumption) via unspecifie...
1,542
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": [3660], "buggy_code_start_loc": [3427], "filenames": ["magick/cache.c"], "fixing_code_end_loc": [3649], "fixing_code_start_loc": [3426], "message": "Memory leak in AcquireVirtualMemory in ImageMagick before 7 allows remote attackers to cause a denial of service (memory consumption) via unspecifie...
1,542
Determine whether the {function_name} code is vulnerable or not.
[ "*******************************************************************************\nVersion 1.12.2\n*******************************************************************************", "", "\n*******************************************************************************\nVersion 1.12.1\n****************************...
[ 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": [3, 333], "buggy_code_start_loc": [3, 285], "filenames": ["ChangeLog", "upnp/src/genlib/service_table/service_table.c"], "fixing_code_end_loc": [10, 337], "fixing_code_start_loc": [4, 285], "message": "Portable UPnP SDK (aka libupnp) 1.12.1 and earlier allows remote attackers to cause a denial of...
1,543
Determine whether the {function_name} code is vulnerable or not.
[ "*******************************************************************************\nVersion 1.12.2\n*******************************************************************************", "\n2020-06-04 Patrik Lantz pjlantz(at)github", " Fixes #177", " NULL pointer dereference in FindServiceControlURLPat...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3, 333], "buggy_code_start_loc": [3, 285], "filenames": ["ChangeLog", "upnp/src/genlib/service_table/service_table.c"], "fixing_code_end_loc": [10, 337], "fixing_code_start_loc": [4, 285], "message": "Portable UPnP SDK (aka libupnp) 1.12.1 and earlier allows remote attackers to cause a denial of...
1,543
Determine whether the {function_name} code is vulnerable or not.
[ "/*******************************************************************************\n *\n * Copyright (c) 2000-2003 Intel Corporation\n * All rights reserved.\n * Copyright (c) 2012 France Telecom All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are per...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3, 333], "buggy_code_start_loc": [3, 285], "filenames": ["ChangeLog", "upnp/src/genlib/service_table/service_table.c"], "fixing_code_end_loc": [10, 337], "fixing_code_start_loc": [4, 285], "message": "Portable UPnP SDK (aka libupnp) 1.12.1 and earlier allows remote attackers to cause a denial of...
1,543
Determine whether the {function_name} code is vulnerable or not.
[ "/*******************************************************************************\n *\n * Copyright (c) 2000-2003 Intel Corporation\n * All rights reserved.\n * Copyright (c) 2012 France Telecom All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are per...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3, 333], "buggy_code_start_loc": [3, 285], "filenames": ["ChangeLog", "upnp/src/genlib/service_table/service_table.c"], "fixing_code_end_loc": [10, 337], "fixing_code_start_loc": [4, 285], "message": "Portable UPnP SDK (aka libupnp) 1.12.1 and earlier allows remote attackers to cause a denial of...
1,543
Determine whether the {function_name} code is vulnerable or not.
[ "Changelog\n---------", ".. currentmodule:: websockets", ".. _backwards-compatibility policy:", "Backwards-compatibility policy\n..............................", "``websockets`` is intended for production use. Therefore, stability is a goal.", "``websockets`` also aims at providing the best API for WebSoc...
[ 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, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [31, 162, 144], "buggy_code_start_loc": [31, 8, 0], "filenames": ["docs/changelog.rst", "src/websockets/legacy/auth.py", "tests/legacy/test_auth.py"], "fixing_code_end_loc": [38, 164, 151], "fixing_code_start_loc": [32, 9, 1], "message": "The aaugustin websockets library before 9.1 for Python has...
1,544
Determine whether the {function_name} code is vulnerable or not.
[ "Changelog\n---------", ".. currentmodule:: websockets", ".. _backwards-compatibility policy:", "Backwards-compatibility policy\n..............................", "``websockets`` is intended for production use. Therefore, stability is a goal.", "``websockets`` also aims at providing the best API for WebSoc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [31, 162, 144], "buggy_code_start_loc": [31, 8, 0], "filenames": ["docs/changelog.rst", "src/websockets/legacy/auth.py", "tests/legacy/test_auth.py"], "fixing_code_end_loc": [38, 164, 151], "fixing_code_start_loc": [32, 9, 1], "message": "The aaugustin websockets library before 9.1 for Python has...
1,544
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"\n:mod:`websockets.legacy.auth` provides HTTP Basic Authentication according to\n:rfc:`7235` and :rfc:`7617`.", "\"\"\"", "\nimport functools", "", "import http\nfrom typing import Any, Awaitable, Callable, Iterable, Optional, Tuple, Union, cast", "from ..datastructures import Headers\nfrom ..excep...
[ 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, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 162, 144], "buggy_code_start_loc": [31, 8, 0], "filenames": ["docs/changelog.rst", "src/websockets/legacy/auth.py", "tests/legacy/test_auth.py"], "fixing_code_end_loc": [38, 164, 151], "fixing_code_start_loc": [32, 9, 1], "message": "The aaugustin websockets library before 9.1 for Python has...
1,544
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"\n:mod:`websockets.legacy.auth` provides HTTP Basic Authentication according to\n:rfc:`7235` and :rfc:`7617`.", "\"\"\"", "\nimport functools", "import hmac", "import http\nfrom typing import Any, Awaitable, Callable, Iterable, Optional, Tuple, Union, cast", "from ..datastructures import Headers\nf...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 162, 144], "buggy_code_start_loc": [31, 8, 0], "filenames": ["docs/changelog.rst", "src/websockets/legacy/auth.py", "tests/legacy/test_auth.py"], "fixing_code_end_loc": [38, 164, 151], "fixing_code_start_loc": [32, 9, 1], "message": "The aaugustin websockets library before 9.1 for Python has...
1,544
Determine whether the {function_name} code is vulnerable or not.
[ "", "import unittest\nimport urllib.error", "from websockets.exceptions import InvalidStatusCode\nfrom websockets.headers import build_authorization_basic\nfrom websockets.legacy.auth import *\nfrom websockets.legacy.auth import is_credentials", "from .test_client_server import ClientServerTestsMixin, with_cl...
[ 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, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 162, 144], "buggy_code_start_loc": [31, 8, 0], "filenames": ["docs/changelog.rst", "src/websockets/legacy/auth.py", "tests/legacy/test_auth.py"], "fixing_code_end_loc": [38, 164, 151], "fixing_code_start_loc": [32, 9, 1], "message": "The aaugustin websockets library before 9.1 for Python has...
1,544
Determine whether the {function_name} code is vulnerable or not.
[ "import hmac", "import unittest\nimport urllib.error", "from websockets.exceptions import InvalidStatusCode\nfrom websockets.headers import build_authorization_basic\nfrom websockets.legacy.auth import *\nfrom websockets.legacy.auth import is_credentials", "from .test_client_server import ClientServerTestsMix...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 162, 144], "buggy_code_start_loc": [31, 8, 0], "filenames": ["docs/changelog.rst", "src/websockets/legacy/auth.py", "tests/legacy/test_auth.py"], "fixing_code_end_loc": [38, 164, 151], "fixing_code_start_loc": [32, 9, 1], "message": "The aaugustin websockets library before 9.1 for Python has...
1,544
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/fs/ext4/super.c\n *\n * Copyright (C) 1992, 1993, 1994, 1995\n * Remy Card (card@masi.ibp.fr)\n * Laboratoire MASI - Institut Blaise Pascal\n * Universite Pierre et Marie Curie (Paris VI)\n *\n * from\n *\n * linux/fs/minix/inode.c\n *\n * Copyright (C) 1991, 1992 Linus Torvalds\n *\n * Big-endi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3680], "buggy_code_start_loc": [3393], "filenames": ["fs/ext4/super.c"], "fixing_code_end_loc": [3683], "fixing_code_start_loc": [3394], "message": "The ext4_fill_super function in fs/ext4/super.c in the Linux kernel before 2.6.39 does not properly initialize a certain error-report data structur...
1,545
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/fs/ext4/super.c\n *\n * Copyright (C) 1992, 1993, 1994, 1995\n * Remy Card (card@masi.ibp.fr)\n * Laboratoire MASI - Institut Blaise Pascal\n * Universite Pierre et Marie Curie (Paris VI)\n *\n * from\n *\n * linux/fs/minix/inode.c\n *\n * Copyright (C) 1991, 1992 Linus Torvalds\n *\n * Big-endi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3680], "buggy_code_start_loc": [3393], "filenames": ["fs/ext4/super.c"], "fixing_code_end_loc": [3683], "fixing_code_start_loc": [3394], "message": "The ext4_fill_super function in fs/ext4/super.c in the Linux kernel before 2.6.39 does not properly initialize a certain error-report data structur...
1,545
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0+\n/*\n * f_hid.c -- USB HID function driver\n *\n * Copyright (C) 2010 Fabien Chouteau <fabien.chouteau@barco.com>\n */", "#include <linux/kernel.h>\n#include <linux/module.h>\n#include <linux/hid.h>\n#include <linux/idr.h>\n#include <linux/cdev.h>\n#include <linux/mutex.h>\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": [408], "buggy_code_start_loc": [393], "filenames": ["drivers/usb/gadget/function/f_hid.c"], "fixing_code_end_loc": [407], "fixing_code_start_loc": [394], "message": "In the Linux kernel before 4.16.4, a double-locking error in drivers/usb/dwc3/gadget.c may potentially cause a deadlock with f_hid....
1,546
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0+\n/*\n * f_hid.c -- USB HID function driver\n *\n * Copyright (C) 2010 Fabien Chouteau <fabien.chouteau@barco.com>\n */", "#include <linux/kernel.h>\n#include <linux/module.h>\n#include <linux/hid.h>\n#include <linux/idr.h>\n#include <linux/cdev.h>\n#include <linux/mutex.h>\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": [408], "buggy_code_start_loc": [393], "filenames": ["drivers/usb/gadget/function/f_hid.c"], "fixing_code_end_loc": [407], "fixing_code_start_loc": [394], "message": "In the Linux kernel before 4.16.4, a double-locking error in drivers/usb/dwc3/gadget.c may potentially cause a deadlock with f_hid....
1,546
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache.org/licenses...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache.org/licenses...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [207, 51, 222, 63, 100, 120], "buggy_code_start_loc": [206, 51, 19, 62, 99, 79], "filenames": ["horizon/exceptions.py", "horizon/middleware.py", "horizon/tests/auth_tests.py", "horizon/users.py", "horizon/views/auth.py", "horizon/views/auth_forms.py"], "fixing_code_end_loc": [207, 61, 275, 63, 10...
1,547
Determine whether the {function_name} code is vulnerable or not.
[ "/**\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/. OpenMRS is also distributed under\n * the terms of the Healthcare Disclaimer located at http://openmrs.org...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [428], "buggy_code_start_loc": [98], "filenames": ["omod/src/main/java/org/openmrs/module/adminui/page/controller/systemadmin/accounts/AccountPageController.java"], "fixing_code_end_loc": [428], "fixing_code_start_loc": [98], "message": "A vulnerability classified as problematic has been found in...
1,548
Determine whether the {function_name} code is vulnerable or not.
[ "/**\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/. OpenMRS is also distributed under\n * the terms of the Healthcare Disclaimer located at http://openmrs.org...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [428], "buggy_code_start_loc": [98], "filenames": ["omod/src/main/java/org/openmrs/module/adminui/page/controller/systemadmin/accounts/AccountPageController.java"], "fixing_code_end_loc": [428], "fixing_code_start_loc": [98], "message": "A vulnerability classified as problematic has been found in...
1,548
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright 2018 BlackRock, Inc.", "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", "\thttp://www.apache.org/licenses/LICENSE-2.0", "Unless required by applicable law or agreed to ...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 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, 0 ]
PreciseBugs
{"buggy_code_end_loc": [243], "buggy_code_start_loc": [22], "filenames": ["sensors/artifacts/git.go"], "fixing_code_end_loc": [276], "fixing_code_start_loc": [23], "message": "The package github.com/argoproj/argo-events/sensors/artifacts before 1.7.1 are vulnerable to Directory Traversal in the (g *GitArtifactReader).R...
1,549
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright 2018 BlackRock, Inc.", "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", "\thttp://www.apache.org/licenses/LICENSE-2.0", "Unless required by applicable law or agreed to ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [243], "buggy_code_start_loc": [22], "filenames": ["sensors/artifacts/git.go"], "fixing_code_end_loc": [276], "fixing_code_start_loc": [23], "message": "The package github.com/argoproj/argo-events/sensors/artifacts before 1.7.1 are vulnerable to Directory Traversal in the (g *GitArtifactReader).R...
1,549
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2021 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, 0, 1, 1, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [697, 170, 363], "buggy_code_start_loc": [659, 132, 363], "filenames": ["tensorflow/lite/kernels/internal/reference/reference_ops.h", "tensorflow/lite/kernels/scatter_nd.cc", "tensorflow/lite/kernels/scatter_nd_test.cc"], "fixing_code_end_loc": [705, 181, 393], "fixing_code_start_loc": [659, 132,...
1,550
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2021 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": [697, 170, 363], "buggy_code_start_loc": [659, 132, 363], "filenames": ["tensorflow/lite/kernels/internal/reference/reference_ops.h", "tensorflow/lite/kernels/scatter_nd.cc", "tensorflow/lite/kernels/scatter_nd_test.cc"], "fixing_code_end_loc": [705, 181, 393], "fixing_code_start_loc": [659, 132,...
1,550
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2019 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, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [697, 170, 363], "buggy_code_start_loc": [659, 132, 363], "filenames": ["tensorflow/lite/kernels/internal/reference/reference_ops.h", "tensorflow/lite/kernels/scatter_nd.cc", "tensorflow/lite/kernels/scatter_nd_test.cc"], "fixing_code_end_loc": [705, 181, 393], "fixing_code_start_loc": [659, 132,...
1,550
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2019 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 ]
PreciseBugs
{"buggy_code_end_loc": [697, 170, 363], "buggy_code_start_loc": [659, 132, 363], "filenames": ["tensorflow/lite/kernels/internal/reference/reference_ops.h", "tensorflow/lite/kernels/scatter_nd.cc", "tensorflow/lite/kernels/scatter_nd_test.cc"], "fixing_code_end_loc": [705, 181, 393], "fixing_code_start_loc": [659, 132,...
1,550
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2019 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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [697, 170, 363], "buggy_code_start_loc": [659, 132, 363], "filenames": ["tensorflow/lite/kernels/internal/reference/reference_ops.h", "tensorflow/lite/kernels/scatter_nd.cc", "tensorflow/lite/kernels/scatter_nd_test.cc"], "fixing_code_end_loc": [705, 181, 393], "fixing_code_start_loc": [659, 132,...
1,550
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2019 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 ]
PreciseBugs
{"buggy_code_end_loc": [697, 170, 363], "buggy_code_start_loc": [659, 132, 363], "filenames": ["tensorflow/lite/kernels/internal/reference/reference_ops.h", "tensorflow/lite/kernels/scatter_nd.cc", "tensorflow/lite/kernels/scatter_nd_test.cc"], "fixing_code_end_loc": [705, 181, 393], "fixing_code_start_loc": [659, 132,...
1,550
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "import (\n\t\"context\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net/http\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"sort\"\n\t\"strings\"", "\t\"github.com/grafana/grafana-plugin-sdk-go/backend\"\n\t\"github.com/grafana/grafana/pkg/api/dtos\"\n\t\"github.com/grafana/grafan...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [299, 60], "buggy_code_start_loc": [292, 25], "filenames": ["pkg/api/plugins.go", "pkg/api/plugins_test.go"], "fixing_code_end_loc": [313, 88], "fixing_code_start_loc": [292, 26], "message": "Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through...
1,551
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "import (\n\t\"context\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net/http\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"sort\"\n\t\"strings\"", "\t\"github.com/grafana/grafana-plugin-sdk-go/backend\"\n\t\"github.com/grafana/grafana/pkg/api/dtos\"\n\t\"github.com/grafana/grafan...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [299, 60], "buggy_code_start_loc": [292, 25], "filenames": ["pkg/api/plugins.go", "pkg/api/plugins_test.go"], "fixing_code_end_loc": [313, 88], "fixing_code_start_loc": [292, 26], "message": "Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through...
1,551
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"testing\"", "\t\"github.com/stretchr/testify/assert\"\n\t\"github.com/stretchr/testify/require\"", "\t\"github.com/grafana/grafana/pkg/bus\"\n\t\"github.com/grafana/grafana/pkg/infra/log\"\n\t\"github...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [299, 60], "buggy_code_start_loc": [292, 25], "filenames": ["pkg/api/plugins.go", "pkg/api/plugins_test.go"], "fixing_code_end_loc": [313, 88], "fixing_code_start_loc": [292, 26], "message": "Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through...
1,551
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"testing\"", "\t\"github.com/stretchr/testify/assert\"\n\t\"github.com/stretchr/testify/require\"", "\t\"github.com/grafana/grafana/pkg/bus\"\n\t\"github.com/grafana/grafana/pkg/infra/log\"\n\t\"github...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [299, 60], "buggy_code_start_loc": [292, 25], "filenames": ["pkg/api/plugins.go", "pkg/api/plugins_test.go"], "fixing_code_end_loc": [313, 88], "fixing_code_start_loc": [292, 26], "message": "Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through...
1,551
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (C) 2016 The Qt Company Ltd.\n// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only", "#include \"qsql_odbc_p.h\"\n#include <qsqlrecord.h>", "#if defined (Q_OS_WIN32)\n#include <qt_windows.h>\n#endif\n#include <qcoreapplication.h>\n#include <qdatetim...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2574], "buggy_code_start_loc": [747], "filenames": ["src/plugins/sqldrivers/odbc/qsql_odbc.cpp"], "fixing_code_end_loc": [2586], "fixing_code_start_loc": [748], "message": "Qt before 6.4.3 allows a denial of service via a crafted string when the SQL ODBC driver plugin is used and the size of SQL...
1,552
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (C) 2016 The Qt Company Ltd.\n// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only", "#include \"qsql_odbc_p.h\"\n#include <qsqlrecord.h>", "#if defined (Q_OS_WIN32)\n#include <qt_windows.h>\n#endif\n#include <qcoreapplication.h>\n#include <qdatetim...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2574], "buggy_code_start_loc": [747], "filenames": ["src/plugins/sqldrivers/odbc/qsql_odbc.cpp"], "fixing_code_end_loc": [2586], "fixing_code_start_loc": [748], "message": "Qt before 6.4.3 allows a denial of service via a crafted string when the SQL ODBC driver plugin is used and the size of SQL...
1,552
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n** 2017-12-26\n**\n** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.\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": [2040, 1859, 2], "buggy_code_start_loc": [1635, 1, 1], "filenames": ["ext/misc/zipfile.c", "manifest", "manifest.uuid"], "fixing_code_end_loc": [2041, 1859, 2], "fixing_code_start_loc": [1635, 1, 1], "message": "ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situati...
1,553
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n** 2017-12-26\n**\n** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.\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": [2040, 1859, 2], "buggy_code_start_loc": [1635, 1, 1], "filenames": ["ext/misc/zipfile.c", "manifest", "manifest.uuid"], "fixing_code_end_loc": [2041, 1859, 2], "fixing_code_start_loc": [1635, 1, 1], "message": "ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situati...
1,553
Determine whether the {function_name} code is vulnerable or not.
[ "C Thoroughly\\sreset\\sthe\\srtree\\scursor\\sat\\sthe\\sstart\\sof\\seach\\sVFilter\\soperation,\\nincluding\\sclearing\\sits\\scache.\\s\\sThis\\sprevents\\sleft\\sover\\spages\\sin\\sthe\\scache\\nwhich\\scan\\scause\\sproblems\\son\\sshutdown\\safter\\sa\\sLEFT\\sJOIN.\\nTicket\\s[5eadca17c4dde90c]\nD 2019-12-...
[ 0, 1, 0, 1, 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [2040, 1859, 2], "buggy_code_start_loc": [1635, 1, 1], "filenames": ["ext/misc/zipfile.c", "manifest", "manifest.uuid"], "fixing_code_end_loc": [2041, 1859, 2], "fixing_code_start_loc": [1635, 1, 1], "message": "ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situati...
1,553
Determine whether the {function_name} code is vulnerable or not.
[ "C Fix\\sthe\\szipfile()\\sfunction\\sin\\sthe\\szipfile\\sextension\\sso\\sthat\\sit\\sis\\sable\\sto\\ndeal\\swith\\sgoofy\\sfilenames\\sthat\\scontain\\sembedded\\szeros.\nD 2019-12-23T21:04:33.977", "F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1\nF .fossil-sett...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2040, 1859, 2], "buggy_code_start_loc": [1635, 1, 1], "filenames": ["ext/misc/zipfile.c", "manifest", "manifest.uuid"], "fixing_code_end_loc": [2041, 1859, 2], "fixing_code_start_loc": [1635, 1, 1], "message": "ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situati...
1,553
Determine whether the {function_name} code is vulnerable or not.
[ "4c50afafce8416369f89477ba7fe7d9b047399a5ee5754c73d0e67bbea8d877c" ]
[ 0 ]
PreciseBugs
{"buggy_code_end_loc": [2040, 1859, 2], "buggy_code_start_loc": [1635, 1, 1], "filenames": ["ext/misc/zipfile.c", "manifest", "manifest.uuid"], "fixing_code_end_loc": [2041, 1859, 2], "fixing_code_start_loc": [1635, 1, 1], "message": "ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situati...
1,553
Determine whether the {function_name} code is vulnerable or not.
[ "cc0fb00a128fd0773db5ff7891f7aa577a3671d570166d2cbb30df922344adcf" ]
[ 1 ]
PreciseBugs
{"buggy_code_end_loc": [2040, 1859, 2], "buggy_code_start_loc": [1635, 1, 1], "filenames": ["ext/misc/zipfile.c", "manifest", "manifest.uuid"], "fixing_code_end_loc": [2041, 1859, 2], "fixing_code_start_loc": [1635, 1, 1], "message": "ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situati...
1,553
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\n#\n# = net/imap.rb\n#\n# Copyright (C) 2000 Shugo Maeda <shugo@ruby-lang.org>\n#\n# This library is distributed under the terms of the Ruby license.\n# You can freely distribute/modify this library.\n#\n# Documentation: Shugo Maeda, with RDoc conversion and overview by William\n# We...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3719, 786, 6], "buggy_code_start_loc": [1218, 127, 5], "filenames": ["lib/net/imap.rb", "test/net/imap/test_imap.rb", "version.h"], "fixing_code_end_loc": [3726, 818, 6], "fixing_code_start_loc": [1219, 128, 5], "message": "An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and ...
1,554
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\n#\n# = net/imap.rb\n#\n# Copyright (C) 2000 Shugo Maeda <shugo@ruby-lang.org>\n#\n# This library is distributed under the terms of the Ruby license.\n# You can freely distribute/modify this library.\n#\n# Documentation: Shugo Maeda, with RDoc conversion and overview by William\n# We...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3719, 786, 6], "buggy_code_start_loc": [1218, 127, 5], "filenames": ["lib/net/imap.rb", "test/net/imap/test_imap.rb", "version.h"], "fixing_code_end_loc": [3726, 818, 6], "fixing_code_start_loc": [1219, 128, 5], "message": "An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and ...
1,554
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require \"net/imap\"\nrequire \"test/unit\"", "class IMAPTest < Test::Unit::TestCase\n CA_FILE = File.expand_path(\"../fixtures/cacert.pem\", __dir__)\n SERVER_KEY = File.expand_path(\"../fixtures/server.key\", __dir__)\n SERVER_CERT = File.expand_path(\"../fixtures/server.c...
[ 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, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3719, 786, 6], "buggy_code_start_loc": [1218, 127, 5], "filenames": ["lib/net/imap.rb", "test/net/imap/test_imap.rb", "version.h"], "fixing_code_end_loc": [3726, 818, 6], "fixing_code_start_loc": [1219, 128, 5], "message": "An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and ...
1,554
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require \"net/imap\"\nrequire \"test/unit\"", "class IMAPTest < Test::Unit::TestCase\n CA_FILE = File.expand_path(\"../fixtures/cacert.pem\", __dir__)\n SERVER_KEY = File.expand_path(\"../fixtures/server.key\", __dir__)\n SERVER_CERT = File.expand_path(\"../fixtures/server.c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3719, 786, 6], "buggy_code_start_loc": [1218, 127, 5], "filenames": ["lib/net/imap.rb", "test/net/imap/test_imap.rb", "version.h"], "fixing_code_end_loc": [3726, 818, 6], "fixing_code_start_loc": [1219, 128, 5], "message": "An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and ...
1,554
Determine whether the {function_name} code is vulnerable or not.
[ "# define RUBY_VERSION_MAJOR RUBY_API_VERSION_MAJOR\n# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR\n#define RUBY_VERSION_TEENY 4\n#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR\"-\"RUBY_RELEASE_MONTH_STR\"-\"RUBY_RELEASE_DAY_STR", "#define RUBY_PATCHLEVEL 190", "\n#define RUBY_RELEASE_YEAR 2021\n#define R...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3719, 786, 6], "buggy_code_start_loc": [1218, 127, 5], "filenames": ["lib/net/imap.rb", "test/net/imap/test_imap.rb", "version.h"], "fixing_code_end_loc": [3726, 818, 6], "fixing_code_start_loc": [1219, 128, 5], "message": "An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and ...
1,554
Determine whether the {function_name} code is vulnerable or not.
[ "# define RUBY_VERSION_MAJOR RUBY_API_VERSION_MAJOR\n# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR\n#define RUBY_VERSION_TEENY 4\n#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR\"-\"RUBY_RELEASE_MONTH_STR\"-\"RUBY_RELEASE_DAY_STR", "#define RUBY_PATCHLEVEL 191", "\n#define RUBY_RELEASE_YEAR 2021\n#define R...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3719, 786, 6], "buggy_code_start_loc": [1218, 127, 5], "filenames": ["lib/net/imap.rb", "test/net/imap/test_imap.rb", "version.h"], "fixing_code_end_loc": [3726, 818, 6], "fixing_code_start_loc": [1219, 128, 5], "message": "An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and ...
1,554
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2005-2018 Team Kodi\n * This file is part of Kodi - https://kodi.tv\n *\n * SPDX-License-Identifier: GPL-2.0-or-later\n * See LICENSES/README.md for more information.\n */", "//--------------------------------------------------------------------------\n// Program to pull the EXIF informa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [880], "buggy_code_start_loc": [880], "filenames": ["xbmc/pictures/ExifParse.cpp"], "fixing_code_end_loc": [887], "fixing_code_start_loc": [881], "message": "A heap buffer overflow vulnerability in Kodi Home Theater Software up to 19.5 allows attackers to cause a denial of service due to an impro...
1,555
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2005-2018 Team Kodi\n * This file is part of Kodi - https://kodi.tv\n *\n * SPDX-License-Identifier: GPL-2.0-or-later\n * See LICENSES/README.md for more information.\n */", "//--------------------------------------------------------------------------\n// Program to pull the EXIF informa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [880], "buggy_code_start_loc": [880], "filenames": ["xbmc/pictures/ExifParse.cpp"], "fixing_code_end_loc": [887], "fixing_code_start_loc": [881], "message": "A heap buffer overflow vulnerability in Kodi Home Theater Software up to 19.5 allows attackers to cause a denial of service due to an impro...
1,555
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef __LINUX_NET_AFUNIX_H\n#define __LINUX_NET_AFUNIX_H", "#include <linux/socket.h>\n#include <linux/un.h>\n#include <linux/mutex.h>\n#include <net/sock.h>\n", "void unix_inflight(struct file *fp);\nvoid unix_notinflight(struct file *fp);", "void unix_gc(void);\nvoid wait_for_unix_gc(void);\nstruct sock ...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef __LINUX_NET_AFUNIX_H\n#define __LINUX_NET_AFUNIX_H", "#include <linux/socket.h>\n#include <linux/un.h>\n#include <linux/mutex.h>\n#include <net/sock.h>\n", "void unix_inflight(struct user_struct *user, struct file *fp);\nvoid unix_notinflight(struct user_struct *user, struct file *fp);", "void unix_g...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef __LINUX_NET_SCM_H\n#define __LINUX_NET_SCM_H", "#include <linux/limits.h>\n#include <linux/net.h>\n#include <linux/security.h>\n#include <linux/pid.h>\n#include <linux/nsproxy.h>", "/* Well, we should have at least one descriptor open\n * to accept passed FDs 8)\n */\n#define SCM_MAX_FD\t253", "struc...
[ 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": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef __LINUX_NET_SCM_H\n#define __LINUX_NET_SCM_H", "#include <linux/limits.h>\n#include <linux/net.h>\n#include <linux/security.h>\n#include <linux/pid.h>\n#include <linux/nsproxy.h>", "/* Well, we should have at least one descriptor open\n * to accept passed FDs 8)\n */\n#define SCM_MAX_FD\t253", "struc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "/* scm.c - Socket level control messages processing.\n *\n * Author:\tAlexey Kuznetsov, <kuznet@ms2.inr.ac.ru>\n * Alignment and value checking mods by Craig Metz\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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "/* scm.c - Socket level control messages processing.\n *\n * Author:\tAlexey Kuznetsov, <kuznet@ms2.inr.ac.ru>\n * Alignment and value checking mods by Craig Metz\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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * NET4:\tImplementation of BSD Unix domain sockets.\n *\n * Authors:\tAlan Cox, <alan@lxorguk.ukuu.org.uk>\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 ver...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * NET4:\tImplementation of BSD Unix domain sockets.\n *\n * Authors:\tAlan Cox, <alan@lxorguk.ukuu.org.uk>\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 ver...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * NET3:\tGarbage Collector For AF_UNIX sockets\n *\n * Garbage Collector:\n *\tCopyright (C) Barak A. Pearlmutter.\n *\tReleased under the GPL version 2 or later.\n *\n * Chopped about by Alan Cox 22/3/96 to make it fit the AF_UNIX socket problem.\n * If it doesn't work blame me, it worked when Barak sent it....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * NET3:\tGarbage Collector For AF_UNIX sockets\n *\n * Garbage Collector:\n *\tCopyright (C) Barak A. Pearlmutter.\n *\tReleased under the GPL version 2 or later.\n *\n * Chopped about by Alan Cox 22/3/96 to make it fit the AF_UNIX socket problem.\n * If it doesn't work blame me, it worked when Barak sent 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 ]
PreciseBugs
{"buggy_code_end_loc": [11, 23, 338, 1565, 156], "buggy_code_start_loc": [9, 23, 89, 1499, 119], "filenames": ["include/net/af_unix.h", "include/net/scm.h", "net/core/scm.c", "net/unix/af_unix.c", "net/unix/garbage.c"], "fixing_code_end_loc": [11, 25, 346, 1565, 156], "fixing_code_start_loc": [9, 24, 90, 1499, 119], "m...
1,556
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nnamespace Dompdf;", "class Options\n{\n /**\n * The root of your DOMPDF installation\n *\n * @var string\n */\n private $rootDir;", " /**\n * The location of a temporary directory.\n *\n * The directory specified must be writable by the webserver process.\n * The...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [299, 25], "buggy_code_start_loc": [299, 24], "filenames": ["src/Options.php", "tests/DompdfTest.php"], "fixing_code_end_loc": [312, 23], "fixing_code_start_loc": [300, 23], "message": "Server-Side Request Forgery (SSRF) in GitHub repository dompdf/dompdf prior to 2.0.0.", "other": {"cve": {"cisa...
1,557
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nnamespace Dompdf;", "class Options\n{\n /**\n * The root of your DOMPDF installation\n *\n * @var string\n */\n private $rootDir;", " /**\n * The location of a temporary directory.\n *\n * The directory specified must be writable by the webserver process.\n * The...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [299, 25], "buggy_code_start_loc": [299, 24], "filenames": ["src/Options.php", "tests/DompdfTest.php"], "fixing_code_end_loc": [312, 23], "fixing_code_start_loc": [300, 23], "message": "Server-Side Request Forgery (SSRF) in GitHub repository dompdf/dompdf prior to 2.0.0.", "other": {"cve": {"cisa...
1,557
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nnamespace Dompdf\\Tests;", "use DOMDocument;\nuse Dompdf\\Adapter\\CPDF;\nuse Dompdf\\Css\\Stylesheet;\nuse Dompdf\\Dompdf;\nuse Dompdf\\Frame\\FrameTree;\nuse Dompdf\\Options;\nuse Dompdf\\Tests\\TestCase;", "class DompdfTest extends TestCase\n{\n public function testConstructor()\n {\n $d...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [299, 25], "buggy_code_start_loc": [299, 24], "filenames": ["src/Options.php", "tests/DompdfTest.php"], "fixing_code_end_loc": [312, 23], "fixing_code_start_loc": [300, 23], "message": "Server-Side Request Forgery (SSRF) in GitHub repository dompdf/dompdf prior to 2.0.0.", "other": {"cve": {"cisa...
1,557
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nnamespace Dompdf\\Tests;", "use DOMDocument;\nuse Dompdf\\Adapter\\CPDF;\nuse Dompdf\\Css\\Stylesheet;\nuse Dompdf\\Dompdf;\nuse Dompdf\\Frame\\FrameTree;\nuse Dompdf\\Options;\nuse Dompdf\\Tests\\TestCase;", "class DompdfTest extends TestCase\n{\n public function testConstructor()\n {\n $d...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [299, 25], "buggy_code_start_loc": [299, 24], "filenames": ["src/Options.php", "tests/DompdfTest.php"], "fixing_code_end_loc": [312, 23], "fixing_code_start_loc": [300, 23], "message": "Server-Side Request Forgery (SSRF) in GitHub repository dompdf/dompdf prior to 2.0.0.", "other": {"cve": {"cisa...
1,557
Determine whether the {function_name} code is vulnerable or not.
[ "const untracker = [ undefined, null ]", "", "const Assigner = function( delegate: ( a: any, b: any ) => any, useuntrack: boolean = true ): ( ...args: any[] ) => any {\n const assigner = ( ...args: any[] ) => {", " console.log( { args } )", " return args.reduce( ( a, b ) => {\n if ( untracker.in...
[ 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9], "buggy_code_start_loc": [2], "filenames": ["src/assigner.ts"], "fixing_code_end_loc": [10], "fixing_code_start_loc": [2], "message": "This affects all versions of package @cookiex/deep. The global proto object can be polluted using the __proto__ object.", "other": {"cve": {"cisaActionDue": n...
1,558
Determine whether the {function_name} code is vulnerable or not.
[ "const untracker = [ undefined, null ]", "const invalids = [ '__proto__', 'constructor', 'prototype' ]", "const Assigner = function( delegate: ( a: any, b: any ) => any, useuntrack: boolean = true ): ( ...args: any[] ) => any {\n const assigner = ( ...args: any[] ) => {", "", " return args.reduce( ( a, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9], "buggy_code_start_loc": [2], "filenames": ["src/assigner.ts"], "fixing_code_end_loc": [10], "fixing_code_start_loc": [2], "message": "This affects all versions of package @cookiex/deep. The global proto object can be polluted using the __proto__ object.", "other": {"cve": {"cisaActionDue": n...
1,558
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 * edit.c: functio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1751, 9, 367, 737], "buggy_code_start_loc": [1749, 8, 367, 737], "filenames": ["src/edit.c", "src/proto/edit.pro", "src/testdir/test_cmdwin.vim", "src/version.c"], "fixing_code_end_loc": [1752, 9, 376, 740], "fixing_code_start_loc": [1749, 8, 368, 738], "message": "Buffer Over-read in GitHub rep...
1,559
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 * edit.c: functio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1751, 9, 367, 737], "buggy_code_start_loc": [1749, 8, 367, 737], "filenames": ["src/edit.c", "src/proto/edit.pro", "src/testdir/test_cmdwin.vim", "src/version.c"], "fixing_code_end_loc": [1752, 9, 376, 740], "fixing_code_start_loc": [1749, 8, 368, 738], "message": "Buffer Over-read in GitHub rep...
1,559
Determine whether the {function_name} code is vulnerable or not.
[ "/* edit.c */\nint edit(int cmdchar, int startln, long count);\nint ins_need_undo_get(void);\nvoid ins_redraw(int ready);\nvoid edit_putchar(int c, int highlight);\nvoid set_insstart(linenr_T lnum, int col);\nvoid edit_unputchar(void);", "void display_dollar(colnr_T col);", "void undisplay_dollar(void);\nvoid t...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1751, 9, 367, 737], "buggy_code_start_loc": [1749, 8, 367, 737], "filenames": ["src/edit.c", "src/proto/edit.pro", "src/testdir/test_cmdwin.vim", "src/version.c"], "fixing_code_end_loc": [1752, 9, 376, 740], "fixing_code_start_loc": [1749, 8, 368, 738], "message": "Buffer Over-read in GitHub rep...
1,559
Determine whether the {function_name} code is vulnerable or not.
[ "/* edit.c */\nint edit(int cmdchar, int startln, long count);\nint ins_need_undo_get(void);\nvoid ins_redraw(int ready);\nvoid edit_putchar(int c, int highlight);\nvoid set_insstart(linenr_T lnum, int col);\nvoid edit_unputchar(void);", "void display_dollar(colnr_T col_arg);", "void undisplay_dollar(void);\nvo...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1751, 9, 367, 737], "buggy_code_start_loc": [1749, 8, 367, 737], "filenames": ["src/edit.c", "src/proto/edit.pro", "src/testdir/test_cmdwin.vim", "src/version.c"], "fixing_code_end_loc": [1752, 9, 376, 740], "fixing_code_start_loc": [1749, 8, 368, 738], "message": "Buffer Over-read in GitHub rep...
1,559
Determine whether the {function_name} code is vulnerable or not.
[ "\" Tests for editing the command line.", "source check.vim\nCheckFeature cmdwin", "source screendump.vim", "func Test_getcmdwintype()\n call feedkeys(\"q/:let a = getcmdwintype()\\<CR>:q\\<CR>\", 'x!')\n call assert_equal('/', a)", " call feedkeys(\"q?:let a = getcmdwintype()\\<CR>:q\\<CR>\", 'x!')\n c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1751, 9, 367, 737], "buggy_code_start_loc": [1749, 8, 367, 737], "filenames": ["src/edit.c", "src/proto/edit.pro", "src/testdir/test_cmdwin.vim", "src/version.c"], "fixing_code_end_loc": [1752, 9, 376, 740], "fixing_code_start_loc": [1749, 8, 368, 738], "message": "Buffer Over-read in GitHub rep...
1,559
Determine whether the {function_name} code is vulnerable or not.
[ "\" Tests for editing the command line.", "source check.vim\nCheckFeature cmdwin", "source screendump.vim", "func Test_getcmdwintype()\n call feedkeys(\"q/:let a = getcmdwintype()\\<CR>:q\\<CR>\", 'x!')\n call assert_equal('/', a)", " call feedkeys(\"q?:let a = getcmdwintype()\\<CR>:q\\<CR>\", 'x!')\n c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1751, 9, 367, 737], "buggy_code_start_loc": [1749, 8, 367, 737], "filenames": ["src/edit.c", "src/proto/edit.pro", "src/testdir/test_cmdwin.vim", "src/version.c"], "fixing_code_end_loc": [1752, 9, 376, 740], "fixing_code_start_loc": [1749, 8, 368, 738], "message": "Buffer Over-read in GitHub rep...
1,559