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. | [
"# HTML Sanitizer",
"An HTML Sanitizer is available as part of the Orchard Core Infrastructure.",
"The Sanitizer cleans user input that could lead to XSS attacks.",
"It is used by default for the following parts and fields:",
"- HTML Body Part\n- HTML Field\n- Markdown Body Part\n- Markdown Field",
"!!! n... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [19, 27], "buggy_code_start_loc": [19, 20], "filenames": ["src/OrchardCore/OrchardCore.Infrastructure/Html/OrchardCoreBuilderExtensions.cs", "src/docs/reference/core/Sanitizer/README.md"], "fixing_code_end_loc": [21, 34], "fixing_code_start_loc": [20, 21], "message": "In OrchardCore rc1-11259 to ... | 520 |
Determine whether the {function_name} code is vulnerable or not. | [
"# HTML Sanitizer",
"An HTML Sanitizer is available as part of the Orchard Core Infrastructure.",
"The Sanitizer cleans user input that could lead to XSS attacks.",
"It is used by default for the following parts and fields:",
"- HTML Body Part\n- HTML Field\n- Markdown Body Part\n- Markdown Field",
"!!! n... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [19, 27], "buggy_code_start_loc": [19, 20], "filenames": ["src/OrchardCore/OrchardCore.Infrastructure/Html/OrchardCoreBuilderExtensions.cs", "src/docs/reference/core/Sanitizer/README.md"], "fixing_code_end_loc": [21, 34], "fixing_code_start_loc": [20, 21], "message": "In OrchardCore rc1-11259 to ... | 520 |
Determine whether the {function_name} code is vulnerable or not. | [
"require 'tempfile'\nrequire 'stringio'\nrequire 'pathname'\nrequire 'uri'\nrequire 'open-uri'",
"require 'mini_magick/image/info'\nrequire 'mini_magick/utilities'",
"module MiniMagick\n class Image",
" ##\n # This is the primary loading method used by all of the other class\n # methods.\n #\n ... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [96, 76], "buggy_code_start_loc": [85, 76], "filenames": ["lib/mini_magick/image.rb", "spec/lib/mini_magick/image_spec.rb"], "fixing_code_end_loc": [94, 85], "fixing_code_start_loc": [85, 77], "message": "In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename coul... | 521 |
Determine whether the {function_name} code is vulnerable or not. | [
"require 'tempfile'\nrequire 'stringio'\nrequire 'pathname'\nrequire 'uri'\nrequire 'open-uri'",
"require 'mini_magick/image/info'\nrequire 'mini_magick/utilities'",
"module MiniMagick\n class Image",
" ##\n # This is the primary loading method used by all of the other class\n # methods.\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
] | PreciseBugs | {"buggy_code_end_loc": [96, 76], "buggy_code_start_loc": [85, 76], "filenames": ["lib/mini_magick/image.rb", "spec/lib/mini_magick/image_spec.rb"], "fixing_code_end_loc": [94, 85], "fixing_code_start_loc": [85, 77], "message": "In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename coul... | 521 |
Determine whether the {function_name} code is vulnerable or not. | [
"require \"spec_helper\"\nrequire \"pathname\"\nrequire \"tempfile\"\nrequire \"fileutils\"\nrequire \"stringio\"\nrequire \"webmock/rspec\"",
"[\"ImageMagick\", \"GraphicsMagick\"].each do |cli|\n RSpec.context \"With #{cli}\", cli: cli.downcase.to_sym do\n describe MiniMagick::Image do\n subject { desc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [96, 76], "buggy_code_start_loc": [85, 76], "filenames": ["lib/mini_magick/image.rb", "spec/lib/mini_magick/image_spec.rb"], "fixing_code_end_loc": [94, 85], "fixing_code_start_loc": [85, 77], "message": "In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename coul... | 521 |
Determine whether the {function_name} code is vulnerable or not. | [
"require \"spec_helper\"\nrequire \"pathname\"\nrequire \"tempfile\"\nrequire \"fileutils\"\nrequire \"stringio\"\nrequire \"webmock/rspec\"",
"[\"ImageMagick\", \"GraphicsMagick\"].each do |cli|\n RSpec.context \"With #{cli}\", cli: cli.downcase.to_sym do\n describe MiniMagick::Image do\n subject { desc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [96, 76], "buggy_code_start_loc": [85, 76], "filenames": ["lib/mini_magick/image.rb", "spec/lib/mini_magick/image_spec.rb"], "fixing_code_end_loc": [94, 85], "fixing_code_start_loc": [85, 77], "message": "In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename coul... | 521 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Iterator for arrays requiring filtered values\n *\n * @package Requests\n * @subpackage Utilities\n */",
"/**\n * Iterator for arrays requiring filtered values\n *\n * @package Requests\n * @subpackage Utilities\n */\nclass Requests_Utility_FilteredIterator extends ArrayIterator {\n\t/**\n\t * Cal... | [
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [44, 269], "buggy_code_start_loc": [44, 269], "filenames": ["src/wp-includes/Requests/Utility/FilteredIterator.php", "tests/phpunit/tests/functions.php"], "fixing_code_end_loc": [61, 299], "fixing_code_start_loc": [45, 270], "message": "WordPress before 5.5.2 mishandles deserialization requests i... | 522 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Iterator for arrays requiring filtered values\n *\n * @package Requests\n * @subpackage Utilities\n */",
"/**\n * Iterator for arrays requiring filtered values\n *\n * @package Requests\n * @subpackage Utilities\n */\nclass Requests_Utility_FilteredIterator extends ArrayIterator {\n\t/**\n\t * Cal... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [44, 269], "buggy_code_start_loc": [44, 269], "filenames": ["src/wp-includes/Requests/Utility/FilteredIterator.php", "tests/phpunit/tests/functions.php"], "fixing_code_end_loc": [61, 299], "fixing_code_start_loc": [45, 270], "message": "WordPress before 5.5.2 mishandles deserialization requests i... | 522 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * @group functions.php\n */\nclass Tests_Functions extends WP_UnitTestCase {\n\tfunction test_wp_parse_args_object() {\n\t\t$x = new MockClass;\n\t\t$x->_baba = 5;\n\t\t$x->yZ = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase\n\t\t$x->a ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [44, 269], "buggy_code_start_loc": [44, 269], "filenames": ["src/wp-includes/Requests/Utility/FilteredIterator.php", "tests/phpunit/tests/functions.php"], "fixing_code_end_loc": [61, 299], "fixing_code_start_loc": [45, 270], "message": "WordPress before 5.5.2 mishandles deserialization requests i... | 522 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * @group functions.php\n */\nclass Tests_Functions extends WP_UnitTestCase {\n\tfunction test_wp_parse_args_object() {\n\t\t$x = new MockClass;\n\t\t$x->_baba = 5;\n\t\t$x->yZ = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase\n\t\t$x->a ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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, 269], "buggy_code_start_loc": [44, 269], "filenames": ["src/wp-includes/Requests/Utility/FilteredIterator.php", "tests/phpunit/tests/functions.php"], "fixing_code_end_loc": [61, 299], "fixing_code_start_loc": [45, 270], "message": "WordPress before 5.5.2 mishandles deserialization requests i... | 522 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** {======================================================\n** Library for packing/unpacking structures.\n** $Id: struct.c,v 1.7 2018/05/11 22:04:31 roberto Exp $\n** See Copyright Notice at the end of this file\n** =======================================================\n*/\n/*\n** Valid formats:\n** > - big ... | [
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,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [154], "buggy_code_start_loc": [92], "filenames": ["deps/lua/src/lua_struct.c"], "fixing_code_end_loc": [156], "fixing_code_start_loc": [92], "message": "An integer overflow in the getnum function in lua_struct.c in Redis before 6.0.3 allows context-dependent attackers with permission to run Lua ... | 523 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** {======================================================\n** Library for packing/unpacking structures.\n** $Id: struct.c,v 1.7 2018/05/11 22:04:31 roberto Exp $\n** See Copyright Notice at the end of this file\n** =======================================================\n*/\n/*\n** Valid formats:\n** > - big ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [154], "buggy_code_start_loc": [92], "filenames": ["deps/lua/src/lua_struct.c"], "fixing_code_end_loc": [156], "fixing_code_start_loc": [92], "message": "An integer overflow in the getnum function in lua_struct.c in Redis before 6.0.3 allows context-dependent attackers with permission to run Lua ... | 523 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2006, 2007, 2009 Rusty Russell, IBM Corporation\n * Copyright (C) 2009, 2010, 2011 Red Hat, Inc.\n * Copyright (C) 2009, 2010, 2011 Amit Shah <amit.shah@redhat.com>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public Lic... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1149], "buggy_code_start_loc": [1138], "filenames": ["drivers/char/virtio_console.c"], "fixing_code_end_loc": [1157], "fixing_code_start_loc": [1139], "message": "drivers/char/virtio_console.c in the Linux kernel 4.9.x and 4.10.x before 4.10.12 interacts incorrectly with the CONFIG_VMAP_STACK op... | 524 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2006, 2007, 2009 Rusty Russell, IBM Corporation\n * Copyright (C) 2009, 2010, 2011 Red Hat, Inc.\n * Copyright (C) 2009, 2010, 2011 Amit Shah <amit.shah@redhat.com>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public Lic... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1149], "buggy_code_start_loc": [1138], "filenames": ["drivers/char/virtio_console.c"], "fixing_code_end_loc": [1157], "fixing_code_start_loc": [1139], "message": "drivers/char/virtio_console.c in the Linux kernel 4.9.x and 4.10.x before 4.10.12 interacts incorrectly with the CONFIG_VMAP_STACK op... | 524 |
Determine whether the {function_name} code is vulnerable or not. | [
"//\n// SPDX-License-Identifier: BSD-3-Clause\n// Copyright (c) Weta Digital, Ltd and Contributors to the OpenEXR Project.\n//",
"\n#include \"ImfCompositeDeepScanLine.h\"\n#include \"ImfDeepScanLineInputPart.h\"\n#include \"ImfDeepScanLineInputFile.h\"\n#include \"ImfChannelList.h\"\n#include \"ImfFrameBuffer.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,
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": [240], "buggy_code_start_loc": [240], "filenames": ["src/lib/OpenEXR/ImfCompositeDeepScanLine.cpp"], "fixing_code_end_loc": [255], "fixing_code_start_loc": [241], "message": "OpenEXR 3.1.x before 3.1.4 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask::execute (called from IlmThread_... | 525 |
Determine whether the {function_name} code is vulnerable or not. | [
"//\n// SPDX-License-Identifier: BSD-3-Clause\n// Copyright (c) Weta Digital, Ltd and Contributors to the OpenEXR Project.\n//",
"\n#include \"ImfCompositeDeepScanLine.h\"\n#include \"ImfDeepScanLineInputPart.h\"\n#include \"ImfDeepScanLineInputFile.h\"\n#include \"ImfChannelList.h\"\n#include \"ImfFrameBuffer.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
] | PreciseBugs | {"buggy_code_end_loc": [240], "buggy_code_start_loc": [240], "filenames": ["src/lib/OpenEXR/ImfCompositeDeepScanLine.cpp"], "fixing_code_end_loc": [255], "fixing_code_start_loc": [241], "message": "OpenEXR 3.1.x before 3.1.4 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask::execute (called from IlmThread_... | 525 |
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,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [467], "buggy_code_start_loc": [466], "filenames": ["coders/sun.c"], "fixing_code_end_loc": [467], "fixing_code_start_loc": [466], "message": "An issue was discovered in ImageMagick 6.9.7. A specially crafted sun file triggers a heap-based buffer over-read.", "other": {"cve": {"cisaActionDue": nu... | 526 |
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
] | PreciseBugs | {"buggy_code_end_loc": [467], "buggy_code_start_loc": [466], "filenames": ["coders/sun.c"], "fixing_code_end_loc": [467], "fixing_code_start_loc": [466], "message": "An issue was discovered in ImageMagick 6.9.7. A specially crafted sun file triggers a heap-based buffer over-read.", "other": {"cve": {"cisaActionDue": nu... | 526 |
Determine whether the {function_name} code is vulnerable or not. | [
"package org.junit.rules;",
"import static org.junit.Assert.fail;",
"import java.io.File;\nimport java.io.IOException;",
"",
"\nimport org.junit.Rule;",
"/**\n * The TemporaryFolder Rule allows creation of files and folders that should\n * be deleted when the test method finishes (whether it passes or\n *... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [233, 184], "buggy_code_start_loc": [6, 5], "filenames": ["src/main/java/org/junit/rules/TemporaryFolder.java", "src/test/java/org/junit/rules/TempFolderRuleTest.java"], "fixing_code_end_loc": [274, 220], "fixing_code_start_loc": [7, 6], "message": "In JUnit4 from version 4.7 and before 4.13.1, t... | 527 |
Determine whether the {function_name} code is vulnerable or not. | [
"package org.junit.rules;",
"import static org.junit.Assert.fail;",
"import java.io.File;\nimport java.io.IOException;",
"import java.lang.reflect.Array;\nimport java.lang.reflect.InvocationTargetException;\nimport java.lang.reflect.Method;",
"\nimport org.junit.Rule;",
"/**\n * The TemporaryFolder Rule a... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [233, 184], "buggy_code_start_loc": [6, 5], "filenames": ["src/main/java/org/junit/rules/TemporaryFolder.java", "src/test/java/org/junit/rules/TempFolderRuleTest.java"], "fixing_code_end_loc": [274, 220], "fixing_code_start_loc": [7, 6], "message": "In JUnit4 from version 4.7 and before 4.13.1, t... | 527 |
Determine whether the {function_name} code is vulnerable or not. | [
"package org.junit.rules;",
"import static org.hamcrest.CoreMatchers.hasItem;\nimport static org.hamcrest.MatcherAssert.assertThat;\nimport static org.hamcrest.core.IsNot.not;",
"",
"import static org.junit.Assert.assertFalse;\nimport static org.junit.Assert.assertTrue;",
"",
"import static org.junit.expe... | [
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [233, 184], "buggy_code_start_loc": [6, 5], "filenames": ["src/main/java/org/junit/rules/TemporaryFolder.java", "src/test/java/org/junit/rules/TempFolderRuleTest.java"], "fixing_code_end_loc": [274, 220], "fixing_code_start_loc": [7, 6], "message": "In JUnit4 from version 4.7 and before 4.13.1, t... | 527 |
Determine whether the {function_name} code is vulnerable or not. | [
"package org.junit.rules;",
"import static org.hamcrest.CoreMatchers.hasItem;\nimport static org.hamcrest.MatcherAssert.assertThat;\nimport static org.hamcrest.core.IsNot.not;",
"import static org.junit.Assert.assertEquals;",
"import static org.junit.Assert.assertFalse;\nimport static org.junit.Assert.assertT... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [233, 184], "buggy_code_start_loc": [6, 5], "filenames": ["src/main/java/org/junit/rules/TemporaryFolder.java", "src/test/java/org/junit/rules/TempFolderRuleTest.java"], "fixing_code_end_loc": [274, 220], "fixing_code_start_loc": [7, 6], "message": "In JUnit4 from version 4.7 and before 4.13.1, t... | 527 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"class NotificationsController < ApplicationController\n include NotificationsHelper\n before_action :set_notification, only: [:destroy]",
" # DELETE /notifications/1\n # DELETE /notifications/1.json\n def destroy\n @notification.destroy if @notification.present?",
" ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"class NotificationsController < ApplicationController\n include NotificationsHelper\n before_action :set_notification, only: [:destroy]",
" # DELETE /notifications/1\n # DELETE /notifications/1.json\n def destroy\n @notification.destroy if @notification.present?",
" ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"module NotificationsHelper\n def comment_link(uniqueid, data)\n comment = comment_for_type(data)\n i18n_key = data[:cutoff] ? 'truncated' : 'full'\n notification = t(\n \"notifications.comment.#{i18n_key}\",",
" name: data[:user],",
" comment: strip_t... | [
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"module NotificationsHelper\n def comment_link(uniqueid, data)\n comment = comment_for_type(data)\n i18n_key = data[:cutoff] ? 'truncated' : 'full'\n notification = t(\n \"notifications.comment.#{i18n_key}\",",
" name: name_or_email(data),",
" comment:... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"data = {\n cutoff: false,\n user: 'Julia Nguyen',\n comment: 'Hello',\n typename: 'typename',\n type: 'type_comment_moment',\n typeid: 1,\n commentable_id: 1\n}",
"\nFactoryBot.define do\n factory :notification do",
"",
" uniqueid { 'MyString' }\n data { data.... | [
1,
0,
1,
0,
1,
0,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"",
"\nFactoryBot.define do\n factory :notification do",
" data = {\n cutoff: false,\n user: 'Almond Butters',\n comment: 'Hello',\n typename: 'typename',\n type: 'type_comment_moment',\n typeid: 1,\n commentable_id: 1,\n }",
" un... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"describe NotificationsHelper do\n let(:uniqueid) { 'uniqueid' }",
" describe '#comment_link' do",
" it 'returns correct link' do",
" data = {\n cutoff: false,\n user: 'Julia Nguyen',\n comment: 'Hello',\n typename: 'typename',\n ... | [
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"describe NotificationsHelper do\n let(:uniqueid) { 'uniqueid' }",
" describe '#comment_link' do",
" it 'returns the correct link' do",
" data = {\n cutoff: false,\n user: 'Julia Nguyen',\n comment: 'Hello',\n typename: 'typename',\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": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"# == Schema Information\n#\n# Table name: notifications\n#\n# id :integer not null, primary key\n# user_id :integer\n# uniqueid :string\n# data :text\n# created_at :datetime not null\n# updated_at :datetime not null\n#",
"descri... | [
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"# == Schema Information\n#\n# Table name: notifications\n#\n# id :integer not null, primary key\n# user_id :integer\n# uniqueid :string\n# data :text\n# created_at :datetime not null\n# updated_at :datetime not null\n#",
"descri... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"describe 'Notification', type: :request do\n let(:previous_page) { 'http://example.com/previous' }\n let(:format) { 'text/html' }\n let(:headers) do\n {\n 'HTTP_REFERER' => previous_page,\n 'ACCEPT' => format\n }\n end",
" describe '#destroy' do\n let(: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,
0,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"describe 'Notification', type: :request do\n let(:previous_page) { 'http://example.com/previous' }\n let(:format) { 'text/html' }\n let(:headers) do\n {\n 'HTTP_REFERER' => previous_page,\n 'ACCEPT' => format\n }\n end",
" describe '#destroy' do\n let(: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": [48, 99, 21, 116, 28, 208], "buggy_code_start_loc": [48, 9, 2, 7, 15, 198], "filenames": ["app/controllers/notifications_controller.rb", "app/helpers/notifications_helper.rb", "spec/factories/notification.rb", "spec/helpers/notifications_helper_spec.rb", "spec/models/notification_spec.rb", "spec/... | 528 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 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,
0,
1,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [712], "buggy_code_start_loc": [695], "filenames": ["tensorflow/core/kernels/pooling_ops_3d.cc"], "fixing_code_end_loc": [725], "fixing_code_start_loc": [696], "message": "TensorFlow is an end-to-end open source platform for machine learning. The implementation of `tf.raw_ops.MaxPool3DGradGrad` i... | 529 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 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": [712], "buggy_code_start_loc": [695], "filenames": ["tensorflow/core/kernels/pooling_ops_3d.cc"], "fixing_code_end_loc": [725], "fixing_code_start_loc": [696], "message": "TensorFlow is an end-to-end open source platform for machine learning. The implementation of `tf.raw_ops.MaxPool3DGradGrad` i... | 529 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n *\n * Patient summary screen.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @author Sharon Cohen <sharonco@matrix.co.il>\n * @author Stephen Waite <stephen.waite@cmsvt.com>\n * @author Ranganath Pathak <pathak@... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1126, 130, 22], "buggy_code_start_loc": [1113, 17, 17], "filenames": ["interface/patient_file/summary/demographics.php", "interface/patient_file/summary/disclosure_full.php", "interface/patient_file/summary/record_disclosure.php"], "fixing_code_end_loc": [1128, 156, 36], "fixing_code_start_loc":... | 530 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n *\n * Patient summary screen.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @author Sharon Cohen <sharonco@matrix.co.il>\n * @author Stephen Waite <stephen.waite@cmsvt.com>\n * @author Ranganath Pathak <pathak@... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1126, 130, 22], "buggy_code_start_loc": [1113, 17, 17], "filenames": ["interface/patient_file/summary/demographics.php", "interface/patient_file/summary/disclosure_full.php", "interface/patient_file/summary/record_disclosure.php"], "fixing_code_end_loc": [1128, 156, 36], "fixing_code_start_loc":... | 530 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Patient disclosures main screen.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Visolve <vicareplus_engg@visolve.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) Visolve <vicareplus_engg@visolve.com>\n * @copyright Copyrig... | [
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1126, 130, 22], "buggy_code_start_loc": [1113, 17, 17], "filenames": ["interface/patient_file/summary/demographics.php", "interface/patient_file/summary/disclosure_full.php", "interface/patient_file/summary/record_disclosure.php"], "fixing_code_end_loc": [1128, 156, 36], "fixing_code_start_loc":... | 530 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Patient disclosures main screen.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Visolve <vicareplus_engg@visolve.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) Visolve <vicareplus_engg@visolve.com>\n * @copyright Copyrig... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1126, 130, 22], "buggy_code_start_loc": [1113, 17, 17], "filenames": ["interface/patient_file/summary/demographics.php", "interface/patient_file/summary/disclosure_full.php", "interface/patient_file/summary/record_disclosure.php"], "fixing_code_end_loc": [1128, 156, 36], "fixing_code_start_loc":... | 530 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Patient disclosures main screen.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Visolve <vicareplus_engg@visolve.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) Visolve <vicareplus_engg@visolve.com>\n * @copyright Copyrig... | [
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1126, 130, 22], "buggy_code_start_loc": [1113, 17, 17], "filenames": ["interface/patient_file/summary/demographics.php", "interface/patient_file/summary/disclosure_full.php", "interface/patient_file/summary/record_disclosure.php"], "fixing_code_end_loc": [1128, 156, 36], "fixing_code_start_loc":... | 530 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Patient disclosures main screen.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Visolve <vicareplus_engg@visolve.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) Visolve <vicareplus_engg@visolve.com>\n * @copyright Copyrig... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1126, 130, 22], "buggy_code_start_loc": [1113, 17, 17], "filenames": ["interface/patient_file/summary/demographics.php", "interface/patient_file/summary/disclosure_full.php", "interface/patient_file/summary/record_disclosure.php"], "fixing_code_end_loc": [1128, 156, 36], "fixing_code_start_loc":... | 530 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2012-2019 OzzieIsaacs\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 pu... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2012-2019 OzzieIsaacs\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 pu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2012-2019 mutschler, cervinko, ok11, jkrehm, nanu-c, Wineliva,\n# pjeby, elelay, idalin, Ozzieisaacs\n#\n# This program is free software: you can redistribu... | [
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2012-2019 mutschler, cervinko, ok11, jkrehm, nanu-c, Wineliva,\n# pjeby, elelay, idalin, Ozzieisaacs\n#\n# This program is free software: you can redistribu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018 lemmsh, Kennyl, Kyosfonica, matthazinski\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 pu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018 lemmsh, Kennyl, Kyosfonica, matthazinski\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 pu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2012-2019 cervinko, idalin, SiphonSquirrel, ouzklcn, akushsky,\n# OzzieIsaacs, bodybybuddha, jkrehm, matthazinski, janeczku\n#\n# This program is free softw... | [
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2012-2019 cervinko, idalin, SiphonSquirrel, ouzklcn, akushsky,\n# OzzieIsaacs, bodybybuddha, jkrehm, matthazinski, janeczku\n#\n# This program is free softw... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0,
0,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
0,
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% extends \"layout.html\" %}\n{% block body %}\n{% if book %}\n <div class=\"col-sm-3 col-lg-3 col-xs-12\">\n <div class=\"cover\">\n <img id=\"detailcover\" title=\"{{book.title}}\" src=\"{{ url_for('web.get_cover', book_id=book.id, edit=1|uuidfilter) }}\" alt=\"{{ book.title }}\"/>\n </div>\n{% i... | [
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% extends \"layout.html\" %}\n{% block body %}\n{% if book %}\n <div class=\"col-sm-3 col-lg-3 col-xs-12\">\n <div class=\"cover\">\n <img id=\"detailcover\" title=\"{{book.title}}\" src=\"{{ url_for('web.get_cover', book_id=book.id, edit=1|uuidfilter) }}\" alt=\"{{ book.title }}\"/>\n </div>\n{% i... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% extends \"layout.html\" %}\n{% macro text_table_row(parameter, edit_text, show_text, validate, sort) -%}\n<th data-field=\"{{ parameter }}\" id=\"{{ parameter }}\"\n {% if sort %}data-sortable=\"true\" {% endif %}\n data-visible = \"{{visiblility.get(parameter)}}\"\n data-escape=\"true\"\n {% if g.u... | [
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% extends \"layout.html\" %}\n{% macro text_table_row(parameter, edit_text, show_text, validate, sort) -%}\n<th data-field=\"{{ parameter }}\" id=\"{{ parameter }}\"\n {% if sort %}data-sortable=\"true\" {% endif %}\n data-visible = \"{{visiblility.get(parameter)}}\"\n data-escape=\"true\"\n {% if g.u... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% extends is_xhr|yesno(\"fragment.html\", \"layout.html\") %}\n{% block body %}\n<div class=\"single\">\n <div class=\"row\">\n <div class=\"col-sm-3 col-lg-3 col-xs-5\">\n <div class=\"cover\">\n <img id=\"detailcover\" title=\"{{entry.title}}\" src=\"{{ url_for('web.get_cover', book_id=entry.i... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% extends is_xhr|yesno(\"fragment.html\", \"layout.html\") %}\n{% block body %}\n<div class=\"single\">\n <div class=\"row\">\n <div class=\"col-sm-3 col-lg-3 col-xs-5\">\n <div class=\"cover\">\n <img id=\"detailcover\" title=\"{{entry.title}}\" src=\"{{ url_for('web.get_cover', book_id=entry.i... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% from 'modal_dialogs.html' import restrict_modal, delete_book, filechooser_modal, delete_confirm_modal, change_confirm_modal %}\n<!DOCTYPE html>\n<html lang=\"{{ g.user.locale }}\">\n <head>\n <title>{{instance}} | {{title}}</title>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=d... | [
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"{% from 'modal_dialogs.html' import restrict_modal, delete_book, filechooser_modal, delete_confirm_modal, change_confirm_modal %}\n<!DOCTYPE html>\n<html lang=\"{{ g.user.locale }}\">\n <head>\n <title>{{instance}} | {{title}}</title>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=d... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2020 OzzieIsaacs\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 ... | [
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2020 OzzieIsaacs\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-",
"# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)\n# Copyright (C) 2018-2019 OzzieIsaacs, cervinko, jkrehm, bodybybuddha, ok11,\n# andy29485, idalin, Kyosfonica, wuqi, Kennyl, lemmsh,\n# falgh1, gr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# GDrive Integration",
"google-api-python-client>=1.7.11,<2.37.0",
"gevent>20.6.0,<22.0.0\ngreenlet>=0.4.17,<1.2.0\nhttplib2>=0.9.2,<0.21.0\noauth2client>=4.0.0,<4.1.4\nuritemplate>=3.0.0,<4.2.0\npyasn1-modules>=0.0.8,<0.3.0\npyasn1>=0.1.9,<0.5.0\nPyDrive2>=1.3.1,<1.11.0\nPyYAML>=3.12\nrsa>=3.4.2,<4.9.0",
"#... | [
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"# GDrive Integration",
"google-api-python-client>=1.7.11,<2.41.0",
"gevent>20.6.0,<22.0.0\ngreenlet>=0.4.17,<1.2.0\nhttplib2>=0.9.2,<0.21.0\noauth2client>=4.0.0,<4.1.4\nuritemplate>=3.0.0,<4.2.0\npyasn1-modules>=0.0.8,<0.3.0\npyasn1>=0.1.9,<0.5.0\nPyDrive2>=1.3.1,<1.11.0\nPyYAML>=3.12\nrsa>=3.4.2,<4.9.0",
"#... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"Babel>=1.3,<3.0\nFlask-Babel>=0.11.1,<2.1.0\nFlask-Login>=0.3.2,<0.5.1\nFlask-Principal>=0.3.2,<0.5.1\nbackports_abc>=0.4\nFlask>=1.0.2,<2.1.0\niso-639>=0.4.5,<0.5.0\nPyPDF3>=1.0.0,<1.0.7\npytz>=2016.10\nrequests>=2.11.1,<2.28.0\nSQLAlchemy>=1.3.0,<1.5.0\ntornado>=4.1,<6.2\nWand>=0.4.4,<0.7.0\nunidecode>=0.04.19,<... | [
1,
0,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"Babel>=1.3,<3.0\nFlask-Babel>=0.11.1,<2.1.0\nFlask-Login>=0.3.2,<0.5.1\nFlask-Principal>=0.3.2,<0.5.1\nbackports_abc>=0.4\nFlask>=1.0.2,<2.1.0\niso-639>=0.4.5,<0.5.0\nPyPDF3>=1.0.0,<1.0.7\npytz>=2016.10\nrequests>=2.11.1,<2.28.0\nSQLAlchemy>=1.3.0,<1.5.0\ntornado>=4.1,<6.2\nWand>=0.4.4,<0.7.0\nunidecode>=0.04.19,<... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [77, 160, 1651, 978, 1350, 148, 973, 585, 64, 38, 52, 93, 299, 64, 32, 1812, 33, 17], "buggy_code_start_loc": [43, 159, 30, 20, 34, 56, 26, 31, 60, 24, 25, 9, 141, 63, 20, 32, 2, 15], "filenames": ["cps.py", "cps/__init__.py", "cps/admin.py", "cps/db.py", "cps/editbooks.py", "cps/epub.py", "cps/h... | 531 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"use Ampache\\Config\\AmpConfig;\nuse Ampache\\Module\\Authorization\\Access;\nuse Ampache\\Repository\\Model\\Video;\nuse Ampache\\Repository\\VideoRepositoryInterface;",
"global $dic;",
"$videoRepository = $dic->get(VideoRepositoryInterface::class);\n$web_path = AmpConfig::get('web_path');",... | [
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"use Ampache\\Config\\AmpConfig;\nuse Ampache\\Module\\Authorization\\Access;\nuse Ampache\\Repository\\Model\\Video;\nuse Ampache\\Repository\\VideoRepositoryInterface;",
"global $dic;",
"$videoRepository = $dic->get(VideoRepositoryInterface::class);\n$web_path = AmpConfig::get('web_path');",... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim:set softtabstop=4 shiftwidth=4 expandtab: */\n/**\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * vim:set softtabstop=4 shiftwidth=4 expandtab:\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * vim:set softtabstop=4 shiftwidth=4 expandtab:\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * vim:set softtabstop=4 shiftwidth=4 expandtab:\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * vim:set softtabstop=4 shiftwidth=4 expandtab:\n *\n * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)\n * Copyright 2001 - 2022 Ampache.org\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Publi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [30, 32, 32, 13, 32, 32, 32, 32, 85, 72, 537], "buggy_code_start_loc": [29, 31, 31, 12, 31, 31, 31, 31, 84, 71, 422], "filenames": ["public/templates/show_alphabet_form.inc.php", "public/templates/show_form_browse.inc.php", "public/templates/show_form_highest.inc.php", "public/templates/show_form... | 532 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.