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%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [270], "buggy_code_start_loc": [169], "filenames": ["MagickCore/fourier.c"], "fixing_code_end_loc": [277], "fixing_code_start_loc": [170], "message": "ImageMagick 7.0.8-50 Q16 has a heap-based buffer over-read in MagickCore/fourier.c in ComplexImages.", "other": {"cve": {"cisaActionDue": null, "c...
914
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": [270], "buggy_code_start_loc": [169], "filenames": ["MagickCore/fourier.c"], "fixing_code_end_loc": [277], "fixing_code_start_loc": [170], "message": "ImageMagick 7.0.8-50 Q16 has a heap-based buffer over-read in MagickCore/fourier.c in ComplexImages.", "other": {"cve": {"cisaActionDue": null, "c...
914
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-jpeg.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "#include \"imagew-config.h\"", "#if IW_SUPPORT_JPEG == 1", "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <math.h>\n#include <setjmp.h>", "#include...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 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, 1...
PreciseBugs
{"buggy_code_end_loc": [181], "buggy_code_start_loc": [60], "filenames": ["src/imagew-jpeg.c"], "fixing_code_end_loc": [193], "fixing_code_start_loc": [61], "message": "The iw_get_ui16be function in imagew-util.c:422:24 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial of service (i...
915
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-jpeg.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "#include \"imagew-config.h\"", "#if IW_SUPPORT_JPEG == 1", "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <math.h>\n#include <setjmp.h>", "#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": [181], "buggy_code_start_loc": [60], "filenames": ["src/imagew-jpeg.c"], "fixing_code_end_loc": [193], "fixing_code_start_loc": [61], "message": "The iw_get_ui16be function in imagew-util.c:422:24 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial of service (i...
915
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/*\n\tPhoronix Test Suite\n\tURLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/\n\tCopyright (C) 2013 - 2022, Phoronix Media\n\tCopyright (C) 2013 - 2022, Michael Larabel", "\tThis program is free software; you can redistribute it and/or modify\n\tit under the terms of the GNU General ...
[ 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, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [43], "buggy_code_start_loc": [40], "filenames": ["pts-core/phoromatic/phoromatic_functions.php"], "fixing_code_end_loc": [54], "fixing_code_start_loc": [40], "message": "A XSS vulnerability was found in phoromatic_r_add_test_details.php in phoronix-test-suite.", "other": {"cve": {"cisaActionDue"...
916
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/*\n\tPhoronix Test Suite\n\tURLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/\n\tCopyright (C) 2013 - 2022, Phoronix Media\n\tCopyright (C) 2013 - 2022, Michael Larabel", "\tThis program is free software; you can redistribute it and/or modify\n\tit under the terms of the GNU General ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [43], "buggy_code_start_loc": [40], "filenames": ["pts-core/phoromatic/phoromatic_functions.php"], "fixing_code_end_loc": [54], "fixing_code_start_loc": [40], "message": "A XSS vulnerability was found in phoromatic_r_add_test_details.php in phoronix-test-suite.", "other": {"cve": {"cisaActionDue"...
916
Determine whether the {function_name} code is vulnerable or not.
[ "/************************************************************\n * Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.\n *\n * Permission to use, copy, modify, and distribute this\n * software and its documentation for any purpose and without\n * fee is hereby granted, provided that the above copyright\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [607], "buggy_code_start_loc": [599], "filenames": ["src/xkbcomp/keycodes.c"], "fixing_code_end_loc": [607], "fixing_code_start_loc": [599], "message": "Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes.c in xkbcommon before 0.8.1 could be us...
917
Determine whether the {function_name} code is vulnerable or not.
[ "/************************************************************\n * Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.\n *\n * Permission to use, copy, modify, and distribute this\n * software and its documentation for any purpose and without\n * fee is hereby granted, provided that the above copyright\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [607], "buggy_code_start_loc": [599], "filenames": ["src/xkbcomp/keycodes.c"], "fixing_code_end_loc": [607], "fixing_code_start_loc": [599], "message": "Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes.c in xkbcommon before 0.8.1 could be us...
917
Determine whether the {function_name} code is vulnerable or not.
[ "", "2016-10-09 Even Rouault <even.rouault at spatialys.com>", "\t* tools/tiff2pdf.c: fix write buffer overflow of 2 bytes on JPEG\n\tcompressed images. Reported by Tyler Bohan of Cisco Talos as\n\tTALOS-CAN-0187 / CVE-2016-5652.\n\tAlso prevents writing 2 extra uninitialized bytes to the file stream.", "2016...
[ 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": [0, 824], "buggy_code_start_loc": [0, 822], "filenames": ["ChangeLog", "tools/tiffcrop.c"], "fixing_code_end_loc": [7, 834], "fixing_code_start_loc": [1, 822], "message": "tools/tiffcrop.c in libtiff 4.0.6 has an out-of-bounds read in readContigTilesIntoBuffer(). Reported as MSVR 35092.", "other"...
918
Determine whether the {function_name} code is vulnerable or not.
[ "2016-10-14 Even Rouault <even.rouault at spatialys.com>", "\t* tools/tiffcrop.c: fix out-of-bound read of up to 3 bytes in\n\treadContigTilesIntoBuffer(). Reported as MSVR 35092 by Axel Souchet\n\t& Vishal Chauhan from the MSRC Vulnerabilities & Mitigations team.\n", "2016-10-09 Even Rouault <even.rouault at 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [0, 824], "buggy_code_start_loc": [0, 822], "filenames": ["ChangeLog", "tools/tiffcrop.c"], "fixing_code_end_loc": [7, 834], "fixing_code_start_loc": [1, 822], "message": "tools/tiffcrop.c in libtiff 4.0.6 has an out-of-bounds read in readContigTilesIntoBuffer(). Reported as MSVR 35092.", "other"...
918
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */", "/* tiffcrop.c -- a port of tiffcp.c extended to include manipulations of\n * the image data through additional options listed below\n *\n * Original code:\n * Copyright (c) 1988-1997 Sam Leffler\n * Copyright (c) 1991-1997 Silicon Graphics, Inc.\n * Additions (c) Richard Nolde 2006-2010 \n *\n * Pe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [0, 824], "buggy_code_start_loc": [0, 822], "filenames": ["ChangeLog", "tools/tiffcrop.c"], "fixing_code_end_loc": [7, 834], "fixing_code_start_loc": [1, 822], "message": "tools/tiffcrop.c in libtiff 4.0.6 has an out-of-bounds read in readContigTilesIntoBuffer(). Reported as MSVR 35092.", "other"...
918
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */", "/* tiffcrop.c -- a port of tiffcp.c extended to include manipulations of\n * the image data through additional options listed below\n *\n * Original code:\n * Copyright (c) 1988-1997 Sam Leffler\n * Copyright (c) 1991-1997 Silicon Graphics, Inc.\n * Additions (c) Richard Nolde 2006-2010 \n *\n * Pe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [0, 824], "buggy_code_start_loc": [0, 822], "filenames": ["ChangeLog", "tools/tiffcrop.c"], "fixing_code_end_loc": [7, 834], "fixing_code_start_loc": [1, 822], "message": "tools/tiffcrop.c in libtiff 4.0.6 has an out-of-bounds read in readContigTilesIntoBuffer(). Reported as MSVR 35092.", "other"...
918
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% M M AAA TTTTT L AAA BBBB ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [871], "buggy_code_start_loc": [870], "filenames": ["coders/mat.c"], "fixing_code_end_loc": [871], "fixing_code_start_loc": [870], "message": "coders/mat.c in ImageMagick before 6.9.4-0 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted m...
919
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% M M AAA TTTTT L AAA BBBB ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [871], "buggy_code_start_loc": [870], "filenames": ["coders/mat.c"], "fixing_code_end_loc": [871], "fixing_code_start_loc": [870], "message": "coders/mat.c in ImageMagick before 6.9.4-0 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted m...
919
Determine whether the {function_name} code is vulnerable or not.
[ "{% if config.theme %}\n {% if config.theme == 'system' %}\n <style>\n @import \"{{ cb_url('light-theme.css') }}\" screen;\n @import \"{{ cb_url('dark-theme.css') }}\" screen and (prefers-color-scheme: dark);\n </style>\n {% else %}\n <link rel=\"stylesheet\" href=\"...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20], "buggy_code_start_loc": [19], "filenames": ["app/templates/error.html"], "fixing_code_end_loc": [20], "fixing_code_start_loc": [19], "message": "The package whoogle-search before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via the query string parameter q. In the case where it does n...
920
Determine whether the {function_name} code is vulnerable or not.
[ "{% if config.theme %}\n {% if config.theme == 'system' %}\n <style>\n @import \"{{ cb_url('light-theme.css') }}\" screen;\n @import \"{{ cb_url('dark-theme.css') }}\" screen and (prefers-color-scheme: dark);\n </style>\n {% else %}\n <link rel=\"stylesheet\" href=\"...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20], "buggy_code_start_loc": [19], "filenames": ["app/templates/error.html"], "fixing_code_end_loc": [20], "fixing_code_start_loc": [19], "message": "The package whoogle-search before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via the query string parameter q. In the case where it does n...
920
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-FileCopyrightText: 2009-2018 pancake <pancake@nopcode.org>\n// SPDX-FileCopyrightText: 2009-2018 defragger <rlaemmert@gmail.com>\n// SPDX-License-Identifier: LGPL-3.0-only", "#include <rz_core.h>\n#include <rz_debug.h>\n#include <libgdbr.h>\n#include <gdbclient/commands.h>", "typedef struct {\n\tlibgdb...
[ 1, 1, 1, 1, 0, 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 ]
PreciseBugs
{"buggy_code_end_loc": [218, 52, 216, 547], "buggy_code_start_loc": [16, 5, 216, 11], "filenames": ["librz/debug/p/debug_gdb.c", "librz/debug/p/debug_io.c", "librz/include/rz_types_base.h", "librz/reg/profile.c"], "fixing_code_end_loc": [225, 55, 220, 551], "fixing_code_start_loc": [17, 6, 217, 12], "message": "Rizin i...
921
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-FileCopyrightText: 2009-2018 pancake <pancake@nopcode.org>\n// SPDX-FileCopyrightText: 2009-2018 defragger <rlaemmert@gmail.com>\n// SPDX-License-Identifier: LGPL-3.0-only", "#include <rz_core.h>\n#include <rz_debug.h>\n#include <libgdbr.h>\n#include <gdbclient/commands.h>", "typedef struct {\n\tlibgdb...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [218, 52, 216, 547], "buggy_code_start_loc": [16, 5, 216, 11], "filenames": ["librz/debug/p/debug_gdb.c", "librz/debug/p/debug_io.c", "librz/include/rz_types_base.h", "librz/reg/profile.c"], "fixing_code_end_loc": [225, 55, 220, 551], "fixing_code_start_loc": [17, 6, 217, 12], "message": "Rizin i...
921
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-FileCopyrightText: 2016-2018 pancake <pancake@nopcode.org>\n// SPDX-License-Identifier: LGPL-3.0-only", "#include <rz_io.h>\n#include <rz_debug.h>", "", "\nstatic int __io_step(RzDebug *dbg) {\n\tfree(dbg->iob.system(dbg->iob.io, \"ds\"));\n\treturn true;\n}", "static int __io_step_over(RzDebug *db...
[ 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [218, 52, 216, 547], "buggy_code_start_loc": [16, 5, 216, 11], "filenames": ["librz/debug/p/debug_gdb.c", "librz/debug/p/debug_io.c", "librz/include/rz_types_base.h", "librz/reg/profile.c"], "fixing_code_end_loc": [225, 55, 220, 551], "fixing_code_start_loc": [17, 6, 217, 12], "message": "Rizin i...
921
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-FileCopyrightText: 2016-2018 pancake <pancake@nopcode.org>\n// SPDX-License-Identifier: LGPL-3.0-only", "#include <rz_io.h>\n#include <rz_debug.h>", "\n#define IO_MAPS_PERM_SZ 32\n#define IO_MAPS_NAME_SZ 512", "\nstatic int __io_step(RzDebug *dbg) {\n\tfree(dbg->iob.system(dbg->iob.io, \"ds\"));\n\tr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [218, 52, 216, 547], "buggy_code_start_loc": [16, 5, 216, 11], "filenames": ["librz/debug/p/debug_gdb.c", "librz/debug/p/debug_io.c", "librz/include/rz_types_base.h", "librz/reg/profile.c"], "fixing_code_end_loc": [225, 55, 220, 551], "fixing_code_start_loc": [17, 6, 217, 12], "message": "Rizin i...
921
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef RZ_TYPES_BASE_H\n#define RZ_TYPES_BASE_H", "#include <ctype.h>\n#include <sys/types.h>\n#include <limits.h>\n#include <math.h>", "#define cut8 const unsigned char\n#define ut64 unsigned long long\n#define st64 long long\n#define ut32 unsigned int\n#define st32 int\n#define ut16 unsigned short\n#d...
[ 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": [218, 52, 216, 547], "buggy_code_start_loc": [16, 5, 216, 11], "filenames": ["librz/debug/p/debug_gdb.c", "librz/debug/p/debug_io.c", "librz/include/rz_types_base.h", "librz/reg/profile.c"], "fixing_code_end_loc": [225, 55, 220, 551], "fixing_code_start_loc": [17, 6, 217, 12], "message": "Rizin i...
921
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef RZ_TYPES_BASE_H\n#define RZ_TYPES_BASE_H", "#include <ctype.h>\n#include <sys/types.h>\n#include <limits.h>\n#include <math.h>", "#define cut8 const unsigned char\n#define ut64 unsigned long long\n#define st64 long long\n#define ut32 unsigned int\n#define st32 int\n#define ut16 unsigned short\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 ]
PreciseBugs
{"buggy_code_end_loc": [218, 52, 216, 547], "buggy_code_start_loc": [16, 5, 216, 11], "filenames": ["librz/debug/p/debug_gdb.c", "librz/debug/p/debug_io.c", "librz/include/rz_types_base.h", "librz/reg/profile.c"], "fixing_code_end_loc": [225, 55, 220, 551], "fixing_code_start_loc": [17, 6, 217, 12], "message": "Rizin i...
921
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-FileCopyrightText: 2009-2020 pancake <pancake@nopcode.org>\n// SPDX-License-Identifier: LGPL-3.0-only", "#include <rz_list.h>\n#include <rz_util/rz_log.h>\n#include <rz_util/rz_str.h>\n#include <rz_reg.h>\n#include <rz_util.h>\n#include <rz_util/rz_assert.h>\n#include <rz_lib.h>\n#include <string.h>", ...
[ 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, 0, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [218, 52, 216, 547], "buggy_code_start_loc": [16, 5, 216, 11], "filenames": ["librz/debug/p/debug_gdb.c", "librz/debug/p/debug_io.c", "librz/include/rz_types_base.h", "librz/reg/profile.c"], "fixing_code_end_loc": [225, 55, 220, 551], "fixing_code_start_loc": [17, 6, 217, 12], "message": "Rizin i...
921
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-FileCopyrightText: 2009-2020 pancake <pancake@nopcode.org>\n// SPDX-License-Identifier: LGPL-3.0-only", "#include <rz_list.h>\n#include <rz_util/rz_log.h>\n#include <rz_util/rz_str.h>\n#include <rz_reg.h>\n#include <rz_util.h>\n#include <rz_util/rz_assert.h>\n#include <rz_lib.h>\n#include <string.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": [218, 52, 216, 547], "buggy_code_start_loc": [16, 5, 216, 11], "filenames": ["librz/debug/p/debug_gdb.c", "librz/debug/p/debug_io.c", "librz/include/rz_types_base.h", "librz/reg/profile.c"], "fixing_code_end_loc": [225, 55, 220, 551], "fixing_code_start_loc": [17, 6, 217, 12], "message": "Rizin i...
921
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Frontend\\Modules\\Search\\Actions;", "/*\n * This file is part of Fork CMS.\n *\n * For the full copyright and license information, please view the license\n * file that was distributed with this source code.\n */", "use Symfony\\Component\\Filesystem\\Filesystem;", "use Frontend\\Core\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [250], "buggy_code_start_loc": [249], "filenames": ["src/Frontend/Modules/Search/Actions/Index.php"], "fixing_code_end_loc": [250], "fixing_code_start_loc": [249], "message": "Cross-site scripting (XSS) vulnerability in the loadForm function in Frontend/Modules/Search/Actions/Index.php in Fork CM...
922
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Frontend\\Modules\\Search\\Actions;", "/*\n * This file is part of Fork CMS.\n *\n * For the full copyright and license information, please view the license\n * file that was distributed with this source code.\n */", "use Symfony\\Component\\Filesystem\\Filesystem;", "use Frontend\\Core\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [250], "buggy_code_start_loc": [249], "filenames": ["src/Frontend/Modules/Search/Actions/Index.php"], "fixing_code_end_loc": [250], "fixing_code_start_loc": [249], "message": "Cross-site scripting (XSS) vulnerability in the loadForm function in Frontend/Modules/Search/Actions/Index.php in Fork CM...
922
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": "The rose_parse_ccitt function in net/rose/rose_subr.c in the Linux kernel before 2.6.39 does not validate the FAC_CCITT_DEST_NSAP and FAC_CCITT_SR...
923
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": "The rose_parse_ccitt function in net/rose/rose_subr.c in the Linux kernel before 2.6.39 does not validate the FAC_CCITT_DEST_NSAP and FAC_CCITT_SR...
923
Determine whether the {function_name} code is vulnerable or not.
[ "package dtls", "import (\n\t\"github.com/pion/dtls/v2/pkg/protocol\"\n\t\"github.com/pion/dtls/v2/pkg/protocol/handshake\"\n\t\"github.com/pion/dtls/v2/pkg/protocol/recordlayer\"\n)", "type fragment struct {\n\trecordLayerHeader recordlayer.Header\n\thandshakeHeader handshake.Header\n\tdata []by...
[ 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": [80, 75], "buggy_code_start_loc": [79, 75], "filenames": ["fragment_buffer.go", "fragment_buffer_test.go"], "fixing_code_end_loc": [80, 90], "fixing_code_start_loc": [79, 76], "message": "Pion DTLS is a Go implementation of Datagram Transport Layer Security. Prior to version 2.1.4, an attacker ca...
924
Determine whether the {function_name} code is vulnerable or not.
[ "package dtls", "import (\n\t\"github.com/pion/dtls/v2/pkg/protocol\"\n\t\"github.com/pion/dtls/v2/pkg/protocol/handshake\"\n\t\"github.com/pion/dtls/v2/pkg/protocol/recordlayer\"\n)", "type fragment struct {\n\trecordLayerHeader recordlayer.Header\n\thandshakeHeader handshake.Header\n\tdata []by...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [80, 75], "buggy_code_start_loc": [79, 75], "filenames": ["fragment_buffer.go", "fragment_buffer_test.go"], "fixing_code_end_loc": [80, 90], "fixing_code_start_loc": [79, 76], "message": "Pion DTLS is a Go implementation of Datagram Transport Layer Security. Prior to version 2.1.4, an attacker ca...
924
Determine whether the {function_name} code is vulnerable or not.
[ "package dtls", "import (\n\t\"reflect\"\n\t\"testing\"\n)", "func TestFragmentBuffer(t *testing.T) {\n\tfor _, test := range []struct {\n\t\tName string\n\t\tIn [][]byte\n\t\tExpected [][]byte\n\t\tEpoch uint16\n\t}{\n\t\t{\n\t\t\tName: \"Single Fragment\",\n\t\t\tIn: [][]byte{\n\t\t\t\t{0x16, 0xf...
[ 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [80, 75], "buggy_code_start_loc": [79, 75], "filenames": ["fragment_buffer.go", "fragment_buffer_test.go"], "fixing_code_end_loc": [80, 90], "fixing_code_start_loc": [79, 76], "message": "Pion DTLS is a Go implementation of Datagram Transport Layer Security. Prior to version 2.1.4, an attacker ca...
924
Determine whether the {function_name} code is vulnerable or not.
[ "package dtls", "import (\n\t\"reflect\"\n\t\"testing\"\n)", "func TestFragmentBuffer(t *testing.T) {\n\tfor _, test := range []struct {\n\t\tName string\n\t\tIn [][]byte\n\t\tExpected [][]byte\n\t\tEpoch uint16\n\t}{\n\t\t{\n\t\t\tName: \"Single Fragment\",\n\t\t\tIn: [][]byte{\n\t\t\t\t{0x16, 0xf...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [80, 75], "buggy_code_start_loc": [79, 75], "filenames": ["fragment_buffer.go", "fragment_buffer_test.go"], "fixing_code_end_loc": [80, 90], "fixing_code_start_loc": [79, 76], "message": "Pion DTLS is a Go implementation of Datagram Transport Layer Security. Prior to version 2.1.4, an attacker ca...
924
Determine whether the {function_name} code is vulnerable or not.
[ "function isSpecificValue(val) {\n return val instanceof Buffer || val instanceof Date || val instanceof RegExp;\n}", "function cloneSpecificValue(val) {\n if (val instanceof Buffer) {\n const _copy = Buffer.alloc(val.length);\n val.copy(_copy);\n return _copy;\n } else if (val instanceof Date) {\n ...
[ 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [73], "buggy_code_start_loc": [48], "filenames": ["src/index.js"], "fixing_code_end_loc": [75], "fixing_code_start_loc": [49], "message": "Prototype pollution vulnerability in 'deep-override' versions 1.0.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code ...
925
Determine whether the {function_name} code is vulnerable or not.
[ "function isSpecificValue(val) {\n return val instanceof Buffer || val instanceof Date || val instanceof RegExp;\n}", "function cloneSpecificValue(val) {\n if (val instanceof Buffer) {\n const _copy = Buffer.alloc(val.length);\n val.copy(_copy);\n return _copy;\n } else if (val instanceof Date) {\n ...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [73], "buggy_code_start_loc": [48], "filenames": ["src/index.js"], "fixing_code_end_loc": [75], "fixing_code_start_loc": [49], "message": "Prototype pollution vulnerability in 'deep-override' versions 1.0.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code ...
925
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Shared application/kernel submission and completion ring pairs, for\n * supporting fast/efficient IO.\n *\n * A note on the read/write ordering memory barriers that are matched between\n * the application and kernel side.\n *\n * After the application reads the CQ ring 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": [9265, 17], "buggy_code_start_loc": [1043, 17], "filenames": ["fs/io_uring.c", "include/linux/io_uring.h"], "fixing_code_end_loc": [9383, 19], "fixing_code_start_loc": [1044, 18], "message": "There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnera...
926
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Shared application/kernel submission and completion ring pairs, for\n * supporting fast/efficient IO.\n *\n * A note on the read/write ordering memory barriers that are matched between\n * the application and kernel side.\n *\n * After the application reads the CQ ring 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": [9265, 17], "buggy_code_start_loc": [1043, 17], "filenames": ["fs/io_uring.c", "include/linux/io_uring.h"], "fixing_code_end_loc": [9383, 19], "fixing_code_start_loc": [1044, 18], "message": "There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnera...
926
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0-or-later */\n#ifndef _LINUX_IO_URING_H\n#define _LINUX_IO_URING_H", "#include <linux/sched.h>\n#include <linux/xarray.h>", "struct io_identity {\n\tstruct files_struct\t\t*files;\n\tstruct mm_struct\t\t*mm;\n#ifdef CONFIG_BLK_CGROUP\n\tstruct cgroup_subsys_state\t*blkcg_css;...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9265, 17], "buggy_code_start_loc": [1043, 17], "filenames": ["fs/io_uring.c", "include/linux/io_uring.h"], "fixing_code_end_loc": [9383, 19], "fixing_code_start_loc": [1044, 18], "message": "There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnera...
926
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0-or-later */\n#ifndef _LINUX_IO_URING_H\n#define _LINUX_IO_URING_H", "#include <linux/sched.h>\n#include <linux/xarray.h>", "struct io_identity {\n\tstruct files_struct\t\t*files;\n\tstruct mm_struct\t\t*mm;\n#ifdef CONFIG_BLK_CGROUP\n\tstruct cgroup_subsys_state\t*blkcg_css;...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9265, 17], "buggy_code_start_loc": [1043, 17], "filenames": ["fs/io_uring.c", "include/linux/io_uring.h"], "fixing_code_end_loc": [9383, 19], "fixing_code_start_loc": [1044, 18], "message": "There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnera...
926
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * PHPMailer - PHP email creation and transport class.\n * PHP Version 5.5.\n *\n * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project\n *\n * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>\n * @author Jim Jagielski (jimjag) <jimjag@gmail.com>\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": [3534, 1478], "buggy_code_start_loc": [1756, 1478], "filenames": ["src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [3551, 1482], "fixing_code_start_loc": [1757, 1479], "message": "PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttac...
927
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * PHPMailer - PHP email creation and transport class.\n * PHP Version 5.5.\n *\n * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project\n *\n * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>\n * @author Jim Jagielski (jimjag) <jimjag@gmail.com>\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": [3534, 1478], "buggy_code_start_loc": [1756, 1478], "filenames": ["src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [3551, 1482], "fixing_code_start_loc": [1757, 1479], "message": "PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttac...
927
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * PHPMailer - PHP email transport unit tests.\n * PHP version 5.5.\n *\n * @author Marcus Bointon <phpmailer@synchromedia.co.uk>\n * @author Andy Prevost\n * @copyright 2012 - 2020 Marcus Bointon\n * @copyright 2004 - 2009 Andy Prevost\n * @license http://www.gnu.org/copyleft/lesser.html GNU L...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3534, 1478], "buggy_code_start_loc": [1756, 1478], "filenames": ["src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [3551, 1482], "fixing_code_start_loc": [1757, 1479], "message": "PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttac...
927
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * PHPMailer - PHP email transport unit tests.\n * PHP version 5.5.\n *\n * @author Marcus Bointon <phpmailer@synchromedia.co.uk>\n * @author Andy Prevost\n * @copyright 2012 - 2020 Marcus Bointon\n * @copyright 2004 - 2009 Andy Prevost\n * @license http://www.gnu.org/copyleft/lesser.html GNU L...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3534, 1478], "buggy_code_start_loc": [1756, 1478], "filenames": ["src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [3551, 1482], "fixing_code_start_loc": [1757, 1479], "message": "PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttac...
927
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Kanboard\\Controller;", "/**\n * Class UserCredentialController\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass UserCredentialController extends BaseController\n{\n /**\n * Password modification form\n *\n * @access public\n * @param array $...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 118], "buggy_code_start_loc": [44, 118], "filenames": ["app/Controller/UserCredentialController.php", "app/Validator/UserValidator.php"], "fixing_code_end_loc": [49, 123], "fixing_code_start_loc": [45, 119], "message": "An authenticated standard user could reset the password of other users (...
928
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Kanboard\\Controller;", "/**\n * Class UserCredentialController\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass UserCredentialController extends BaseController\n{\n /**\n * Password modification form\n *\n * @access public\n * @param array $...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 118], "buggy_code_start_loc": [44, 118], "filenames": ["app/Controller/UserCredentialController.php", "app/Validator/UserValidator.php"], "fixing_code_end_loc": [49, 123], "fixing_code_start_loc": [45, 119], "message": "An authenticated standard user could reset the password of other users (...
928
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Kanboard\\Validator;", "use SimpleValidator\\Validator;\nuse SimpleValidator\\Validators;\nuse Kanboard\\Model\\UserModel;", "/**\n * User Validator\n *\n * @package Kanboard\\Validator\n * @author Frederic Guillot\n */\nclass UserValidator extends BaseValidator\n{\n /**\n * Comm...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 118], "buggy_code_start_loc": [44, 118], "filenames": ["app/Controller/UserCredentialController.php", "app/Validator/UserValidator.php"], "fixing_code_end_loc": [49, 123], "fixing_code_start_loc": [45, 119], "message": "An authenticated standard user could reset the password of other users (...
928
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Kanboard\\Validator;", "use SimpleValidator\\Validator;\nuse SimpleValidator\\Validators;\nuse Kanboard\\Model\\UserModel;", "/**\n * User Validator\n *\n * @package Kanboard\\Validator\n * @author Frederic Guillot\n */\nclass UserValidator extends BaseValidator\n{\n /**\n * Comm...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 118], "buggy_code_start_loc": [44, 118], "filenames": ["app/Controller/UserCredentialController.php", "app/Validator/UserValidator.php"], "fixing_code_end_loc": [49, 123], "fixing_code_start_loc": [45, 119], "message": "An authenticated standard user could reset the password of other users (...
928
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 64, 287], "buggy_code_start_loc": [345, 640, 64, 21], "filenames": ["thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java", "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java", "thrift/lib/java/src/resources/testing_data_structu...
929
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 64, 287], "buggy_code_start_loc": [345, 640, 64, 21], "filenames": ["thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java", "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java", "thrift/lib/java/src/resources/testing_data_structu...
929
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 64, 287], "buggy_code_start_loc": [345, 640, 64, 21], "filenames": ["thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java", "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java", "thrift/lib/java/src/resources/testing_data_structu...
929
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 64, 287], "buggy_code_start_loc": [345, 640, 64, 21], "filenames": ["thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java", "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java", "thrift/lib/java/src/resources/testing_data_structu...
929
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [353, 640, 64, 287], "buggy_code_start_loc": [345, 640, 64, 21], "filenames": ["thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java", "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java", "thrift/lib/java/src/resources/testing_data_structu...
929
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [353, 640, 64, 287], "buggy_code_start_loc": [345, 640, 64, 21], "filenames": ["thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java", "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java", "thrift/lib/java/src/resources/testing_data_structu...
929
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 re...
[ 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [353, 640, 64, 287], "buggy_code_start_loc": [345, 640, 64, 21], "filenames": ["thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java", "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java", "thrift/lib/java/src/resources/testing_data_structu...
929
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 64, 287], "buggy_code_start_loc": [345, 640, 64, 21], "filenames": ["thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java", "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java", "thrift/lib/java/src/resources/testing_data_structu...
929
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 2006-2019\n *\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 u...
[ 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": [122], "buggy_code_start_loc": [115], "filenames": ["src/isomedia/box_code_apple.c"], "fixing_code_end_loc": [124], "fixing_code_start_loc": [115], "message": "An issue was discovered in box_code_apple.c:119 in Gpac MP4Box 0.8.0, allows attackers to cause a Denial of Service due to an invalid rea...
930
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 2006-2019\n *\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 u...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [122], "buggy_code_start_loc": [115], "filenames": ["src/isomedia/box_code_apple.c"], "fixing_code_end_loc": [124], "fixing_code_start_loc": [115], "message": "An issue was discovered in box_code_apple.c:119 in Gpac MP4Box 0.8.0, allows attackers to cause a Denial of Service due to an invalid rea...
930
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: LGPL-3.0-only\n// SPDX-FileCopyrightText: 2021 Heersin <teablearcher@gmail.com>", "#include \"luac_common.h\"", "void luac_add_section(RzList *section_list, char *name, ut64 offset, ut32 size, bool is_func) {\n\tRzBinSection *bin_sec = RZ_NEW0(RzBinSection);\n\tif (!bin_sec) {\n\t\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [357, 195, 135], "buggy_code_start_loc": [73, 195, 103], "filenames": ["librz/bin/format/luac/luac_bin.c", "librz/bin/format/luac/luac_common.h", "librz/bin/p/bin_luac.c"], "fixing_code_end_loc": [367, 197, 142], "fixing_code_start_loc": [72, 196, 103], "message": "Rizin is a UNIX-like reverse en...
931
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: LGPL-3.0-only\n// SPDX-FileCopyrightText: 2021 Heersin <teablearcher@gmail.com>", "#include \"luac_common.h\"", "void luac_add_section(RzList *section_list, char *name, ut64 offset, ut32 size, bool is_func) {\n\tRzBinSection *bin_sec = RZ_NEW0(RzBinSection);\n\tif (!bin_sec) {\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": [357, 195, 135], "buggy_code_start_loc": [73, 195, 103], "filenames": ["librz/bin/format/luac/luac_bin.c", "librz/bin/format/luac/luac_common.h", "librz/bin/p/bin_luac.c"], "fixing_code_end_loc": [367, 197, 142], "fixing_code_start_loc": [72, 196, 103], "message": "Rizin is a UNIX-like reverse en...
931
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: LGPL-3.0-only\n// SPDX-FileCopyrightText: 2021 Heersin <teablearcher@gmail.com>", "// put common definition of luac", "#ifndef BUILD_LUAC_COMMON_H\n#define BUILD_LUAC_COMMON_H", "#include <rz_bin.h>\n#include <rz_lib.h>\n#include <rz_list.h>", "typedef ut32 LUA_INSTRUCTION;", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [357, 195, 135], "buggy_code_start_loc": [73, 195, 103], "filenames": ["librz/bin/format/luac/luac_bin.c", "librz/bin/format/luac/luac_common.h", "librz/bin/p/bin_luac.c"], "fixing_code_end_loc": [367, 197, 142], "fixing_code_start_loc": [72, 196, 103], "message": "Rizin is a UNIX-like reverse en...
931
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: LGPL-3.0-only\n// SPDX-FileCopyrightText: 2021 Heersin <teablearcher@gmail.com>", "// put common definition of luac", "#ifndef BUILD_LUAC_COMMON_H\n#define BUILD_LUAC_COMMON_H", "#include <rz_bin.h>\n#include <rz_lib.h>\n#include <rz_list.h>", "typedef ut32 LUA_INSTRUCTION;", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [357, 195, 135], "buggy_code_start_loc": [73, 195, 103], "filenames": ["librz/bin/format/luac/luac_bin.c", "librz/bin/format/luac/luac_common.h", "librz/bin/p/bin_luac.c"], "fixing_code_end_loc": [367, 197, 142], "fixing_code_start_loc": [72, 196, 103], "message": "Rizin is a UNIX-like reverse en...
931
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: LGPL-3.0-only\n// SPDX-FileCopyrightText: 2021 Heersin <teablearcher@gmail.com>", "#include <rz_bin.h>\n#include <rz_lib.h>\n#include \"librz/bin/format/luac/luac_common.h\"", "#define GET_INTERNAL_BIN_INFO_OBJ(bf) ((LuacBinInfo *)(bf)->o->bin_obj)", "static bool check_buffer(RzBu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [357, 195, 135], "buggy_code_start_loc": [73, 195, 103], "filenames": ["librz/bin/format/luac/luac_bin.c", "librz/bin/format/luac/luac_common.h", "librz/bin/p/bin_luac.c"], "fixing_code_end_loc": [367, 197, 142], "fixing_code_start_loc": [72, 196, 103], "message": "Rizin is a UNIX-like reverse en...
931
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: LGPL-3.0-only\n// SPDX-FileCopyrightText: 2021 Heersin <teablearcher@gmail.com>", "#include <rz_bin.h>\n#include <rz_lib.h>\n#include \"librz/bin/format/luac/luac_common.h\"", "#define GET_INTERNAL_BIN_INFO_OBJ(bf) ((LuacBinInfo *)(bf)->o->bin_obj)", "static bool check_buffer(RzBu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [357, 195, 135], "buggy_code_start_loc": [73, 195, 103], "filenames": ["librz/bin/format/luac/luac_bin.c", "librz/bin/format/luac/luac_common.h", "librz/bin/p/bin_luac.c"], "fixing_code_end_loc": [367, 197, 142], "fixing_code_start_loc": [72, 196, 103], "message": "Rizin is a UNIX-like reverse en...
931
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef _ASM_X86_MMU_CONTEXT_H\n#define _ASM_X86_MMU_CONTEXT_H", "#include <asm/desc.h>\n#include <linux/atomic.h>\n#include <linux/mm_types.h>", "#include <trace/events/tlb.h>", "#include <asm/pgalloc.h>\n#include <asm/tlbflush.h>\n#include <asm/paravirt.h>\n#include <asm/mpx.h>\n#ifndef CONFIG_PARAVIRT\nst...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [162, 234], "buggy_code_start_loc": [119, 163], "filenames": ["arch/x86/include/asm/mmu_context.h", "arch/x86/mm/tlb.c"], "fixing_code_end_loc": [194, 258], "fixing_code_start_loc": [119, 164], "message": "Race condition in arch/x86/mm/tlb.c in the Linux kernel before 4.4.1 allows local users to ...
932
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef _ASM_X86_MMU_CONTEXT_H\n#define _ASM_X86_MMU_CONTEXT_H", "#include <asm/desc.h>\n#include <linux/atomic.h>\n#include <linux/mm_types.h>", "#include <trace/events/tlb.h>", "#include <asm/pgalloc.h>\n#include <asm/tlbflush.h>\n#include <asm/paravirt.h>\n#include <asm/mpx.h>\n#ifndef CONFIG_PARAVIRT\nst...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [162, 234], "buggy_code_start_loc": [119, 163], "filenames": ["arch/x86/include/asm/mmu_context.h", "arch/x86/mm/tlb.c"], "fixing_code_end_loc": [194, 258], "fixing_code_start_loc": [119, 164], "message": "Race condition in arch/x86/mm/tlb.c in the Linux kernel before 4.4.1 allows local users to ...
932
Determine whether the {function_name} code is vulnerable or not.
[ "#include <linux/init.h>", "#include <linux/mm.h>\n#include <linux/spinlock.h>\n#include <linux/smp.h>\n#include <linux/interrupt.h>\n#include <linux/module.h>\n#include <linux/cpu.h>", "#include <asm/tlbflush.h>\n#include <asm/mmu_context.h>\n#include <asm/cache.h>\n#include <asm/apic.h>\n#include <asm/uv/uv.h...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [162, 234], "buggy_code_start_loc": [119, 163], "filenames": ["arch/x86/include/asm/mmu_context.h", "arch/x86/mm/tlb.c"], "fixing_code_end_loc": [194, 258], "fixing_code_start_loc": [119, 164], "message": "Race condition in arch/x86/mm/tlb.c in the Linux kernel before 4.4.1 allows local users to ...
932
Determine whether the {function_name} code is vulnerable or not.
[ "#include <linux/init.h>", "#include <linux/mm.h>\n#include <linux/spinlock.h>\n#include <linux/smp.h>\n#include <linux/interrupt.h>\n#include <linux/module.h>\n#include <linux/cpu.h>", "#include <asm/tlbflush.h>\n#include <asm/mmu_context.h>\n#include <asm/cache.h>\n#include <asm/apic.h>\n#include <asm/uv/uv.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 ]
PreciseBugs
{"buggy_code_end_loc": [162, 234], "buggy_code_start_loc": [119, 163], "filenames": ["arch/x86/include/asm/mmu_context.h", "arch/x86/mm/tlb.c"], "fixing_code_end_loc": [194, 258], "fixing_code_start_loc": [119, 164], "message": "Race condition in arch/x86/mm/tlb.c in the Linux kernel before 4.4.1 allows local users to ...
932
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * MyBB 1.6\n * Copyright 2010 MyBB Group, All Rights Reserved\n *\n * Website: http://mybb.com\n * License: http://mybb.com/about/license\n *\n * $Id$\n */", "define(\"IN_MYBB\", 1);\ndefine('THIS_SCRIPT', 'misc.php');", "$templatelist = \"misc_rules_forum,misc_help_helpdoc,misc_whoposted_poster,m...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [490], "buggy_code_start_loc": [489], "filenames": ["misc.php"], "fixing_code_end_loc": [490], "fixing_code_start_loc": [489], "message": "Cross-site scripting (XSS) vulnerability in misc.php in MyBB (aka MyBulletinBoard) before 1.6.12 allows remote attackers to inject arbitrary web script or HTM...
933
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * MyBB 1.6\n * Copyright 2010 MyBB Group, All Rights Reserved\n *\n * Website: http://mybb.com\n * License: http://mybb.com/about/license\n *\n * $Id$\n */", "define(\"IN_MYBB\", 1);\ndefine('THIS_SCRIPT', 'misc.php');", "$templatelist = \"misc_rules_forum,misc_help_helpdoc,misc_whoposted_poster,m...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [490], "buggy_code_start_loc": [489], "filenames": ["misc.php"], "fixing_code_end_loc": [490], "fixing_code_start_loc": [489], "message": "Cross-site scripting (XSS) vulnerability in misc.php in MyBB (aka MyBulletinBoard) before 1.6.12 allows remote attackers to inject arbitrary web script or HTM...
933
Determine whether the {function_name} code is vulnerable or not.
[ "/* PostSRSd - Sender Rewriting Scheme daemon for Postfix\n * Copyright (c) 2012-2020 Timo Röhling <timo@gaussglocke.de>\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 vers...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [718, 177], "buggy_code_start_loc": [648, 6], "filenames": ["postsrsd.c", "run_postsrsd_tests.bats"], "fixing_code_end_loc": [728, 209], "fixing_code_start_loc": [648, 6], "message": "PostSRSd before 1.11 allows a denial of service (subprocess hang) if Postfix sends certain long data fields such ...
934
Determine whether the {function_name} code is vulnerable or not.
[ "/* PostSRSd - Sender Rewriting Scheme daemon for Postfix\n * Copyright (c) 2012-2020 Timo Röhling <timo@gaussglocke.de>\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 vers...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [718, 177], "buggy_code_start_loc": [648, 6], "filenames": ["postsrsd.c", "run_postsrsd_tests.bats"], "fixing_code_end_loc": [728, 209], "fixing_code_start_loc": [648, 6], "message": "PostSRSd before 1.11 allows a denial of service (subprocess hang) if Postfix sends certain long data fields such ...
934
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env bats\n# vim: filetype=bash:", "if [ ! -x \"$POSTSRSD\" ]\nthen", "\tfor builddir in . build* obj*", "\tdo\n\t\tif [ -x \"${builddir}/postsrsd\" ]\n\t\tthen\n\t\t\tPOSTSRSD=\"${builddir}/postsrsd\"\n\t\t\tbreak\n\t\tfi\n\tdone\nfi\nif [ ! -x \"$POSTSRSD\" ]\nthen\n\tcat>&2 <<- EOF", "\tcannot...
[ 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [718, 177], "buggy_code_start_loc": [648, 6], "filenames": ["postsrsd.c", "run_postsrsd_tests.bats"], "fixing_code_end_loc": [728, 209], "fixing_code_start_loc": [648, 6], "message": "PostSRSd before 1.11 allows a denial of service (subprocess hang) if Postfix sends certain long data fields such ...
934
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env bats\n# vim: filetype=bash:", "if [ ! -x \"$POSTSRSD\" ]\nthen", "\tfor builddir in . build* obj* _build*", "\tdo\n\t\tif [ -x \"${builddir}/postsrsd\" ]\n\t\tthen\n\t\t\tPOSTSRSD=\"${builddir}/postsrsd\"\n\t\t\tbreak\n\t\tfi\n\tdone\nfi\nif [ ! -x \"$POSTSRSD\" ]\nthen\n\tcat>&2 <<- EOF", "...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [718, 177], "buggy_code_start_loc": [648, 6], "filenames": ["postsrsd.c", "run_postsrsd_tests.bats"], "fixing_code_end_loc": [728, 209], "fixing_code_start_loc": [648, 6], "message": "PostSRSd before 1.11 allows a denial of service (subprocess hang) if Postfix sends certain long data fields such ...
934
Determine whether the {function_name} code is vulnerable or not.
[ "", "2016-12-03 Even Rouault <even.rouault at spatialys.com>", "\t* libtiff/tif_ojpeg.c: make OJPEGDecode() early exit in case of failure in\n\tOJPEGPreDecode(). This will avoid a divide by zero, and potential other issues.\n\tReported by Agostino Sarubbo.\n\tFixes http://bugzilla.maptools.org/show_bug.cgi?id=2...
[ 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": [0, 3702], "buggy_code_start_loc": [0, 3701], "filenames": ["ChangeLog", "tools/tiffcrop.c"], "fixing_code_end_loc": [8, 3702], "fixing_code_start_loc": [1, 3701], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecif...
935
Determine whether the {function_name} code is vulnerable or not.
[ "2016-12-03 Even Rouault <even.rouault at spatialys.com>", "\t* tools/tiffcrop.c: fix readContigStripsIntoBuffer() in -i (ignore) mode so\n\tthat the output buffer is correctly incremented to avoid write outside bounds.\n\tReported by Agostino Sarubbo.\n\tFixes http://bugzilla.maptools.org/show_bug.cgi?id=2620\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": [0, 3702], "buggy_code_start_loc": [0, 3701], "filenames": ["ChangeLog", "tools/tiffcrop.c"], "fixing_code_end_loc": [8, 3702], "fixing_code_start_loc": [1, 3701], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecif...
935
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */", "/* tiffcrop.c -- a port of tiffcp.c extended to include manipulations of\n * the image data through additional options listed below\n *\n * Original code:\n * Copyright (c) 1988-1997 Sam Leffler\n * Copyright (c) 1991-1997 Silicon Graphics, Inc.\n * Additions (c) Richard Nolde 2006-2010 \n *\n * Pe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [0, 3702], "buggy_code_start_loc": [0, 3701], "filenames": ["ChangeLog", "tools/tiffcrop.c"], "fixing_code_end_loc": [8, 3702], "fixing_code_start_loc": [1, 3701], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecif...
935
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */", "/* tiffcrop.c -- a port of tiffcp.c extended to include manipulations of\n * the image data through additional options listed below\n *\n * Original code:\n * Copyright (c) 1988-1997 Sam Leffler\n * Copyright (c) 1991-1997 Silicon Graphics, Inc.\n * Additions (c) Richard Nolde 2006-2010 \n *\n * Pe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [0, 3702], "buggy_code_start_loc": [0, 3701], "filenames": ["ChangeLog", "tools/tiffcrop.c"], "fixing_code_end_loc": [8, 3702], "fixing_code_start_loc": [1, 3701], "message": "LibTIFF 4.0.7 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecif...
935
Determine whether the {function_name} code is vulnerable or not.
[ "name: Release workflow for tagged versions\non:\n push:\n # Sequence of patterns matched against refs/tags\n tags:\n - 'v*' # Push events to matching v*, i.e. v0.2.19, v0.2.14a", "env:\n GO_VERSION: 1.15", "", "\njobs:\n release-ubuntu:\n strategy:\n matrix:\n os: [ ubuntu-18.04,...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9, 3, 20], "buggy_code_start_loc": [9, 3, 16], "filenames": [".github/workflows/release.yml", ".github/workflows/unittests.yml", "internal/configure_crypter.go"], "fixing_code_end_loc": [11, 5, 31], "fixing_code_start_loc": [10, 4, 17], "message": "WAL-G before 1.1, when a non-libsodium build (e...
936
Determine whether the {function_name} code is vulnerable or not.
[ "name: Release workflow for tagged versions\non:\n push:\n # Sequence of patterns matched against refs/tags\n tags:\n - 'v*' # Push events to matching v*, i.e. v0.2.19, v0.2.14a", "env:\n GO_VERSION: 1.15", " USE_LIBSODIUM: 1", "\njobs:\n release-ubuntu:\n strategy:\n matrix:\n o...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9, 3, 20], "buggy_code_start_loc": [9, 3, 16], "filenames": [".github/workflows/release.yml", ".github/workflows/unittests.yml", "internal/configure_crypter.go"], "fixing_code_end_loc": [11, 5, 31], "fixing_code_start_loc": [10, 4, 17], "message": "WAL-G before 1.1, when a non-libsodium build (e...
936
Determine whether the {function_name} code is vulnerable or not.
[ "name: Unit tests", "on:", "", " push:\n branches: [ master ]\n pull_request:\n branches: [ master ]", "env:\n GO_VERSION: 1.15", "jobs:\n unittest:\n name: all_unittests\n runs-on: ubuntu-20.04\n steps:\n - name: Install deps\n run: sudo apt-get install liblzo2-dev", " ...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9, 3, 20], "buggy_code_start_loc": [9, 3, 16], "filenames": [".github/workflows/release.yml", ".github/workflows/unittests.yml", "internal/configure_crypter.go"], "fixing_code_end_loc": [11, 5, 31], "fixing_code_start_loc": [10, 4, 17], "message": "WAL-G before 1.1, when a non-libsodium build (e...
936
Determine whether the {function_name} code is vulnerable or not.
[ "name: Unit tests", "on:", " workflow_dispatch:", " push:\n branches: [ master ]\n pull_request:\n branches: [ master ]", "env:\n GO_VERSION: 1.15", "jobs:\n unittest:\n name: all_unittests\n runs-on: ubuntu-20.04\n steps:\n - name: Install deps\n run: sudo apt-get install ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9, 3, 20], "buggy_code_start_loc": [9, 3, 16], "filenames": [".github/workflows/release.yml", ".github/workflows/unittests.yml", "internal/configure_crypter.go"], "fixing_code_end_loc": [11, 5, 31], "fixing_code_start_loc": [10, 4, 17], "message": "WAL-G before 1.1, when a non-libsodium build (e...
936
Determine whether the {function_name} code is vulnerable or not.
[ "// +build !libsodium", "package internal", "// This file contains functions that should return `nil`,\n// in order to be able to build wal-g without specific implementations of the crypter.\n// And the configure_crypter_<crypter>.go files must have a real implementation of the function.\n//\n// Thus, if the ta...
[ 1, 1, 1, 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9, 3, 20], "buggy_code_start_loc": [9, 3, 16], "filenames": [".github/workflows/release.yml", ".github/workflows/unittests.yml", "internal/configure_crypter.go"], "fixing_code_end_loc": [11, 5, 31], "fixing_code_start_loc": [10, 4, 17], "message": "WAL-G before 1.1, when a non-libsodium build (e...
936
Determine whether the {function_name} code is vulnerable or not.
[ "// +build !libsodium", "package internal", "// This file contains functions that should return `nil`,\n// in order to be able to build wal-g without specific implementations of the crypter.\n// And the configure_crypter_<crypter>.go files must have a real implementation of the function.\n//\n// Thus, if the ta...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [9, 3, 20], "buggy_code_start_loc": [9, 3, 16], "filenames": [".github/workflows/release.yml", ".github/workflows/unittests.yml", "internal/configure_crypter.go"], "fixing_code_end_loc": [11, 5, 31], "fixing_code_start_loc": [10, 4, 17], "message": "WAL-G before 1.1, when a non-libsodium build (e...
936
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nif(!empty($_POST['data'])){\n\t$fname = $_POST['file'];", "\t//check if file name ends with .json", "\tif(substr($fname, -1, 5) != '.json') {", "\t\techo '<script>alert(\"ERROR: Incorrect file type submitted\")</script>';\n\t\treturn;\n\t}", "\t$data = $_POST['data'];", "\t$file = fopen($fname, \"...
[ 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [7], "buggy_code_start_loc": [6], "filenames": ["www/include/filesave.php"], "fixing_code_end_loc": [7], "fixing_code_start_loc": [6], "message": "erohtar/Dasherr is a dashboard for self-hosted services. In affected versions unrestricted file upload allows any unauthenticated user to execute arbi...
937
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nif(!empty($_POST['data'])){\n\t$fname = $_POST['file'];", "\t//check if file name ends with .json", "\tif(substr($fname, -5) != '.json') {", "\t\techo '<script>alert(\"ERROR: Incorrect file type submitted\")</script>';\n\t\treturn;\n\t}", "\t$data = $_POST['data'];", "\t$file = fopen($fname, \"w\"...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [7], "buggy_code_start_loc": [6], "filenames": ["www/include/filesave.php"], "fixing_code_end_loc": [7], "fixing_code_start_loc": [6], "message": "erohtar/Dasherr is a dashboard for self-hosted services. In affected versions unrestricted file upload allows any unauthenticated user to execute arbi...
937
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2001-2007\tRodolphe Quiedeville\t<rodolphe@quiedeville.org>\n * Copyright (C) 2004-2013\tLaurent Destailleur\t\t<eldy@users.sourceforge.net>\n * Copyright (C) 2005-2012\tRegis Houssin\t\t\t<regis.houssin@capnetworks.com>\n * Copyright (C) 2010-2014\tJuanjo Menent\t\t\t<jmenent@2byte.es>\n *...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2001-2007\tRodolphe Quiedeville\t<rodolphe@quiedeville.org>\n * Copyright (C) 2004-2013\tLaurent Destailleur\t\t<eldy@users.sourceforge.net>\n * Copyright (C) 2005-2012\tRegis Houssin\t\t\t<regis.houssin@capnetworks.com>\n * Copyright (C) 2010-2014\tJuanjo Menent\t\t\t<jmenent@2byte.es>\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": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>\n * Copyright (C) 2007-2012 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2009-2011 Regis Houssin <regis.houssin@capnetworks.com>\n * Copyright (C) 2016 Meziane Sof <virtualsof@yahoo.fr>\n *...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>\n * Copyright (C) 2007-2012 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2009-2011 Regis Houssin <regis.houssin@capnetworks.com>\n * Copyright (C) 2016 Meziane Sof <virtualsof@yahoo.fr>\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": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2000-2007\tRodolphe Quiedeville\t\t\t<rodolphe@quiedeville.org>\n * Copyright (C) 2003\t\tJean-Louis Bergamo\t\t\t<jlb@j1b.org>\n * Copyright (C) 2004-2013\tLaurent Destailleur\t\t\t<eldy@users.sourceforge.net>\n * Copyright (C) 2004\t\tSebastien Di Cintio\t\t\t<sdicintio@ressource-toi.org>...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2000-2007\tRodolphe Quiedeville\t\t\t<rodolphe@quiedeville.org>\n * Copyright (C) 2003\t\tJean-Louis Bergamo\t\t\t<jlb@j1b.org>\n * Copyright (C) 2004-2013\tLaurent Destailleur\t\t\t<eldy@users.sourceforge.net>\n * Copyright (C) 2004\t\tSebastien Di Cintio\t\t\t<sdicintio@ressource-toi.org>...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2004-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2005 Simon Tosser <simon@kornog-computing.com>\n * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2004-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2005 Simon Tosser <simon@kornog-computing.com>\n * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.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 ]
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "# Dolibarr language file - Source file is en_US - main\nDIRECTION=ltr\n# Note for Chinese:\n# msungstdlight or cid0ct are for traditional Chinese (traditional does not render with Ubuntu pdf reader)\n# stsongstdlight or cid0cs are for simplified Chinese\n# To read Chinese pdf with Linux: sudo apt-get install poppl...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "# Dolibarr language file - Source file is en_US - main\nDIRECTION=ltr\n# Note for Chinese:\n# msungstdlight or cid0ct are for traditional Chinese (traditional does not render with Ubuntu pdf reader)\n# stsongstdlight or cid0cs are for simplified Chinese\n# To read Chinese pdf with Linux: sudo apt-get install poppl...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com>\n * Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-to...
[ 1, 1, 1, 1, 1, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com>\n * Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2005-2016 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2005-2016 Regis Houssin <regis.houssin@capnetworks.com>\n *\n * This program is free software; you can redistribute it and/or modi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2005-2016 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2005-2016 Regis Houssin <regis.houssin@capnetworks.com>\n *\n * This program is free software; you can redistribute it and/or modi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1094, 506, 3255, 189, 107, 112, 205], "buggy_code_start_loc": [52, 86, 3254, 113, 106, 80, 116], "filenames": ["htdocs/admin/company.php", "htdocs/admin/menus/edit.php", "htdocs/core/lib/functions.lib.php", "htdocs/document.php", "htdocs/langs/en_US/main.lang", "htdocs/main.inc.php", "htdocs/vie...
938
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, 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...
PreciseBugs
{"buggy_code_end_loc": [117], "buggy_code_start_loc": [117], "filenames": ["tensorflow/lite/kernels/depthwise_conv.cc"], "fixing_code_end_loc": [120], "fixing_code_start_loc": [118], "message": "Tensorflow is an Open Source Machine Learning Framework. ### Impact An attacker can craft a TFLite model that would trigger a...
939
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": [117], "buggy_code_start_loc": [117], "filenames": ["tensorflow/lite/kernels/depthwise_conv.cc"], "fixing_code_end_loc": [120], "fixing_code_start_loc": [118], "message": "Tensorflow is an Open Source Machine Learning Framework. ### Impact An attacker can craft a TFLite model that would trigger a...
939