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.
[ "<?php", "namespace MicroweberPackages\\Helper;", "class HTMLClean\n{", "", " public function clean($html) {", " $antiXss = new \\voku\\helper\\AntiXSS();\n $html = $antiXss->xss_clean($html);", " $path = storage_path() . '/html_purifier';\n if (!is_dir($path)) {\n ...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 108], "buggy_code_start_loc": [6, 68], "filenames": ["src/MicroweberPackages/Helper/HTMLClean.php", "userfiles/modules/tags/TaggingTagsManager.php"], "fixing_code_end_loc": [19, 109], "fixing_code_start_loc": [7, 69], "message": "Cross-site Scripting (XSS) - Stored in Packagist microweber/mic...
416
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace MicroweberPackages\\Helper;", "class HTMLClean\n{", " public function cleanArray($array) {\n if (is_array($array)) {", " $cleanedArray = [];\n foreach ($array as $key=>$value) {\n $cleanedArray[$key] = $this->clean($value);\n }", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 108], "buggy_code_start_loc": [6, 68], "filenames": ["src/MicroweberPackages/Helper/HTMLClean.php", "userfiles/modules/tags/TaggingTagsManager.php"], "fixing_code_end_loc": [19, 109], "fixing_code_start_loc": [7, 69], "message": "Cross-site Scripting (XSS) - Stored in Packagist microweber/mic...
416
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Created by PhpStorm.\n * User: Bojidar\n * Date: 2/27/2020\n * Time: 3:34 PM\n */", "// Language is changed\nevent_bind('mw.admin.change_language', function () {\n sync_tags();\n});", "function sync_tags() {\n $tagging_tags = db_get('tagging_tags', 'no_limit=1');\n if (!empty($tagging_t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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": [6, 108], "buggy_code_start_loc": [6, 68], "filenames": ["src/MicroweberPackages/Helper/HTMLClean.php", "userfiles/modules/tags/TaggingTagsManager.php"], "fixing_code_end_loc": [19, 109], "fixing_code_start_loc": [7, 69], "message": "Cross-site Scripting (XSS) - Stored in Packagist microweber/mic...
416
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Created by PhpStorm.\n * User: Bojidar\n * Date: 2/27/2020\n * Time: 3:34 PM\n */", "// Language is changed\nevent_bind('mw.admin.change_language', function () {\n sync_tags();\n});", "function sync_tags() {\n $tagging_tags = db_get('tagging_tags', 'no_limit=1');\n if (!empty($tagging_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 ]
PreciseBugs
{"buggy_code_end_loc": [6, 108], "buggy_code_start_loc": [6, 68], "filenames": ["src/MicroweberPackages/Helper/HTMLClean.php", "userfiles/modules/tags/TaggingTagsManager.php"], "fixing_code_end_loc": [19, 109], "fixing_code_start_loc": [7, 69], "message": "Cross-site Scripting (XSS) - Stored in Packagist microweber/mic...
416
Determine whether the {function_name} code is vulnerable or not.
[ "using System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;", "", "using Microsoft.AspNetCore.Mvc;\nusing OrchardCore.Admin;\nusing OrchardCore.ContentFields.Settings;\nusing OrchardCore.ContentFields.ViewModels;\nusing OrchardCore.ContentLocalization;\nusing OrchardCore.ContentManagem...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [80, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;", "using Microsoft.AspNetCore.Authorization;", "using Microsoft.AspNetCore.Mvc;\nusing OrchardCore.Admin;\nusing OrchardCore.ContentFields.Settings;\nusing OrchardCore.ContentFields.ViewModels;\nusing OrchardCore.ContentLocali...
[ 1, 1, 1, 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, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System.Threading.Tasks;", "", "using Microsoft.AspNetCore.Mvc;\nusing OrchardCore.Admin;\nusing OrchardCore.ContentManagement;\nusing OrchardCore.ContentManagement.Display;", "", "using OrchardCore.DisplayManagement.ModelBinding;\nusing YesSql;", "", "\nnamespace OrchardCore.Demo.Controllers\n{\n...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [80, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System.Threading.Tasks;", "using Microsoft.AspNetCore.Authorization;", "using Microsoft.AspNetCore.Mvc;\nusing OrchardCore.Admin;\nusing OrchardCore.ContentManagement;\nusing OrchardCore.ContentManagement.Display;", "using OrchardCore.Contents;", "using OrchardCore.DisplayManagement.ModelBinding;\nus...
[ 1, 1, 1, 1, 1, 1, 1, 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, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Localization;\nusing Microsoft.Extensions.Localization;\nusing OrchardCore.DisplayManagement.Extensions;\nu...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [80, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Localization;\nusing Microsoft.Extensions.Localization;\nusing OrchardCore.DisplayManagement.Extensions;\nu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Security.Claims;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Identity;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Localization;\nusing Microsoft.Extensi...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [80, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Security.Claims;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Identity;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Localization;\nusing Microsoft.Extensi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;", "", "using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Html;\nusing OrchardCore.ContentManagement;\nusing OrchardCore.ContentManagement.Display.ContentDisplay;\nusing OrchardCore.ContentManagement.Metadata.Settings;\nusing OrchardCore.DisplayManagement;\nusing OrchardCore.DisplayManagem...
[ 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [80, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;", "using System.Text.Encodings.Web;\nusing System.Text.Json;", "using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Html;\nusing OrchardCore.ContentManagement;\nusing OrchardCore.ContentManagement.Display.ContentDisplay;\nusing OrchardCore.ContentManagement.Metadata.Settings;\nusing Orchard...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Localization;\nusing Microsoft.AspNetCore.Mvc.Rendering;\nusing Microsoft.AspNetCore.Routing;\nusing Micros...
[ 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [80, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Localization;\nusing Microsoft.AspNetCore.Mvc.Rendering;\nusing Microsoft.AspNetCore.Routing;\nusing Micros...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Localization;\nusing Microsoft.AspNetCore.Mvc.Rendering;\nusing Microsoft.AspNetCore.Routing;\nusing Micros...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [80, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.Localization;\nusing Microsoft.AspNetCore.Mvc.Rendering;\nusing Microsoft.AspNetCore.Routing;\nusing Micros...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 64, 136, 87, 284, 260, 45], "buggy_code_start_loc": [3, 1, 114, 87, 1, 13, 43], "filenames": ["src/OrchardCore.Modules/OrchardCore.ContentFields/Controllers/LocalizationSetContentPickerAdminController.cs", "src/OrchardCore.Modules/OrchardCore.Demo/Controllers/ContentController.cs", "src/Orch...
417
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 1996-2020 The Squid Software Foundation and contributors\n *\n * Squid software is distributed under GPLv2+ license and includes\n * contributions from numerous individuals and organizations.\n * Please see the COPYING and CONTRIBUTORS files for details.\n */", "#include \"squid.h\"\n#includ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [41], "buggy_code_start_loc": [40], "filenames": ["src/http/RegisteredHeaders.cc"], "fixing_code_end_loc": [41], "fixing_code_start_loc": [40], "message": "An issue was discovered in Squid 4.x before 4.15 and 5.x before 5.0.6. If a remote server sends a certain response header over HTTP or HTTPS,...
418
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 1996-2020 The Squid Software Foundation and contributors\n *\n * Squid software is distributed under GPLv2+ license and includes\n * contributions from numerous individuals and organizations.\n * Please see the COPYING and CONTRIBUTORS files for details.\n */", "#include \"squid.h\"\n#includ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [41], "buggy_code_start_loc": [40], "filenames": ["src/http/RegisteredHeaders.cc"], "fixing_code_end_loc": [41], "fixing_code_start_loc": [40], "message": "An issue was discovered in Squid 4.x before 4.15 and 5.x before 5.0.6. If a remote server sends a certain response header over HTTP or HTTPS,...
418
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n */", "#include \"checkout.h\"", "#include \"git2/repository.h\"\n#include \"git2/refs.h\"\n#in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1275, 212], "buggy_code_start_loc": [1274, 209], "filenames": ["src/checkout.c", "tests/checkout/nasty.c"], "fixing_code_end_loc": [1275, 211], "fixing_code_start_loc": [1274, 208], "message": "An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. checkout.c mishandles equival...
419
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n */", "#include \"checkout.h\"", "#include \"git2/repository.h\"\n#include \"git2/refs.h\"\n#in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1275, 212], "buggy_code_start_loc": [1274, 209], "filenames": ["src/checkout.c", "tests/checkout/nasty.c"], "fixing_code_end_loc": [1275, 211], "fixing_code_start_loc": [1274, 208], "message": "An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. checkout.c mishandles equival...
419
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"clar_libgit2.h\"\n#include \"checkout_helpers.h\"", "#include \"git2/checkout.h\"\n#include \"repository.h\"\n#include \"buffer.h\"\n#include \"futils.h\"", "static const char *repo_name = \"nasty\";\nstatic git_repository *repo;\nstatic git_checkout_options checkout_opts;", "void test_checkout_na...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1275, 212], "buggy_code_start_loc": [1274, 209], "filenames": ["src/checkout.c", "tests/checkout/nasty.c"], "fixing_code_end_loc": [1275, 211], "fixing_code_start_loc": [1274, 208], "message": "An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. checkout.c mishandles equival...
419
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"clar_libgit2.h\"\n#include \"checkout_helpers.h\"", "#include \"git2/checkout.h\"\n#include \"repository.h\"\n#include \"buffer.h\"\n#include \"futils.h\"", "static const char *repo_name = \"nasty\";\nstatic git_repository *repo;\nstatic git_checkout_options checkout_opts;", "void test_checkout_na...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1275, 212], "buggy_code_start_loc": [1274, 209], "filenames": ["src/checkout.c", "tests/checkout/nasty.c"], "fixing_code_end_loc": [1275, 211], "fixing_code_start_loc": [1274, 208], "message": "An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. checkout.c mishandles equival...
419
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// +-----------------------------------------------------------------------+\n// | Piwigo - a PHP based photo gallery |\n// +-----------------------------------------------------------------------+\n// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [248, 187, 9, 61], "buggy_code_start_loc": [41, 87, 9, 61], "filenames": ["admin/cat_options.php", "admin/permalinks.php", "admin/themes/default/template/cat_options.tpl", "admin/themes/default/template/permalinks.tpl"], "fixing_code_end_loc": [249, 194, 11, 63], "fixing_code_start_loc": [41, 88,...
420
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// +-----------------------------------------------------------------------+\n// | Piwigo - a PHP based photo gallery |\n// +-----------------------------------------------------------------------+\n// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [248, 187, 9, 61], "buggy_code_start_loc": [41, 87, 9, 61], "filenames": ["admin/cat_options.php", "admin/permalinks.php", "admin/themes/default/template/cat_options.tpl", "admin/themes/default/template/permalinks.tpl"], "fixing_code_end_loc": [249, 194, 11, 63], "fixing_code_start_loc": [41, 88,...
420
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// +-----------------------------------------------------------------------+\n// | Piwigo - a PHP based photo gallery |\n// +-----------------------------------------------------------------------+\n// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [248, 187, 9, 61], "buggy_code_start_loc": [41, 87, 9, 61], "filenames": ["admin/cat_options.php", "admin/permalinks.php", "admin/themes/default/template/cat_options.tpl", "admin/themes/default/template/permalinks.tpl"], "fixing_code_end_loc": [249, 194, 11, 63], "fixing_code_start_loc": [41, 88,...
420
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// +-----------------------------------------------------------------------+\n// | Piwigo - a PHP based photo gallery |\n// +-----------------------------------------------------------------------+\n// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.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 ]
PreciseBugs
{"buggy_code_end_loc": [248, 187, 9, 61], "buggy_code_start_loc": [41, 87, 9, 61], "filenames": ["admin/cat_options.php", "admin/permalinks.php", "admin/themes/default/template/cat_options.tpl", "admin/themes/default/template/permalinks.tpl"], "fixing_code_end_loc": [249, 194, 11, 63], "fixing_code_start_loc": [41, 88,...
420
Determine whether the {function_name} code is vulnerable or not.
[ "<div class=\"titrePage\">\n <h2>{'Properties'|@translate} {$TABSHEET_TITLE}</h2>\n</div>", "<form method=\"post\" action=\"{$F_ACTION}\" id=\"cat_options\">\n <fieldset>\n <legend>{$L_SECTION}</legend>\n {$DOUBLE_SELECT}\n </fieldset>", "", "</form>" ]
[ 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [248, 187, 9, 61], "buggy_code_start_loc": [41, 87, 9, 61], "filenames": ["admin/cat_options.php", "admin/permalinks.php", "admin/themes/default/template/cat_options.tpl", "admin/themes/default/template/permalinks.tpl"], "fixing_code_end_loc": [249, 194, 11, 63], "fixing_code_start_loc": [41, 88,...
420
Determine whether the {function_name} code is vulnerable or not.
[ "<div class=\"titrePage\">\n <h2>{'Properties'|@translate} {$TABSHEET_TITLE}</h2>\n</div>", "<form method=\"post\" action=\"{$F_ACTION}\" id=\"cat_options\">\n <fieldset>\n <legend>{$L_SECTION}</legend>\n {$DOUBLE_SELECT}\n </fieldset>", "<input type=\"hidden\" name=\"pwg_token\" value=\"{$PWG_TOKEN}\"...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [248, 187, 9, 61], "buggy_code_start_loc": [41, 87, 9, 61], "filenames": ["admin/cat_options.php", "admin/permalinks.php", "admin/themes/default/template/cat_options.tpl", "admin/themes/default/template/permalinks.tpl"], "fixing_code_end_loc": [249, 194, 11, 63], "fixing_code_start_loc": [41, 88,...
420
Determine whether the {function_name} code is vulnerable or not.
[ "{footer_script require='jquery.ui.sortable'}{literal}\njQuery(document).ready(function(){\n jQuery(\"#addPermalinkOpen\").click(function(){\n jQuery(\"#addPermalink\").show();\n jQuery(\"#showAddPermalink\").hide();\n });", " jQuery(\"#addPermalinkClose\").click(function(){\n jQuery(\"#addPermalink\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [248, 187, 9, 61], "buggy_code_start_loc": [41, 87, 9, 61], "filenames": ["admin/cat_options.php", "admin/permalinks.php", "admin/themes/default/template/cat_options.tpl", "admin/themes/default/template/permalinks.tpl"], "fixing_code_end_loc": [249, 194, 11, 63], "fixing_code_start_loc": [41, 88,...
420
Determine whether the {function_name} code is vulnerable or not.
[ "{footer_script require='jquery.ui.sortable'}{literal}\njQuery(document).ready(function(){\n jQuery(\"#addPermalinkOpen\").click(function(){\n jQuery(\"#addPermalink\").show();\n jQuery(\"#showAddPermalink\").hide();\n });", " jQuery(\"#addPermalinkClose\").click(function(){\n jQuery(\"#addPermalink\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [248, 187, 9, 61], "buggy_code_start_loc": [41, 87, 9, 61], "filenames": ["admin/cat_options.php", "admin/permalinks.php", "admin/themes/default/template/cat_options.tpl", "admin/themes/default/template/permalinks.tpl"], "fixing_code_end_loc": [249, 194, 11, 63], "fixing_code_start_loc": [41, 88,...
420
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2016 Open Broadcast Systems Ltd.\n * Author 2016 Rostislav Pehlivanov <atomnuker@gmail.com>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1111, 230, 53], "buggy_code_start_loc": [1109, 214, 46], "filenames": ["libavcodec/vc2enc.c", "libavcodec/vc2enc_dwt.c", "libavcodec/vc2enc_dwt.h"], "fixing_code_end_loc": [1112, 236, 55], "fixing_code_start_loc": [1109, 214, 47], "message": "The VC-2 Video Compression encoder in FFmpeg 3.0 and ...
421
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2016 Open Broadcast Systems Ltd.\n * Author 2016 Rostislav Pehlivanov <atomnuker@gmail.com>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1111, 230, 53], "buggy_code_start_loc": [1109, 214, 46], "filenames": ["libavcodec/vc2enc.c", "libavcodec/vc2enc_dwt.c", "libavcodec/vc2enc_dwt.h"], "fixing_code_end_loc": [1112, 236, 55], "fixing_code_start_loc": [1109, 214, 47], "message": "The VC-2 Video Compression encoder in FFmpeg 3.0 and ...
421
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2007 Marco Gerards <marco@gnu.org>\n * Copyright (C) 2016 Open Broadcast Systems Ltd.\n * Author 2016 Rostislav Pehlivanov <atomnuker@gmail.com>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU ...
[ 1, 1, 1, 1, 1, 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, 0 ]
PreciseBugs
{"buggy_code_end_loc": [1111, 230, 53], "buggy_code_start_loc": [1109, 214, 46], "filenames": ["libavcodec/vc2enc.c", "libavcodec/vc2enc_dwt.c", "libavcodec/vc2enc_dwt.h"], "fixing_code_end_loc": [1112, 236, 55], "fixing_code_start_loc": [1109, 214, 47], "message": "The VC-2 Video Compression encoder in FFmpeg 3.0 and ...
421
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2007 Marco Gerards <marco@gnu.org>\n * Copyright (C) 2016 Open Broadcast Systems Ltd.\n * Author 2016 Rostislav Pehlivanov <atomnuker@gmail.com>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1111, 230, 53], "buggy_code_start_loc": [1109, 214, 46], "filenames": ["libavcodec/vc2enc.c", "libavcodec/vc2enc_dwt.c", "libavcodec/vc2enc_dwt.h"], "fixing_code_end_loc": [1112, 236, 55], "fixing_code_start_loc": [1109, 214, 47], "message": "The VC-2 Video Compression encoder in FFmpeg 3.0 and ...
421
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2016 Open Broadcast Systems Ltd.\n * Author 2016 Rostislav Pehlivanov <atomnuker@gmail.com>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1111, 230, 53], "buggy_code_start_loc": [1109, 214, 46], "filenames": ["libavcodec/vc2enc.c", "libavcodec/vc2enc_dwt.c", "libavcodec/vc2enc_dwt.h"], "fixing_code_end_loc": [1112, 236, 55], "fixing_code_start_loc": [1109, 214, 47], "message": "The VC-2 Video Compression encoder in FFmpeg 3.0 and ...
421
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2016 Open Broadcast Systems Ltd.\n * Author 2016 Rostislav Pehlivanov <atomnuker@gmail.com>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1111, 230, 53], "buggy_code_start_loc": [1109, 214, 46], "filenames": ["libavcodec/vc2enc.c", "libavcodec/vc2enc_dwt.c", "libavcodec/vc2enc_dwt.h"], "fixing_code_end_loc": [1112, 236, 55], "fixing_code_start_loc": [1109, 214, 47], "message": "The VC-2 Video Compression encoder in FFmpeg 3.0 and ...
421
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [507, 309, 198], "buggy_code_start_loc": [20, 94, 20], "filenames": ["tensorflow/core/kernels/quantized_conv_ops.cc", "tensorflow/core/kernels/quantized_conv_ops_test.cc", "tensorflow/python/ops/quantized_conv_ops_test.py"], "fixing_code_end_loc": [521, 309, 266], "fixing_code_start_loc": [19, 94...
422
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [507, 309, 198], "buggy_code_start_loc": [20, 94, 20], "filenames": ["tensorflow/core/kernels/quantized_conv_ops.cc", "tensorflow/core/kernels/quantized_conv_ops_test.cc", "tensorflow/python/ops/quantized_conv_ops_test.py"], "fixing_code_end_loc": [521, 309, 266], "fixing_code_start_loc": [19, 94...
422
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [507, 309, 198], "buggy_code_start_loc": [20, 94, 20], "filenames": ["tensorflow/core/kernels/quantized_conv_ops.cc", "tensorflow/core/kernels/quantized_conv_ops_test.cc", "tensorflow/python/ops/quantized_conv_ops_test.py"], "fixing_code_end_loc": [521, 309, 266], "fixing_code_start_loc": [19, 94...
422
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [507, 309, 198], "buggy_code_start_loc": [20, 94, 20], "filenames": ["tensorflow/core/kernels/quantized_conv_ops.cc", "tensorflow/core/kernels/quantized_conv_ops_test.cc", "tensorflow/python/ops/quantized_conv_ops_test.py"], "fixing_code_end_loc": [521, 309, 266], "fixing_code_start_loc": [19, 94...
422
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [507, 309, 198], "buggy_code_start_loc": [20, 94, 20], "filenames": ["tensorflow/core/kernels/quantized_conv_ops.cc", "tensorflow/core/kernels/quantized_conv_ops_test.cc", "tensorflow/python/ops/quantized_conv_ops_test.py"], "fixing_code_end_loc": [521, 309, 266], "fixing_code_start_loc": [19, 94...
422
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [507, 309, 198], "buggy_code_start_loc": [20, 94, 20], "filenames": ["tensorflow/core/kernels/quantized_conv_ops.cc", "tensorflow/core/kernels/quantized_conv_ops_test.cc", "tensorflow/python/ops/quantized_conv_ops_test.py"], "fixing_code_end_loc": [521, 309, 266], "fixing_code_start_loc": [19, 94...
422
Determine whether the {function_name} code is vulnerable or not.
[ "# iperf, Copyright (c) 2014, 2015, The Regents of the University of\n# California, through Lawrence Berkeley National Laboratory (subject\n# to receipt of any required approvals from the U.S. Dept. of\n# Energy). All rights reserved.\n#\n# If you have questions about your rights to use or distribute this\n# softw...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "# iperf, Copyright (c) 2014, 2015, The Regents of the University of\n# California, through Lawrence Berkeley National Laboratory (subject\n# to receipt of any required approvals from the U.S. Dept. of\n# Energy). All rights reserved.\n#\n# If you have questions about your rights to use or distribute this\n# softw...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n Copyright (c) 2009 Dave Gamble", " Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
PreciseBugs
{"buggy_code_end_loc": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n Copyright (c) 2009 Dave Gamble", " Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n Copyright (c) 2009 Dave Gamble\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, ...
[ 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n Copyright (c) 2009 Dave Gamble\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * iperf, Copyright (c) 2014, 2015, The Regents of the University of\n * California, through Lawrence Berkeley National Laboratory (subject\n * to receipt of any required approvals from the U.S. Dept. of\n * Energy). All rights reserved.\n *\n * If you have questions about your rights to use or distribute thi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * iperf, Copyright (c) 2014, 2015, The Regents of the University of\n * California, through Lawrence Berkeley National Laboratory (subject\n * to receipt of any required approvals from the U.S. Dept. of\n * Energy). All rights reserved.\n *\n * If you have questions about your rights to use or distribute thi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * iperf, Copyright (c) 2014, The Regents of the University of\n * California, through Lawrence Berkeley National Laboratory (subject\n * to receipt of any required approvals from the U.S. Dept. of\n * Energy). All rights reserved.\n *\n * If you have questions about your rights to use or distribute this\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, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * iperf, Copyright (c) 2014, The Regents of the University of\n * California, through Lawrence Berkeley National Laboratory (subject\n * to receipt of any required approvals from the U.S. Dept. of\n * Energy). All rights reserved.\n *\n * If you have questions about your rights to use or distribute this\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": [64, 1034, 123, 1419, 279], "buggy_code_start_loc": [64, 43, 32, 526, 275], "filenames": ["configure.ac", "src/cjson.c", "src/cjson.h", "src/iperf_api.c", "src/iperf_util.c"], "fixing_code_end_loc": [71, 763, 148, 1429, 279], "fixing_code_start_loc": [65, 43, 32, 526, 275], "message": "The parse_...
423
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "App::uses('AppController', 'Controller');", "class ThreadsController extends AppController\n{\n public $components = array(\n 'Security',\n 'RequestHandler',\n 'Session',\n );", " public $helpers = array('Js' => array('Jquery'));", " public $paginate = array(\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [210, 40], "buggy_code_start_loc": [65, 40], "filenames": ["app/Controller/ThreadsController.php", "app/Model/Thread.php"], "fixing_code_end_loc": [166, 88], "fixing_code_start_loc": [66, 41], "message": "An issue was discovered in MISP before 2.4.121. ACLs for discussion threads were mishandled ...
424
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "App::uses('AppController', 'Controller');", "class ThreadsController extends AppController\n{\n public $components = array(\n 'Security',\n 'RequestHandler',\n 'Session',\n );", " public $helpers = array('Js' => array('Jquery'));", " public $paginate = array(\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [210, 40], "buggy_code_start_loc": [65, 40], "filenames": ["app/Controller/ThreadsController.php", "app/Model/Thread.php"], "fixing_code_end_loc": [166, 88], "fixing_code_start_loc": [66, 41], "message": "An issue was discovered in MISP before 2.4.121. ACLs for discussion threads were mishandled ...
424
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "App::uses('AppModel', 'Model');", "class Thread extends AppModel\n{\n public $actsAs = array(\n 'Containable',\n 'SysLogLogable.SysLogLogable' => array( // TODO Audit, logable\n 'roleModel' => 'Thread',\n 'roleKey' => 'thread_id',\n ...
[ 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [210, 40], "buggy_code_start_loc": [65, 40], "filenames": ["app/Controller/ThreadsController.php", "app/Model/Thread.php"], "fixing_code_end_loc": [166, 88], "fixing_code_start_loc": [66, 41], "message": "An issue was discovered in MISP before 2.4.121. ACLs for discussion threads were mishandled ...
424
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "App::uses('AppModel', 'Model');", "class Thread extends AppModel\n{\n public $actsAs = array(\n 'Containable',\n 'SysLogLogable.SysLogLogable' => array( // TODO Audit, logable\n 'roleModel' => 'Thread',\n 'roleKey' => 'thread_id',\n ...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [210, 40], "buggy_code_start_loc": [65, 40], "filenames": ["app/Controller/ThreadsController.php", "app/Model/Thread.php"], "fixing_code_end_loc": [166, 88], "fixing_code_start_loc": [66, 41], "message": "An issue was discovered in MISP before 2.4.121. ACLs for discussion threads were mishandled ...
424
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n 2014, Black Cat Development\n @link http://blackcat-cms.org\n @license http://www.gnu.org/licenses/gpl.html\n @category CAT_Core\n @package freshcat", "*/", "function getMethods(a){var b=[],c;for(c in a)try{\"function\"==typeof a[c]&&b.push(c+\": \"+a[c].toS...
[ 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [75], "buggy_code_start_loc": [9], "filenames": ["upload/templates/freshcat/js/backend.js"], "fixing_code_end_loc": [78], "fixing_code_start_loc": [9], "message": "Cross-site scripting (XSS) vulnerability in backend/pages/modify.php in BlackCatCMS 1.3 allows remote authenticated users with the Ad...
425
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n 2014, Black Cat Development\n @link http://blackcat-cms.org\n @license http://www.gnu.org/licenses/gpl.html\n @category CAT_Core\n @package freshcat", "*/", "var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(...
[ 1, 1, 1, 1, 1, 1, 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": [75], "buggy_code_start_loc": [9], "filenames": ["upload/templates/freshcat/js/backend.js"], "fixing_code_end_loc": [78], "fixing_code_start_loc": [9], "message": "Cross-site scripting (XSS) vulnerability in backend/pages/modify.php in BlackCatCMS 1.3 allows remote authenticated users with the Ad...
425
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8", "require 'set'", "class Sanitize; module Transformers; class CleanElement", " # Matches a valid HTML5 data attribute name. The unicode ranges included here\n # are a conservative subset of the full range of characters that are\n # technically allowed, with the intent of matching the mo...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [119, 300, 127], "buggy_code_start_loc": [19, 237, 127], "filenames": ["lib/sanitize/transformers/clean_element.rb", "test/test_clean_element.rb", "test/test_malicious_html.rb"], "fixing_code_end_loc": [175, 311, 192], "fixing_code_start_loc": [20, 237, 128], "message": "A specially crafted HTML ...
426
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8", "require 'set'", "class Sanitize; module Transformers; class CleanElement", " # Matches a valid HTML5 data attribute name. The unicode ranges included here\n # are a conservative subset of the full range of characters that are\n # technically allowed, with the intent of matching the mo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 300, 127], "buggy_code_start_loc": [19, 237, 127], "filenames": ["lib/sanitize/transformers/clean_element.rb", "test/test_clean_element.rb", "test/test_malicious_html.rb"], "fixing_code_end_loc": [175, 311, 192], "fixing_code_start_loc": [20, 237, 128], "message": "A specially crafted HTML ...
426
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8\nrequire_relative 'common'", "describe 'Sanitize::Transformers::CleanElement' do\n make_my_diffs_pretty!\n parallelize_me!", " strings = {\n :basic => {\n :html => '<b>Lo<!-- comment -->rem</b> <a href=\"pants\" title=\"foo\" style=\"text-decoration: underline;\">ipsum</a> <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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [119, 300, 127], "buggy_code_start_loc": [19, 237, 127], "filenames": ["lib/sanitize/transformers/clean_element.rb", "test/test_clean_element.rb", "test/test_malicious_html.rb"], "fixing_code_end_loc": [175, 311, 192], "fixing_code_start_loc": [20, 237, 128], "message": "A specially crafted HTML ...
426
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8\nrequire_relative 'common'", "describe 'Sanitize::Transformers::CleanElement' do\n make_my_diffs_pretty!\n parallelize_me!", " strings = {\n :basic => {\n :html => '<b>Lo<!-- comment -->rem</b> <a href=\"pants\" title=\"foo\" style=\"text-decoration: underline;\">ipsum</a> <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": [119, 300, 127], "buggy_code_start_loc": [19, 237, 127], "filenames": ["lib/sanitize/transformers/clean_element.rb", "test/test_clean_element.rb", "test/test_malicious_html.rb"], "fixing_code_end_loc": [175, 311, 192], "fixing_code_start_loc": [20, 237, 128], "message": "A specially crafted HTML ...
426
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8\nrequire_relative 'common'", "# Miscellaneous attempts to sneak maliciously crafted HTML past Sanitize. Many\n# of these are courtesy of (or inspired by) the OWASP XSS Filter Evasion Cheat\n# Sheet.\n#\n# https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet", "describe 'Malicious HT...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [119, 300, 127], "buggy_code_start_loc": [19, 237, 127], "filenames": ["lib/sanitize/transformers/clean_element.rb", "test/test_clean_element.rb", "test/test_malicious_html.rb"], "fixing_code_end_loc": [175, 311, 192], "fixing_code_start_loc": [20, 237, 128], "message": "A specially crafted HTML ...
426
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8\nrequire_relative 'common'", "# Miscellaneous attempts to sneak maliciously crafted HTML past Sanitize. Many\n# of these are courtesy of (or inspired by) the OWASP XSS Filter Evasion Cheat\n# Sheet.\n#\n# https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet", "describe 'Malicious HT...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 300, 127], "buggy_code_start_loc": [19, 237, 127], "filenames": ["lib/sanitize/transformers/clean_element.rb", "test/test_clean_element.rb", "test/test_malicious_html.rb"], "fixing_code_end_loc": [175, 311, 192], "fixing_code_start_loc": [20, 237, 128], "message": "A specially crafted HTML ...
426
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) STRATO AG 2012. All rights reserved.\n */", "#include <linux/sched.h>\n#include <linux/bio.h>\n#include <linux/slab.h>\n#include <linux/blkdev.h>\n#include <linux/kthread.h>\n#include <linux/math64.h>\n#include \"ctree.h\"\n#include \"extent_map.h\"\n#in...
[ 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, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) STRATO AG 2012. All rights reserved.\n */", "#include <linux/sched.h>\n#include <linux/bio.h>\n#include <linux/slab.h>\n#include <linux/blkdev.h>\n#include <linux/kthread.h>\n#include <linux/math64.h>\n#include \"ctree.h\"\n#include \"extent_map.h\"\n#in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) 2007 Oracle. All rights reserved.\n */", "#include <linux/kernel.h>\n#include <linux/bio.h>\n#include <linux/file.h>\n#include <linux/fs.h>\n#include <linux/fsnotify.h>\n#include <linux/pagemap.h>\n#include <linux/highmem.h>\n#include <linux/time.h>\n#in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) 2007 Oracle. All rights reserved.\n */", "#include <linux/kernel.h>\n#include <linux/bio.h>\n#include <linux/file.h>\n#include <linux/fs.h>\n#include <linux/fsnotify.h>\n#include <linux/pagemap.h>\n#include <linux/highmem.h>\n#include <linux/time.h>\n#in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) 2011, 2012 STRATO. All rights reserved.\n */", "#include <linux/blkdev.h>\n#include <linux/ratelimit.h>\n#include <linux/sched/mm.h>\n#include \"ctree.h\"\n#include \"volumes.h\"\n#include \"disk-io.h\"\n#include \"ordered-data.h\"\n#include \"transactio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) 2011, 2012 STRATO. All rights reserved.\n */", "#include <linux/blkdev.h>\n#include <linux/ratelimit.h>\n#include <linux/sched/mm.h>\n#include \"ctree.h\"\n#include \"volumes.h\"\n#include \"disk-io.h\"\n#include \"ordered-data.h\"\n#include \"transactio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) 2007 Oracle. All rights reserved.\n */", "#include <linux/sched.h>\n#include <linux/bio.h>\n#include <linux/slab.h>\n#include <linux/buffer_head.h>\n#include <linux/blkdev.h>\n#include <linux/ratelimit.h>\n#include <linux/kthread.h>\n#include <linux/raid...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 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": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) 2007 Oracle. All rights reserved.\n */", "#include <linux/sched.h>\n#include <linux/bio.h>\n#include <linux/slab.h>\n#include <linux/buffer_head.h>\n#include <linux/blkdev.h>\n#include <linux/ratelimit.h>\n#include <linux/kthread.h>\n#include <linux/raid...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * Copyright (C) 2007 Oracle. All rights reserved.\n */", "#ifndef BTRFS_VOLUMES_H\n#define BTRFS_VOLUMES_H", "#include <linux/bio.h>\n#include <linux/sort.h>\n#include <linux/btrfs.h>\n#include \"async-thread.h\"", "#define BTRFS_MAX_DATA_CHUNK_SIZE\t(10ULL * SZ_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * Copyright (C) 2007 Oracle. All rights reserved.\n */", "#ifndef BTRFS_VOLUMES_H\n#define BTRFS_VOLUMES_H", "#include <linux/bio.h>\n#include <linux/sort.h>\n#include <linux/btrfs.h>\n#include \"async-thread.h\"", "#define BTRFS_MAX_DATA_CHUNK_SIZE\t(10ULL * SZ_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [119, 3183, 4016, 7836, 438], "buggy_code_start_loc": [115, 1645, 3838, 418, 437], "filenames": ["fs/btrfs/dev-replace.c", "fs/btrfs/ioctl.c", "fs/btrfs/scrub.c", "fs/btrfs/volumes.c", "fs/btrfs/volumes.h"], "fixing_code_end_loc": [119, 3183, 4016, 7834, 438], "fixing_code_start_loc": [115, 1645,...
427
Determine whether the {function_name} code is vulnerable or not.
[ "2.0.0" ]
[ 0 ]
PreciseBugs
{"buggy_code_end_loc": [2], "buggy_code_start_loc": [1], "filenames": ["semver.txt"], "fixing_code_end_loc": [2], "fixing_code_start_loc": [1], "message": "CycloneDX BOM Repository Server is a bill of materials (BOM) repository server for distributing CycloneDX BOMs. CycloneDX BOM Repository Server before version 2.0.1...
428
Determine whether the {function_name} code is vulnerable or not.
[ "2.0.1" ]
[ 1 ]
PreciseBugs
{"buggy_code_end_loc": [2], "buggy_code_start_loc": [1], "filenames": ["semver.txt"], "fixing_code_end_loc": [2], "fixing_code_start_loc": [1], "message": "CycloneDX BOM Repository Server is a bill of materials (BOM) repository server for distributing CycloneDX BOMs. CycloneDX BOM Repository Server before version 2.0.1...
428
Determine whether the {function_name} code is vulnerable or not.
[ "var XINGApi = require('xing-api'),\n mongoose = require('mongoose'),\n Wall = mongoose.model('Wall'),\n Profile = mongoose.model('Profile'),\n xingApi = new XINGApi({\n consumerKey: process.env.XING_CONSUMER_KEY,\n consumerSecret: process.env.XING_CONSUMER...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [84], "buggy_code_start_loc": [38], "filenames": ["app/controllers/oauth.js"], "fixing_code_end_loc": [90], "fixing_code_start_loc": [38], "message": "A vulnerability, which was classified as critical, has been found in kassi xingwall. This issue affects some unknown processing of the file app/co...
429
Determine whether the {function_name} code is vulnerable or not.
[ "var XINGApi = require('xing-api'),\n mongoose = require('mongoose'),\n Wall = mongoose.model('Wall'),\n Profile = mongoose.model('Profile'),\n xingApi = new XINGApi({\n consumerKey: process.env.XING_CONSUMER_KEY,\n consumerSecret: process.env.XING_CONSUMER...
[ 1, 1, 1, 1, 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": [84], "buggy_code_start_loc": [38], "filenames": ["app/controllers/oauth.js"], "fixing_code_end_loc": [90], "fixing_code_start_loc": [38], "message": "A vulnerability, which was classified as critical, has been found in kassi xingwall. This issue affects some unknown processing of the file app/co...
429
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * Copyright (c) 2016 Varnish Software AS\n * All rights reserved.\n *\n * Author: Poul-Henning Kamp <phk@phk.freebsd.dk>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditi...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [136, 840], "buggy_code_start_loc": [136, 556], "filenames": ["bin/varnishd/http2/cache_http2.h", "bin/varnishd/http2/cache_http2_proto.c"], "fixing_code_end_loc": [139, 866], "fixing_code_start_loc": [137, 557], "message": "Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL aut...
430
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * Copyright (c) 2016 Varnish Software AS\n * All rights reserved.\n *\n * Author: Poul-Henning Kamp <phk@phk.freebsd.dk>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [136, 840], "buggy_code_start_loc": [136, 556], "filenames": ["bin/varnishd/http2/cache_http2.h", "bin/varnishd/http2/cache_http2_proto.c"], "fixing_code_end_loc": [139, 866], "fixing_code_start_loc": [137, 557], "message": "Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL aut...
430
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * Copyright (c) 2016-2019 Varnish Software AS\n * All rights reserved.\n *\n * Author: Poul-Henning Kamp <phk@phk.freebsd.dk>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following co...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [136, 840], "buggy_code_start_loc": [136, 556], "filenames": ["bin/varnishd/http2/cache_http2.h", "bin/varnishd/http2/cache_http2_proto.c"], "fixing_code_end_loc": [139, 866], "fixing_code_start_loc": [137, 557], "message": "Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL aut...
430
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * Copyright (c) 2016-2019 Varnish Software AS\n * All rights reserved.\n *\n * Author: Poul-Henning Kamp <phk@phk.freebsd.dk>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following co...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [136, 840], "buggy_code_start_loc": [136, 556], "filenames": ["bin/varnishd/http2/cache_http2.h", "bin/varnishd/http2/cache_http2_proto.c"], "fixing_code_end_loc": [139, 866], "fixing_code_start_loc": [137, 557], "message": "Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL aut...
430
Determine whether the {function_name} code is vulnerable or not.
[ "# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, so...
[ 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, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [127], "buggy_code_start_loc": [95], "filenames": ["openstack_dashboard/dashboards/admin/aggregates/tables.py"], "fixing_code_end_loc": [131], "fixing_code_start_loc": [96], "message": "A vulnerability has been found in yanheven console and classified as problematic. Affected by this vulnerabilit...
431
Determine whether the {function_name} code is vulnerable or not.
[ "# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, so...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [127], "buggy_code_start_loc": [95], "filenames": ["openstack_dashboard/dashboards/admin/aggregates/tables.py"], "fixing_code_end_loc": [131], "fixing_code_start_loc": [96], "message": "A vulnerability has been found in yanheven console and classified as problematic. Affected by this vulnerabilit...
431
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Artesaos\\SEOTools;", "use Illuminate\\Support\\Arr;\nuse Artesaos\\SEOTools\\Contracts\\OpenGraph as OpenGraphContract;", "/**\n * OpenGraph provides implementation for `OpenGraph` contract.\n *\n * @see \\Artesaos\\SEOTools\\Contracts\\OpenGraph\n */\nclass OpenGraph implements OpenGraph...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [260, 215, 85], "buggy_code_start_loc": [260, 215, 85], "filenames": ["src/SEOTools/OpenGraph.php", "src/SEOTools/SEOMeta.php", "src/SEOTools/TwitterCards.php"], "fixing_code_end_loc": [262, 219, 87], "fixing_code_start_loc": [261, 216, 86], "message": "A vulnerability has been found in Artes\u00...
432
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Artesaos\\SEOTools;", "use Illuminate\\Support\\Arr;\nuse Artesaos\\SEOTools\\Contracts\\OpenGraph as OpenGraphContract;", "/**\n * OpenGraph provides implementation for `OpenGraph` contract.\n *\n * @see \\Artesaos\\SEOTools\\Contracts\\OpenGraph\n */\nclass OpenGraph implements OpenGraph...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [260, 215, 85], "buggy_code_start_loc": [260, 215, 85], "filenames": ["src/SEOTools/OpenGraph.php", "src/SEOTools/SEOMeta.php", "src/SEOTools/TwitterCards.php"], "fixing_code_end_loc": [262, 219, 87], "fixing_code_start_loc": [261, 216, 86], "message": "A vulnerability has been found in Artes\u00...
432
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Artesaos\\SEOTools;", "use Illuminate\\Support\\Arr;\nuse Illuminate\\Config\\Repository as Config;\nuse Artesaos\\SEOTools\\Contracts\\MetaTags as MetaTagsContract;", "/**\n * SEOMeta provides implementation for `MetaTags` contract.\n *\n * @see \\Artesaos\\SEOTools\\Contracts\\MetaTags\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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [260, 215, 85], "buggy_code_start_loc": [260, 215, 85], "filenames": ["src/SEOTools/OpenGraph.php", "src/SEOTools/SEOMeta.php", "src/SEOTools/TwitterCards.php"], "fixing_code_end_loc": [262, 219, 87], "fixing_code_start_loc": [261, 216, 86], "message": "A vulnerability has been found in Artes\u00...
432
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Artesaos\\SEOTools;", "use Illuminate\\Support\\Arr;\nuse Illuminate\\Config\\Repository as Config;\nuse Artesaos\\SEOTools\\Contracts\\MetaTags as MetaTagsContract;", "/**\n * SEOMeta provides implementation for `MetaTags` contract.\n *\n * @see \\Artesaos\\SEOTools\\Contracts\\MetaTags\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": [260, 215, 85], "buggy_code_start_loc": [260, 215, 85], "filenames": ["src/SEOTools/OpenGraph.php", "src/SEOTools/SEOMeta.php", "src/SEOTools/TwitterCards.php"], "fixing_code_end_loc": [262, 219, 87], "fixing_code_start_loc": [261, 216, 86], "message": "A vulnerability has been found in Artes\u00...
432
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Artesaos\\SEOTools;", "use Artesaos\\SEOTools\\Contracts\\TwitterCards as TwitterCardsContract;", "/**\n * TwitterCards provides implementation for `TwitterCards` contract.\n *\n * @see \\Artesaos\\SEOTools\\Contracts\\TwitterCards\n */\nclass TwitterCards implements TwitterCardsContract\n...
[ 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": [260, 215, 85], "buggy_code_start_loc": [260, 215, 85], "filenames": ["src/SEOTools/OpenGraph.php", "src/SEOTools/SEOMeta.php", "src/SEOTools/TwitterCards.php"], "fixing_code_end_loc": [262, 219, 87], "fixing_code_start_loc": [261, 216, 86], "message": "A vulnerability has been found in Artes\u00...
432
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Artesaos\\SEOTools;", "use Artesaos\\SEOTools\\Contracts\\TwitterCards as TwitterCardsContract;", "/**\n * TwitterCards provides implementation for `TwitterCards` contract.\n *\n * @see \\Artesaos\\SEOTools\\Contracts\\TwitterCards\n */\nclass TwitterCards implements TwitterCardsContract\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 ]
PreciseBugs
{"buggy_code_end_loc": [260, 215, 85], "buggy_code_start_loc": [260, 215, 85], "filenames": ["src/SEOTools/OpenGraph.php", "src/SEOTools/SEOMeta.php", "src/SEOTools/TwitterCards.php"], "fixing_code_end_loc": [262, 219, 87], "fixing_code_start_loc": [261, 216, 86], "message": "A vulnerability has been found in Artes\u00...
432
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2021 ThoughtWorks, Inc.\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 required by appli...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [283, 139], "buggy_code_start_loc": [261, 139], "filenames": ["server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java", "server/src/test-fast/java/com/thoughtworks/go/server/controller/ArtifactsControllerTest.java"], "fixing_code_end_loc": [293, 152], "fixing_code_sta...
433
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2021 ThoughtWorks, Inc.\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 required by appli...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [283, 139], "buggy_code_start_loc": [261, 139], "filenames": ["server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java", "server/src/test-fast/java/com/thoughtworks/go/server/controller/ArtifactsControllerTest.java"], "fixing_code_end_loc": [293, 152], "fixing_code_sta...
433
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2021 ThoughtWorks, Inc.\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 required by appli...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [283, 139], "buggy_code_start_loc": [261, 139], "filenames": ["server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java", "server/src/test-fast/java/com/thoughtworks/go/server/controller/ArtifactsControllerTest.java"], "fixing_code_end_loc": [293, 152], "fixing_code_sta...
433
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2021 ThoughtWorks, Inc.\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 required by appli...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [283, 139], "buggy_code_start_loc": [261, 139], "filenames": ["server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java", "server/src/test-fast/java/com/thoughtworks/go/server/controller/ArtifactsControllerTest.java"], "fixing_code_end_loc": [293, 152], "fixing_code_sta...
433
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/fs/nfs/write.c\n *\n * Write file data over NFS.\n *\n * Copyright (C) 1996, 1997, Olaf Kirch <okir@monad.swb.de>\n */", "#include <linux/types.h>\n#include <linux/slab.h>\n#include <linux/mm.h>\n#include <linux/pagemap.h>\n#include <linux/file.h>\n#include <linux/writeback.h>\n#include <linux/swap....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [938], "buggy_code_start_loc": [925], "filenames": ["fs/nfs/write.c"], "fixing_code_end_loc": [939], "fixing_code_start_loc": [925], "message": "The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a...
434
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/fs/nfs/write.c\n *\n * Write file data over NFS.\n *\n * Copyright (C) 1996, 1997, Olaf Kirch <okir@monad.swb.de>\n */", "#include <linux/types.h>\n#include <linux/slab.h>\n#include <linux/mm.h>\n#include <linux/pagemap.h>\n#include <linux/file.h>\n#include <linux/writeback.h>\n#include <linux/swap....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [938], "buggy_code_start_loc": [925], "filenames": ["fs/nfs/write.c"], "fixing_code_end_loc": [939], "fixing_code_start_loc": [925], "message": "The nfs_can_extend_write function in fs/nfs/write.c in the Linux kernel before 3.13.3 relies on a write delegation to extend a write operation without a...
434
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the OpenSSL license (the \"License\"). You may not use\n * this file except in compliance with the License. You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https://www.openssl.or...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [46], "buggy_code_start_loc": [43], "filenames": ["crypto/ts/ts_lib.c"], "fixing_code_end_loc": [45], "fixing_code_start_loc": [43], "message": "The TS_OBJ_print_bio function in crypto/ts/ts_lib.c in the X.509 Public Key Infrastructure Time-Stamp Protocol (TSP) implementation in OpenSSL through 1...
435
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the OpenSSL license (the \"License\"). You may not use\n * this file except in compliance with the License. You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https://www.openssl.or...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [46], "buggy_code_start_loc": [43], "filenames": ["crypto/ts/ts_lib.c"], "fixing_code_end_loc": [45], "fixing_code_start_loc": [43], "message": "The TS_OBJ_print_bio function in crypto/ts/ts_lib.c in the X.509 Public Key Infrastructure Time-Stamp Protocol (TSP) implementation in OpenSSL through 1...
435