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.
[ "// +build !windows", "package idtools // import \"github.com/docker/docker/pkg/idtools\"", "import (\n\t\"bytes\"\n\t\"fmt\"\n\t\"io\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"sync\"\n\t\"syscall\"", "\t\"github.com/docker/docker/pkg/system\"\n\t\"github.com/opencontainers/runc/libcontainer/user\"\...
[ 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, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [471, 203, 1398, 1241, 144, 564, 219, 315, 347, 145, 112, 236, 223, 158], "buggy_code_start_loc": [469, 197, 798, 1199, 132, 73, 91, 159, 168, 41, 107, 38, 43, 53], "filenames": ["daemon/container_operations_unix.go", "daemon/create.go", "daemon/daemon.go", "daemon/daemon_unix.go", "daemon/graphd...
1,179
Determine whether the {function_name} code is vulnerable or not.
[ "// +build !windows", "package idtools // import \"github.com/docker/docker/pkg/idtools\"", "import (\n\t\"bytes\"\n\t\"fmt\"\n\t\"io\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"sync\"\n\t\"syscall\"", "\t\"github.com/docker/docker/pkg/system\"\n\t\"github.com/opencontainers/runc/libcontainer/user\"\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [471, 203, 1398, 1241, 144, 564, 219, 315, 347, 145, 112, 236, 223, 158], "buggy_code_start_loc": [469, 197, 798, 1199, 132, 73, 91, 159, 168, 41, 107, 38, 43, 53], "filenames": ["daemon/container_operations_unix.go", "daemon/create.go", "daemon/daemon.go", "daemon/daemon_unix.go", "daemon/graphd...
1,179
Determine whether the {function_name} code is vulnerable or not.
[ "// Package local provides the default implementation for volumes. It\n// is used to mount data volume containers and directories local to\n// the host server.\npackage local // import \"github.com/docker/docker/volume/local\"", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path/filepa...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [471, 203, 1398, 1241, 144, 564, 219, 315, 347, 145, 112, 236, 223, 158], "buggy_code_start_loc": [469, 197, 798, 1199, 132, 73, 91, 159, 168, 41, 107, 38, 43, 53], "filenames": ["daemon/container_operations_unix.go", "daemon/create.go", "daemon/daemon.go", "daemon/daemon_unix.go", "daemon/graphd...
1,179
Determine whether the {function_name} code is vulnerable or not.
[ "// Package local provides the default implementation for volumes. It\n// is used to mount data volume containers and directories local to\n// the host server.\npackage local // import \"github.com/docker/docker/volume/local\"", "import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path/filepa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [471, 203, 1398, 1241, 144, 564, 219, 315, 347, 145, 112, 236, 223, 158], "buggy_code_start_loc": [469, 197, 798, 1199, 132, 73, 91, 159, 168, 41, 107, 38, 43, 53], "filenames": ["daemon/container_operations_unix.go", "daemon/create.go", "daemon/daemon.go", "daemon/daemon_unix.go", "daemon/graphd...
1,179
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - hdlr Atoms \n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This file is part of Bento4/AP4 (MP4 Atom Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version of Ben...
[ 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [85], "buggy_code_start_loc": [83], "filenames": ["Source/C++/Core/Ap4HdlrAtom.cpp"], "fixing_code_end_loc": [87], "fixing_code_start_loc": [83], "message": "A NULL pointer dereference was discovered in the AP4_HdlrAtom class in Bento4 version 1.5.0-617. The vulnerability causes a segmentation fa...
1,180
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - hdlr Atoms \n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This file is part of Bento4/AP4 (MP4 Atom Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version of Ben...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [85], "buggy_code_start_loc": [83], "filenames": ["Source/C++/Core/Ap4HdlrAtom.cpp"], "fixing_code_end_loc": [87], "fixing_code_start_loc": [83], "message": "A NULL pointer dereference was discovered in the AP4_HdlrAtom class in Bento4 version 1.5.0-617. The vulnerability causes a segmentation fa...
1,180
Determine whether the {function_name} code is vulnerable or not.
[ "<?xml version=\"1.1\" encoding=\"UTF-8\"?>", "<!--\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1655], "buggy_code_start_loc": [1654], "filenames": ["xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-ui/src/main/resources/XWiki/AttachmentSelector.xml"], "fixing_code_end_loc": [1655], "fixing_code_start_loc": [1654], "message": "XWiki Platform is a generic wiki platfor...
1,181
Determine whether the {function_name} code is vulnerable or not.
[ "<?xml version=\"1.1\" encoding=\"UTF-8\"?>", "<!--\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1655], "buggy_code_start_loc": [1654], "filenames": ["xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-ui/src/main/resources/XWiki/AttachmentSelector.xml"], "fixing_code_end_loc": [1655], "fixing_code_start_loc": [1654], "message": "XWiki Platform is a generic wiki platfor...
1,181
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require_dependency \"mobile_detection\"\nrequire_dependency \"crawler_detection\"\nrequire_dependency \"guardian\"\nrequire_dependency \"http_language_parser\"", "module Middleware\n class AnonymousCache", " def self.cache_key_segments\n @@cache_key_segments ||= {\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, 0, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [318, 39, 250], "buggy_code_start_loc": [317, 38, 246], "filenames": ["lib/middleware/anonymous_cache.rb", "lib/middleware/discourse_public_exceptions.rb", "spec/components/middleware/anonymous_cache_spec.rb"], "fixing_code_end_loc": [318, 39, 252], "fixing_code_start_loc": [317, 38, 246], "messa...
1,182
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require_dependency \"mobile_detection\"\nrequire_dependency \"crawler_detection\"\nrequire_dependency \"guardian\"\nrequire_dependency \"http_language_parser\"", "module Middleware\n class AnonymousCache", " def self.cache_key_segments\n @@cache_key_segments ||= {\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": [318, 39, 250], "buggy_code_start_loc": [317, 38, 246], "filenames": ["lib/middleware/anonymous_cache.rb", "lib/middleware/discourse_public_exceptions.rb", "spec/components/middleware/anonymous_cache_spec.rb"], "fixing_code_end_loc": [318, 39, 252], "fixing_code_start_loc": [317, 38, 246], "messa...
1,182
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "# since all the rescue from clauses are not caught by the application controller for matches\n# we need to handle certain exceptions here\nmodule Middleware\n class DiscoursePublicExceptions < ::ActionDispatch::PublicExceptions", " def initialize(path)\n super\n end...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [318, 39, 250], "buggy_code_start_loc": [317, 38, 246], "filenames": ["lib/middleware/anonymous_cache.rb", "lib/middleware/discourse_public_exceptions.rb", "spec/components/middleware/anonymous_cache_spec.rb"], "fixing_code_end_loc": [318, 39, 252], "fixing_code_start_loc": [317, 38, 246], "messa...
1,182
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "# since all the rescue from clauses are not caught by the application controller for matches\n# we need to handle certain exceptions here\nmodule Middleware\n class DiscoursePublicExceptions < ::ActionDispatch::PublicExceptions", " def initialize(path)\n super\n end...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [318, 39, 250], "buggy_code_start_loc": [317, 38, 246], "filenames": ["lib/middleware/anonymous_cache.rb", "lib/middleware/discourse_public_exceptions.rb", "spec/components/middleware/anonymous_cache_spec.rb"], "fixing_code_end_loc": [318, 39, 252], "fixing_code_start_loc": [317, 38, 246], "messa...
1,182
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require \"rails_helper\"", "describe Middleware::AnonymousCache do\n let(:middleware) { Middleware::AnonymousCache.new(lambda { |_| [200, {}, []] }) }", " def env(opts = {})\n Rack::MockRequest.env_for(\"http://test.com/path?bla=1\").merge(opts)\n end", " describe Mi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [318, 39, 250], "buggy_code_start_loc": [317, 38, 246], "filenames": ["lib/middleware/anonymous_cache.rb", "lib/middleware/discourse_public_exceptions.rb", "spec/components/middleware/anonymous_cache_spec.rb"], "fixing_code_end_loc": [318, 39, 252], "fixing_code_start_loc": [317, 38, 246], "messa...
1,182
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require \"rails_helper\"", "describe Middleware::AnonymousCache do\n let(:middleware) { Middleware::AnonymousCache.new(lambda { |_| [200, {}, []] }) }", " def env(opts = {})\n Rack::MockRequest.env_for(\"http://test.com/path?bla=1\").merge(opts)\n end", " describe Mi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [318, 39, 250], "buggy_code_start_loc": [317, 38, 246], "filenames": ["lib/middleware/anonymous_cache.rb", "lib/middleware/discourse_public_exceptions.rb", "spec/components/middleware/anonymous_cache_spec.rb"], "fixing_code_end_loc": [318, 39, 252], "fixing_code_start_loc": [317, 38, 246], "messa...
1,182
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/*\n * This file is part of the Ariadne Component Library.\n *\n * (c) Muze <info@muze.nl>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */", "namespace arc\\url;", "/**", " *\tUrl parses a URL string and retu...
[ 1, 1, 1, 1, 0, 1, 0, 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, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 111], "buggy_code_start_loc": [15, 111], "filenames": ["src/url/Url.php", "tests/url.Test.php"], "fixing_code_end_loc": [49, 167], "fixing_code_start_loc": [15, 112], "message": "A vulnerability was found in Ariadne Component Library up to 2.x. It has been classified as critical. Affected is...
1,183
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/*\n * This file is part of the Ariadne Component Library.\n *\n * (c) Muze <info@muze.nl>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */", "namespace arc\\url;", "/**", " * Url parses a URL string and retur...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 111], "buggy_code_start_loc": [15, 111], "filenames": ["src/url/Url.php", "tests/url.Test.php"], "fixing_code_end_loc": [49, 167], "fixing_code_start_loc": [15, 112], "message": "A vulnerability was found in Ariadne Component Library up to 2.x. It has been classified as critical. Affected is...
1,183
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", " /*\n * This file is part of the Ariadne Component Library.\n *\n * (c) Muze <info@muze.nl>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.", " */", "\n class TestUrl extends PHPUni...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 111], "buggy_code_start_loc": [15, 111], "filenames": ["src/url/Url.php", "tests/url.Test.php"], "fixing_code_end_loc": [49, 167], "fixing_code_start_loc": [15, 112], "message": "A vulnerability was found in Ariadne Component Library up to 2.x. It has been classified as critical. Affected is...
1,183
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", " /*\n * This file is part of the Ariadne Component Library.\n *\n * (c) Muze <info@muze.nl>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.", " */", "\n class TestUrl extends PHPUni...
[ 1, 1, 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, 111], "buggy_code_start_loc": [15, 111], "filenames": ["src/url/Url.php", "tests/url.Test.php"], "fixing_code_end_loc": [49, 167], "fixing_code_start_loc": [15, 112], "message": "A vulnerability was found in Ariadne Component Library up to 2.x. It has been classified as critical. Affected is...
1,183
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * 2011 Peter 'Pita' Martischka\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 applicab...
[ 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [150, 47], "buggy_code_start_loc": [132, 46], "filenames": ["mysql_db.js", "package.json"], "fixing_code_end_loc": [150, 47], "fixing_code_start_loc": [132, 46], "message": "In Etherpad UeberDB < 0.4.4, due to MySQL omitting trailing spaces on char / varchar columns during comparisons, retrieving...
1,184
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * 2011 Peter 'Pita' Martischka\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 applicab...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [150, 47], "buggy_code_start_loc": [132, 46], "filenames": ["mysql_db.js", "package.json"], "fixing_code_end_loc": [150, 47], "fixing_code_start_loc": [132, 46], "message": "In Etherpad UeberDB < 0.4.4, due to MySQL omitting trailing spaces on char / varchar columns during comparisons, retrieving...
1,184
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"ueberdb2\",\n \"description\": \"transform every database into a object key value store\",\n \"url\": \"https://github.com/ether/ueberDB\",\n \"keywords\": [\n \"database\",\n \"keyvalue\"\n ],\n \"author\": {\n \"name\": \"Etherpad Foundation\"\n },\n \"contributors\": [\n {\n ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [150, 47], "buggy_code_start_loc": [132, 46], "filenames": ["mysql_db.js", "package.json"], "fixing_code_end_loc": [150, 47], "fixing_code_start_loc": [132, 46], "message": "In Etherpad UeberDB < 0.4.4, due to MySQL omitting trailing spaces on char / varchar columns during comparisons, retrieving...
1,184
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"ueberdb2\",\n \"description\": \"transform every database into a object key value store\",\n \"url\": \"https://github.com/ether/ueberDB\",\n \"keywords\": [\n \"database\",\n \"keyvalue\"\n ],\n \"author\": {\n \"name\": \"Etherpad Foundation\"\n },\n \"contributors\": [\n {\n ...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [150, 47], "buggy_code_start_loc": [132, 46], "filenames": ["mysql_db.js", "package.json"], "fixing_code_end_loc": [150, 47], "fixing_code_start_loc": [132, 46], "message": "In Etherpad UeberDB < 0.4.4, due to MySQL omitting trailing spaces on char / varchar columns during comparisons, retrieving...
1,184
Determine whether the {function_name} code is vulnerable or not.
[ "require 'securerandom'\nrequire 'bindata'\nrequire 'aes_key_wrap'", "module JSON\n class JWE\n class InvalidFormat < JWT::InvalidFormat; end\n class DecryptionFailed < JWT::VerificationFailed; end\n class UnexpectedAlgorithm < JWT::UnexpectedAlgorithm; end", " NUM_OF_SEGMENTS = 5", " include ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [258, 195], "buggy_code_start_loc": [257, 182], "filenames": ["lib/json/jwe.rb", "lib/json/jws.rb"], "fixing_code_end_loc": [258, 195], "fixing_code_start_loc": [257, 182], "message": "The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.", "other": ...
1,185
Determine whether the {function_name} code is vulnerable or not.
[ "require 'securerandom'\nrequire 'bindata'\nrequire 'aes_key_wrap'", "module JSON\n class JWE\n class InvalidFormat < JWT::InvalidFormat; end\n class DecryptionFailed < JWT::VerificationFailed; end\n class UnexpectedAlgorithm < JWT::UnexpectedAlgorithm; end", " NUM_OF_SEGMENTS = 5", " include ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [258, 195], "buggy_code_start_loc": [257, 182], "filenames": ["lib/json/jwe.rb", "lib/json/jws.rb"], "fixing_code_end_loc": [258, 195], "fixing_code_start_loc": [257, 182], "message": "The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.", "other": ...
1,185
Determine whether the {function_name} code is vulnerable or not.
[ "module JSON\n class JWS < JWT\n class InvalidFormat < JWT::InvalidFormat; end\n class VerificationFailed < JWT::VerificationFailed; end\n class UnexpectedAlgorithm < JWT::UnexpectedAlgorithm; end", " NUM_OF_SEGMENTS = 3", " attr_writer :signature_base_string", " def initialize(jwt)\n ...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [258, 195], "buggy_code_start_loc": [257, 182], "filenames": ["lib/json/jwe.rb", "lib/json/jws.rb"], "fixing_code_end_loc": [258, 195], "fixing_code_start_loc": [257, 182], "message": "The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.", "other": ...
1,185
Determine whether the {function_name} code is vulnerable or not.
[ "module JSON\n class JWS < JWT\n class InvalidFormat < JWT::InvalidFormat; end\n class VerificationFailed < JWT::VerificationFailed; end\n class UnexpectedAlgorithm < JWT::UnexpectedAlgorithm; end", " NUM_OF_SEGMENTS = 3", " attr_writer :signature_base_string", " def initialize(jwt)\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 ]
PreciseBugs
{"buggy_code_end_loc": [258, 195], "buggy_code_start_loc": [257, 182], "filenames": ["lib/json/jwe.rb", "lib/json/jws.rb"], "fixing_code_end_loc": [258, 195], "fixing_code_start_loc": [257, 182], "message": "The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.", "other": ...
1,185
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, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [291], "buggy_code_start_loc": [287], "filenames": ["tensorflow/core/kernels/quantized_mul_op.cc"], "fixing_code_end_loc": [303], "fixing_code_start_loc": [287], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a heap buffer overflow in `Qua...
1,186
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 ]
PreciseBugs
{"buggy_code_end_loc": [291], "buggy_code_start_loc": [287], "filenames": ["tensorflow/core/kernels/quantized_mul_op.cc"], "fixing_code_end_loc": [303], "fixing_code_start_loc": [287], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a heap buffer overflow in `Qua...
1,186
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * This code is used on x86_64 to create page table identity mappings on\n * demand by building up a new set of page tables (or appending to the\n * existing ones), and then switching over to them when ready.\n *\n * Copyright (C) 2015-2016 Yinghai Lu\n * Copyright (C) ...
[ 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, 1, 1, 1, 1, 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * This code is used on x86_64 to create page table identity mappings on\n * demand by building up a new set of page tables (or appending to the\n * existing ones), and then switching over to them when ready.\n *\n * Copyright (C) 2015-2016 Yinghai Lu\n * Copyright (C) ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n#ifndef _ASM_X86_SETUP_H\n#define _ASM_X86_SETUP_H", "#include <uapi/asm/setup.h>", "#define COMMAND_LINE_SIZE 2048", "#include <linux/linkage.h>\n#include <asm/page_types.h>\n#include <asm/ibt.h>", "#ifdef __i386__", "#include <linux/pfn.h>\n/*\n * Reserved space ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n#ifndef _ASM_X86_SETUP_H\n#define _ASM_X86_SETUP_H", "#include <uapi/asm/setup.h>", "#define COMMAND_LINE_SIZE 2048", "#include <linux/linkage.h>\n#include <asm/page_types.h>\n#include <asm/ibt.h>", "#ifdef __i386__", "#include <linux/pfn.h>\n/*\n * Reserved space ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */\n#ifndef _ASM_X86_BOOTPARAM_H\n#define _ASM_X86_BOOTPARAM_H", "/* setup_data/setup_indirect types */\n#define SETUP_NONE\t\t\t0\n#define SETUP_E820_EXT\t\t\t1\n#define SETUP_DTB\t\t\t2\n#define SETUP_PCI\t\t\t3\n#define SETUP_EFI\t\t\t4\n#define SETU...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */\n#ifndef _ASM_X86_BOOTPARAM_H\n#define _ASM_X86_BOOTPARAM_H", "/* setup_data/setup_indirect types */\n#define SETUP_NONE\t\t\t0\n#define SETUP_E820_EXT\t\t\t1\n#define SETUP_DTB\t\t\t2\n#define SETUP_PCI\t\t\t3\n#define SETUP_EFI\t\t\t4\n#define SETU...
[ 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * prepare to run common code\n *\n * Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE\n */", "#define DISABLE_BRANCH_PROFILING", "/* cpu_feature_enabled() cannot be used this early */\n#define USE_EARLY_PGTABLE_L5", "#include <linux/init.h>\n#include <linu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * prepare to run common code\n *\n * Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE\n */", "#define DISABLE_BRANCH_PROFILING", "/* cpu_feature_enabled() cannot be used this early */\n#define USE_EARLY_PGTABLE_L5", "#include <linux/init.h>\n#include <linu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * ld script for the x86 kernel\n *\n * Historic 32-bit version written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>\n *\n * Modernisation, unification and other changes and fixes:\n * Copyright (C) 2007-2009 Sam Ravnborg <sam@ravnborg.org>\n *\n *\n * Don't define 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, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * ld script for the x86 kernel\n *\n * Historic 32-bit version written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>\n *\n * Modernisation, unification and other changes and fixes:\n * Copyright (C) 2007-2009 Sam Ravnborg <sam@ravnborg.org>\n *\n *\n * Don't define 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Core of Xen paravirt_ops implementation.\n *\n * This file contains the xen_paravirt_ops structure itself, and the\n * implementations for:\n * - privileged instructions\n * - interrupt flags\n * - segment operations\n * - booting and setup\n *\n * Jeremy Fitzhardinge <j...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * Core of Xen paravirt_ops implementation.\n *\n * This file contains the xen_paravirt_ops structure itself, and the\n * implementations for:\n * - privileged instructions\n * - interrupt flags\n * - segment operations\n * - booting and setup\n *\n * Jeremy Fitzhardinge <j...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n/* Xen-specific pieces of head.S, intended to be included in the right\n\tplace in head.S */", "#ifdef CONFIG_XEN", "#include <linux/elfnote.h>\n#include <linux/init.h>", "#include <asm/boot.h>\n#include <asm/asm.h>\n#include <asm/msr.h>\n#include <asm/page_types.h>\n#...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n/* Xen-specific pieces of head.S, intended to be included in the right\n\tplace in head.S */", "#ifdef CONFIG_XEN", "#include <linux/elfnote.h>\n#include <linux/init.h>", "#include <asm/boot.h>\n#include <asm/asm.h>\n#include <asm/msr.h>\n#include <asm/page_types.h>\n#...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * Copyright (C) 2015-2017 Josh Poimboeuf <jpoimboe@redhat.com>\n */", "#include <string.h>\n#include <stdlib.h>\n#include <inttypes.h>\n#include <sys/mman.h>", "#include <arch/elf.h>\n#include <objtool/builtin.h>\n#include <objtool/cfi.h>\n#include <objtool/ar...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * Copyright (C) 2015-2017 Josh Poimboeuf <jpoimboe@redhat.com>\n */", "#include <string.h>\n#include <stdlib.h>\n#include <inttypes.h>\n#include <sys/mman.h>", "#include <arch/elf.h>\n#include <objtool/builtin.h>\n#include <objtool/cfi.h>\n#include <objtool/ar...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 122, 19, 432, 389, 1193, 73, 3831], "buggy_code_start_loc": [112, 122, 18, 429, 388, 1186, 51, 3829], "filenames": ["arch/x86/boot/compressed/ident_map_64.c", "arch/x86/include/asm/setup.h", "arch/x86/include/uapi/asm/bootparam.h", "arch/x86/kernel/head64.c", "arch/x86/kernel/vmlinux.lds.S"...
1,187
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 OpenStack LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [438], "buggy_code_start_loc": [438], "filenames": ["keystone/identity/core.py"], "fixing_code_end_loc": [440], "fixing_code_start_loc": [439], "message": "OpenStack Keystone, as used in OpenStack Folsom before folsom-rc1 and OpenStack Essex (2012.1), allows remote attackers to add an arbitrary u...
1,188
Determine whether the {function_name} code is vulnerable or not.
[ "# vim: tabstop=4 shiftwidth=4 softtabstop=4", "# Copyright 2012 OpenStack LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [438], "buggy_code_start_loc": [438], "filenames": ["keystone/identity/core.py"], "fixing_code_end_loc": [440], "fixing_code_start_loc": [439], "message": "OpenStack Keystone, as used in OpenStack Folsom before folsom-rc1 and OpenStack Essex (2012.1), allows remote attackers to add an arbitrary u...
1,188
Determine whether the {function_name} code is vulnerable or not.
[ "", "import Foundation\nimport LocalAuthentication", "enum PluginError:Int {\n case BIOMETRIC_UNKNOWN_ERROR = -100\n case BIOMETRIC_UNAVAILABLE = -101\n case BIOMETRIC_AUTHENTICATION_FAILED = -102\n case BIOMETRIC_PERMISSION_NOT_GRANTED = -105\n case BIOMETRIC_NOT_ENROLLED = -106\n case BIOMET...
[ 0, 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, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [190], "buggy_code_start_loc": [0], "filenames": ["src/ios/Fingerprint.swift"], "fixing_code_end_loc": [193], "fixing_code_start_loc": [1], "message": "cordova-plugin-fingerprint-aio is a plugin provides a single and simple interface for accessing fingerprint APIs on both Android 6+ and iOS. In v...
1,189
Determine whether the {function_name} code is vulnerable or not.
[ "import Cordova", "import Foundation\nimport LocalAuthentication", "enum PluginError:Int {\n case BIOMETRIC_UNKNOWN_ERROR = -100\n case BIOMETRIC_UNAVAILABLE = -101\n case BIOMETRIC_AUTHENTICATION_FAILED = -102\n case BIOMETRIC_PERMISSION_NOT_GRANTED = -105\n case BIOMETRIC_NOT_ENROLLED = -106\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 ]
PreciseBugs
{"buggy_code_end_loc": [190], "buggy_code_start_loc": [0], "filenames": ["src/ios/Fingerprint.swift"], "fixing_code_end_loc": [193], "fixing_code_start_loc": [1], "message": "cordova-plugin-fingerprint-aio is a plugin provides a single and simple interface for accessing fingerprint APIs on both Android 6+ and iOS. In v...
1,189
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const path = require('path');\nconst { promisify } = require('util');\nconst tmpDir = promisify(require('tmp').dir);\nconst fs = require('fs-extra');\nconst uuidv1 = require('uuid/v1');\nconst debug = require('debug')('git-diff-apply');\nconst utils = require('./utils');\nconst getRootDir = requ...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [226], "buggy_code_start_loc": [20], "filenames": ["src/index.js"], "fixing_code_end_loc": [227], "fixing_code_start_loc": [21], "message": "In \"index.js\" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all ve...
1,190
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const path = require('path');\nconst { promisify } = require('util');\nconst tmpDir = promisify(require('tmp').dir);\nconst fs = require('fs-extra');\nconst uuidv1 = require('uuid/v1');\nconst debug = require('debug')('git-diff-apply');\nconst utils = require('./utils');\nconst getRootDir = requ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [226], "buggy_code_start_loc": [20], "filenames": ["src/index.js"], "fixing_code_end_loc": [227], "fixing_code_start_loc": [21], "message": "In \"index.js\" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all ve...
1,190
Determine whether the {function_name} code is vulnerable or not.
[ "package za.org.grassroot.integration.authentication;", "import org.springframework.http.HttpHeaders;\nimport za.org.grassroot.integration.PublicCredentials;", "import java.util.List;", "/**\n * Created by luke on 2017/05/22.\n */\npublic interface JwtService {", " String USER_UID_KEY = \"USER_UID\";\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 200, 335], "buggy_code_start_loc": [24, 173, 321], "filenames": ["grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtService.java", "grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtServiceImpl.java", "grassroot-webapp/src/mai...
1,191
Determine whether the {function_name} code is vulnerable or not.
[ "package za.org.grassroot.integration.authentication;", "import org.springframework.http.HttpHeaders;\nimport za.org.grassroot.integration.PublicCredentials;", "import java.util.List;", "/**\n * Created by luke on 2017/05/22.\n */\npublic interface JwtService {", " String USER_UID_KEY = \"USER_UID\";\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 200, 335], "buggy_code_start_loc": [24, 173, 321], "filenames": ["grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtService.java", "grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtServiceImpl.java", "grassroot-webapp/src/mai...
1,191
Determine whether the {function_name} code is vulnerable or not.
[ "package za.org.grassroot.integration.authentication;", "import io.jsonwebtoken.*;\nimport io.jsonwebtoken.impl.TextCodec;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.beans.factory.annotation.Value;\nimport ...
[ 1, 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, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 200, 335], "buggy_code_start_loc": [24, 173, 321], "filenames": ["grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtService.java", "grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtServiceImpl.java", "grassroot-webapp/src/mai...
1,191
Determine whether the {function_name} code is vulnerable or not.
[ "package za.org.grassroot.integration.authentication;", "import io.jsonwebtoken.*;\nimport io.jsonwebtoken.impl.TextCodec;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.beans.factory.annotation.Value;\nimport ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 200, 335], "buggy_code_start_loc": [24, 173, 321], "filenames": ["grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtService.java", "grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtServiceImpl.java", "grassroot-webapp/src/mai...
1,191
Determine whether the {function_name} code is vulnerable or not.
[ "package za.org.grassroot.webapp.controller.rest.authentication;", "import io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiOperation;\nimport lombok.extern.slf4j.Slf4j;\nimport org.apache.commons.validator.routines.EmailValidator;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport or...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 200, 335], "buggy_code_start_loc": [24, 173, 321], "filenames": ["grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtService.java", "grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtServiceImpl.java", "grassroot-webapp/src/mai...
1,191
Determine whether the {function_name} code is vulnerable or not.
[ "package za.org.grassroot.webapp.controller.rest.authentication;", "import io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiOperation;\nimport lombok.extern.slf4j.Slf4j;\nimport org.apache.commons.validator.routines.EmailValidator;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport or...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 200, 335], "buggy_code_start_loc": [24, 173, 321], "filenames": ["grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtService.java", "grassroot-integration/src/main/java/za/org/grassroot/integration/authentication/JwtServiceImpl.java", "grassroot-webapp/src/mai...
1,191
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, 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 ]
PreciseBugs
{"buggy_code_end_loc": [133], "buggy_code_start_loc": [133], "filenames": ["tensorflow/core/common_runtime/immutable_executor_state.cc"], "fixing_code_end_loc": [135], "fixing_code_start_loc": [134], "message": "Tensorflow is an Open Source Machine Learning Framework. If a graph node is invalid, TensorFlow can leak mem...
1,192
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 ]
PreciseBugs
{"buggy_code_end_loc": [133], "buggy_code_start_loc": [133], "filenames": ["tensorflow/core/common_runtime/immutable_executor_state.cc"], "fixing_code_end_loc": [135], "fixing_code_start_loc": [134], "message": "Tensorflow is an Open Source Machine Learning Framework. If a graph node is invalid, TensorFlow can leak mem...
1,192
Determine whether the {function_name} code is vulnerable or not.
[ "## v4.0.0\n- `Callback` class addeed.", "- When possible, `reference.get()` will return a function proxy instead of a `Reference`.", "- `reference.get()` will no longer return inherited properties by default.\n- `result` property on `eval` and `evalClosure` has been removed. The result is now just the return\n...
[ 1, 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "## v4.0.0\n- `Callback` class addeed.", "- When possible, `reference.get()` will return a function delegate instead of a `Reference`.", "- `reference.get()` will no longer return inherited properties by default.\n- `result` property on `eval` and `evalClosure` has been removed. The result is now just the retur...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "[![npm version](https://badgen.now.sh/npm/v/isolated-vm)](https://www.npmjs.com/package/isolated-vm)\n[![isc license](https://badgen.now.sh/npm/license/isolated-vm)](https://github.com/laverdet/isolated-vm/blob/main/LICENSE)\n[![travis build](https://badgen.now.sh/travis/laverdet/isolated-vm/main)](https://travis-...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "[![npm version](https://badgen.now.sh/npm/v/isolated-vm)](https://www.npmjs.com/package/isolated-vm)\n[![isc license](https://badgen.now.sh/npm/license/isolated-vm)](https://github.com/laverdet/isolated-vm/blob/main/LICENSE)\n[![travis build](https://badgen.now.sh/travis/laverdet/isolated-vm/main)](https://travis-...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "declare module \"isolated-vm\" {\n\texport type Transferable =\n\t\t| null\n\t\t| undefined\n\t\t| string\n\t\t| number\n\t\t| boolean\n\t\t| Isolate\n\t\t| Context\n\t\t| Script\n\t\t| ExternalCopy<any>", "", "\t\t| Copy<any>\n\t\t| Reference<any>\n\t\t| Dereference<any>\n\t\t| Module", "", "\t\t| typeof ...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0...
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "declare module \"isolated-vm\" {\n\texport type Transferable =\n\t\t| null\n\t\t| undefined\n\t\t| string\n\t\t| number\n\t\t| boolean\n\t\t| Isolate\n\t\t| Context\n\t\t| Script\n\t\t| ExternalCopy<any>", "\t\t| Callback<any>", "\t\t| Copy<any>\n\t\t| Reference<any>\n\t\t| Dereference<any>\n\t\t| Module", "...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "#pragma once\n#include \"isolate/generic/error.h\"\n#include \"isolate/generic/handle_cast.h\"\n#include <v8.h>", "namespace ivm {", "class StringTable {\n\tpublic:\n\t\tclass String {\n\t\t\tpublic:\n\t\t\t\tString(const char* value) : value{value} {} // NOLINT(hicpp-explicit-conversions)\n\t\t\t\tString(cons...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "#pragma once\n#include \"isolate/generic/error.h\"\n#include \"isolate/generic/handle_cast.h\"\n#include <v8.h>", "namespace ivm {", "class StringTable {\n\tpublic:\n\t\tclass String {\n\t\t\tpublic:\n\t\t\t\tString(const char* value) : value{value} {} // NOLINT(hicpp-explicit-conversions)\n\t\t\t\tString(cons...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"reference_handle.h\"\n#include \"external_copy/external_copy.h\"\n#include \"isolate/run_with_timeout.h\"\n#include \"isolate/three_phase_task.h\"\n#include \"transferable.h\"\n#include <array>", "using namespace v8;\nusing std::shared_ptr;\nusing std::unique_ptr;", "namespace ivm {\nnamespace {", ...
[ 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, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"reference_handle.h\"\n#include \"external_copy/external_copy.h\"\n#include \"isolate/run_with_timeout.h\"\n#include \"isolate/three_phase_task.h\"\n#include \"transferable.h\"\n#include <array>", "using namespace v8;\nusing std::shared_ptr;\nusing std::unique_ptr;", "namespace ivm {\nnamespace {", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "#pragma once\n#include \"isolate/remote_handle.h\"\n#include \"transferable.h\"\n#include <v8.h>\n#include <memory>\n#include <utility>\n#include <vector>", "namespace ivm {\nnamespace detail {", "/**\n * Holds common data for ReferenceHandle and ReferenceHandleTransferable\n */\nclass ReferenceData {", "", ...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "#pragma once\n#include \"isolate/remote_handle.h\"\n#include \"transferable.h\"\n#include <v8.h>\n#include <memory>\n#include <utility>\n#include <vector>", "namespace ivm {\nnamespace detail {", "/**\n * Holds common data for ReferenceHandle and ReferenceHandleTransferable\n */\nclass ReferenceData {", "\tf...
[ 1, 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": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "", "const ivm = require('isolated-vm');", "const { strictEqual } = require('assert');", "", "const foo = { foo: 1 };\nconst bar = Object.create(foo);\nbar.bar = 2;\nconst etc = Object.create(bar);\netc.etc = bar;", "{", "\tconst ref = new ivm.Reference(etc);\n\tstrictEqual(ref.getSync('bar'), undefined...
[ 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const ivm = require('isolated-vm');", "const { strictEqual, throws } = require('assert');\nlet trap = false;", "", "", "{", "\t// Set up inheritance\n\tconst foo = { foo: 1 };\n\tconst bar = Object.create(foo);\n\tbar.bar = 2;\n\tconst etc = Object.create(bar);\n\tetc.etc = bar;", "\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [8, 415, 729, 84, 570, 47, 21], "buggy_code_start_loc": [3, 347, 11, 61, 130, 15, 0], "filenames": ["CHANGELOG.md", "README.md", "isolated-vm.d.ts", "src/isolate/strings.h", "src/module/reference_handle.cc", "src/module/reference_handle.h", "tests/reference.js"], "fixing_code_end_loc": [10, 411, ...
1,193
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n\t\n<f:if condition=\"{type.addressEnableName}\">\n\t<tr>\n\t\t<td scope=\"row\">\n\t\t\t<f:translate key=\"property.appointment.address.name\" />\n\t\t</td>", "\t\t<td><f:format.html>{address.name}</f:form...
[ 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n\t\n<f:if condition=\"{type.addressEnableName}\">\n\t<tr>\n\t\t<td scope=\"row\">\n\t\t\t<f:translate key=\"property.appointment.address.name\" />\n\t\t</td>", "\t\t<td><f:format.htmlspecialchars>{address.n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">", "<f:for each=\"{week}\" as=\"date\">\n\t<td class=\"agendaDay{date.agendaClasses}\">\n\t\t<div class=\"dayBar\">\n\t\t\t<f:if condition=\"{date.allowCreate}\">\n\t\t\t\t<f:then>\n\t\t\t\t\t<f:link.action t...
[ 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">", "<f:for each=\"{week}\" as=\"date\">\n\t<td class=\"agendaDay{date.agendaClasses}\">\n\t\t<div class=\"dayBar\">\n\t\t\t<f:if condition=\"{date.allowCreate}\">\n\t\t\t\t<f:then>\n\t\t\t\t\t<f:link.action t...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">", "<table class=\"single-appointment\" summary=\"{f:translate(key:'tx_appointments_list.summary_show')}\">\n\t<caption><f:translate key=\"tx_appointments_list.caption_show\" /></caption>\n\t\n\t<tr>\n\t\t<td...
[ 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">", "<table class=\"single-appointment\" summary=\"{f:translate(key:'tx_appointments_list.summary_show')}\">\n\t<caption><f:translate key=\"tx_appointments_list.caption_show\" /></caption>\n\t\n\t<tr>\n\t\t<td...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\"\n\txmlns:a=\"http://typo3.org/ns/Innologi/Appointments/ViewHelpers\">\n\t\n<ul class=\"typo3-messages\">\n\t<li class=\"alert alert-warning\">\n\t\t<h4 class=\"alert-title\">\n\t\t\t<f:translate key=\"tx_appoin...
[ 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\"\n\txmlns:a=\"http://typo3.org/ns/Innologi/Appointments/ViewHelpers\">\n\t\n<ul class=\"typo3-messages\">\n\t<li class=\"alert alert-warning\">\n\t\t<h4 class=\"alert-title\">\n\t\t\t<f:translate key=\"tx_appoin...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">", "<f:if condition=\"{formField.validationTypesArray.1}\">\n\t<span class=\"required\">*</span>\n</f:if>\n<br />\n<f:for each=\"{formField.choicesArray}\" as=\"choiceValue\" key=\"choiceKey\" iteration=\"cho...
[ 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">", "<f:if condition=\"{formField.validationTypesArray.1}\">\n\t<span class=\"required\">*</span>\n</f:if>\n<br />\n<f:for each=\"{formField.choicesArray}\" as=\"choiceValue\" key=\"choiceKey\" iteration=\"cho...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">", "<f:if condition=\"{formField}\">\n\t<tr>", "\t\t<td scope=\"row\"><f:format.html>{formField.label}</f:format.html></td>", "\t\t<td>\n\t\t\t<f:render partial=\"FormField/Property{formField.fieldType}\"...
[ 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">", "<f:if condition=\"{formField}\">\n\t<tr>", "\t\t<td scope=\"row\"><f:format.htmlspecialchars>{formField.label}</f:format.htmlspecialchars></td>", "\t\t<td>\n\t\t\t<f:render partial=\"FormField/Propert...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n\t", "<f:format.html>{formField.choicesArray.{formFieldValue.value}}</f:format.html>", "\n</html>" ]
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n\t", "<f:format.htmlspecialchars>{formField.choicesArray.{formFieldValue.value}}</f:format.htmlspecialchars>", "\n</html>" ]
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n", "<f:format.html>{formFieldValue.value}</f:format.html>", "\n</html>" ]
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n", "<f:format.htmlspecialchars>{formFieldValue.value}</f:format.htmlspecialchars>", "\n</html>" ]
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n\t", "<f:format.html>{formFieldValue.value}</f:format.html>", "\n</html>" ]
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n\t", "<f:format.htmlspecialchars>{formFieldValue.value}</f:format.htmlspecialchars>", "\n</html>" ]
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n", "<f:format.html>{formField.choicesArray.{formFieldValue.value}}</f:format.html>", "\n</html>" ]
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\">\n", "<f:format.htmlspecialchars>{formField.choicesArray.{formFieldValue.value}}</f:format.htmlspecialchars>", "\n</html>" ]
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\"\n\txmlns:a=\"http://typo3.org/ns/Innologi/Appointments/ViewHelpers\">\n\t\n<f:layout name=\"Default\" />", "<f:section name=\"main\">", "<div class=\"header\">\n\t<f:link.action title=\"{f:translate(key:'li...
[ 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "<html data-namespace-typo3-fluid=\"true\"\n\txmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\"\n\txmlns:a=\"http://typo3.org/ns/Innologi/Appointments/ViewHelpers\">\n\t\n<f:layout name=\"Default\" />", "<f:section name=\"main\">", "<div class=\"header\">\n\t<f:link.action title=\"{f:translate(key:'li...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 25, 97, 26, 16, 7, 5, 5, 5, 5, 31], "buggy_code_start_loc": [9, 24, 11, 19, 15, 6, 4, 4, 4, 4, 30], "filenames": ["Resources/Private/Partials/Address/Properties.html", "Resources/Private/Partials/Agenda/Week.html", "Resources/Private/Partials/Appointment/Properties.html", "Resources/Private/...
1,194
Determine whether the {function_name} code is vulnerable or not.
[ "const express = require('express');\nconst common = require('../lib/common');\nconst colors = require('colors');\nconst bcrypt = require('bcryptjs');\nconst url = require('url');\nconst router = express.Router();", "router.get('/admin/users', common.restrict, (req, res) => {\n const db = req.app.db;\n db.u...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [199], "buggy_code_start_loc": [149], "filenames": ["routes/user.js"], "fixing_code_end_loc": [204], "fixing_code_start_loc": [149], "message": "expressCart before 1.1.6 allows remote attackers to create an admin user via a /admin/setup Referer header.", "other": {"cve": {"cisaActionDue": null, "...
1,195
Determine whether the {function_name} code is vulnerable or not.
[ "const express = require('express');\nconst common = require('../lib/common');\nconst colors = require('colors');\nconst bcrypt = require('bcryptjs');\nconst url = require('url');\nconst router = express.Router();", "router.get('/admin/users', common.restrict, (req, res) => {\n const db = req.app.db;\n db.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 ]
PreciseBugs
{"buggy_code_end_loc": [199], "buggy_code_start_loc": [149], "filenames": ["routes/user.js"], "fixing_code_end_loc": [204], "fixing_code_start_loc": [149], "message": "expressCart before 1.1.6 allows remote attackers to create an admin user via a /admin/setup Referer header.", "other": {"cve": {"cisaActionDue": null, "...
1,195
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.file.php", " Peter Rotich <peter@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.com", " Released under the GNU General Public License WITHOUT ANY WARRANTY.\n See LICENSE.TXT for deta...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [251], "buggy_code_start_loc": [243], "filenames": ["include/class.file.php"], "fixing_code_end_loc": [253], "fixing_code_start_loc": [243], "message": "An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. The Ticket creation form allows users to upload files along with que...
1,196
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.file.php", " Peter Rotich <peter@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.com", " Released under the GNU General Public License WITHOUT ANY WARRANTY.\n See LICENSE.TXT for deta...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [251], "buggy_code_start_loc": [243], "filenames": ["include/class.file.php"], "fixing_code_end_loc": [253], "fixing_code_start_loc": [243], "message": "An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. The Ticket creation form allows users to upload files along with que...
1,196
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-FileCopyrightText: 2021 RizinOrg <info@rizin.re>\n// SPDX-FileCopyrightText: 2021 deroad <wargio@libero.it>\n// SPDX-License-Identifier: LGPL-3.0-only", "#include \"dex.h\"\n#include <rz_util.h>", "#define DEX_INVALID_CLASS \"Lunknown_class;\"\n#define DEX_INVALID_METHOD \"unknown_method\"", "typede...
[ 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": [909], "buggy_code_start_loc": [83], "filenames": ["librz/bin/format/dex/dex.c"], "fixing_code_end_loc": [915], "fixing_code_start_loc": [84], "message": "Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to out-of-bounds write wh...
1,197
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-FileCopyrightText: 2021 RizinOrg <info@rizin.re>\n// SPDX-FileCopyrightText: 2021 deroad <wargio@libero.it>\n// SPDX-License-Identifier: LGPL-3.0-only", "#include \"dex.h\"\n#include <rz_util.h>", "#define DEX_INVALID_CLASS \"Lunknown_class;\"\n#define DEX_INVALID_METHOD \"unknown_method\"", "typede...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [909], "buggy_code_start_loc": [83], "filenames": ["librz/bin/format/dex/dex.c"], "fixing_code_end_loc": [915], "fixing_code_start_loc": [84], "message": "Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to out-of-bounds write wh...
1,197