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\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * Common functions for generating lists of Routines, Triggers and Events.\n *\n * @package PhpMyAdmin\n */\nif (! defined('PHPMYADMIN')) {\n exit;\n}",
"/**\n * Creates a list of items containing the relevant\n * information and some action links.\n *\n ... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [322, 301], "buggy_code_start_loc": [321, 124], "filenames": ["js/rte/common.js", "libraries/rte/rte_list.lib.php"], "fixing_code_end_loc": [322, 301], "fixing_code_start_loc": [321, 124], "message": "Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 3.5.x before 3.5.3 allow remot... | 1,156 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * Common functions for generating lists of Routines, Triggers and Events.\n *\n * @package PhpMyAdmin\n */\nif (! defined('PHPMYADMIN')) {\n exit;\n}",
"/**\n * Creates a list of items containing the relevant\n * information and some action links.\n *\n ... | [
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": [322, 301], "buggy_code_start_loc": [321, 124], "filenames": ["js/rte/common.js", "libraries/rte/rte_list.lib.php"], "fixing_code_end_loc": [322, 301], "fixing_code_start_loc": [321, 124], "message": "Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 3.5.x before 3.5.3 allow remot... | 1,156 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n//\n// ZoneMinder web zones view file, $Date$, $Revision$\n// Copyright (C) 2001-2008 Philip Coombes\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of the GNU General Public License\n// as published by the Free Software Foundation; either version 2\n// of... | [
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [79], "buggy_code_start_loc": [77], "filenames": ["web/skins/classic/views/zones.php"], "fixing_code_end_loc": [79], "fixing_code_start_loc": [77], "message": "A stored-self XSS exists in web/skins/classic/views/zones.php of ZoneMinder through 1.32.3, allowing an attacker to execute HTML or JavaS... | 1,157 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n//\n// ZoneMinder web zones view file, $Date$, $Revision$\n// Copyright (C) 2001-2008 Philip Coombes\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of the GNU General Public License\n// as published by the Free Software Foundation; either version 2\n// of... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [79], "buggy_code_start_loc": [77], "filenames": ["web/skins/classic/views/zones.php"], "fixing_code_end_loc": [79], "fixing_code_start_loc": [77], "message": "A stored-self XSS exists in web/skins/classic/views/zones.php of ZoneMinder through 1.32.3, allowing an attacker to execute HTML or JavaS... | 1,157 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n+---------------------------------------------------------------------------+\n| Revive Adserver |\n| http://www.revive-adserver.com |\n| ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [215, 24, 473], "buggy_code_start_loc": [195, 23, 61], "filenames": ["lib/max/other/html.php", "lib/templates/admin/layout/links-container.html", "www/admin/stats-conversions.php"], "fixing_code_end_loc": [216, 24, 476], "fixing_code_start_loc": [195, 23, 61], "message": "Revive Adserver before 3... | 1,158 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n+---------------------------------------------------------------------------+\n| Revive Adserver |\n| http://www.revive-adserver.com |\n| ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [215, 24, 473], "buggy_code_start_loc": [195, 23, 61], "filenames": ["lib/max/other/html.php", "lib/templates/admin/layout/links-container.html", "www/admin/stats-conversions.php"], "fixing_code_end_loc": [216, 24, 476], "fixing_code_start_loc": [195, 23, 61], "message": "Revive Adserver before 3... | 1,158 |
Determine whether the {function_name} code is vulnerable or not. | [
"{*<!--",
"+---------------------------------------------------------------------------+\n| Revive Adserver |\n| http://www.revive-adserver.com |\n| ... | [
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [215, 24, 473], "buggy_code_start_loc": [195, 23, 61], "filenames": ["lib/max/other/html.php", "lib/templates/admin/layout/links-container.html", "www/admin/stats-conversions.php"], "fixing_code_end_loc": [216, 24, 476], "fixing_code_start_loc": [195, 23, 61], "message": "Revive Adserver before 3... | 1,158 |
Determine whether the {function_name} code is vulnerable or not. | [
"{*<!--",
"+---------------------------------------------------------------------------+\n| Revive Adserver |\n| http://www.revive-adserver.com |\n| ... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [215, 24, 473], "buggy_code_start_loc": [195, 23, 61], "filenames": ["lib/max/other/html.php", "lib/templates/admin/layout/links-container.html", "www/admin/stats-conversions.php"], "fixing_code_end_loc": [216, 24, 476], "fixing_code_start_loc": [195, 23, 61], "message": "Revive Adserver before 3... | 1,158 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n+---------------------------------------------------------------------------+\n| Revive Adserver |\n| http://www.revive-adserver.com |\n| ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [215, 24, 473], "buggy_code_start_loc": [195, 23, 61], "filenames": ["lib/max/other/html.php", "lib/templates/admin/layout/links-container.html", "www/admin/stats-conversions.php"], "fixing_code_end_loc": [216, 24, 476], "fixing_code_start_loc": [195, 23, 61], "message": "Revive Adserver before 3... | 1,158 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n+---------------------------------------------------------------------------+\n| Revive Adserver |\n| http://www.revive-adserver.com |\n| ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [215, 24, 473], "buggy_code_start_loc": [195, 23, 61], "filenames": ["lib/max/other/html.php", "lib/templates/admin/layout/links-container.html", "www/admin/stats-conversions.php"], "fixing_code_end_loc": [216, 24, 476], "fixing_code_start_loc": [195, 23, 61], "message": "Revive Adserver before 3... | 1,158 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* $OpenBSD$ */",
"/*\n * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copie... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1980], "buggy_code_start_loc": [1979], "filenames": ["input.c"], "fixing_code_end_loc": [1986], "fixing_code_start_loc": [1979], "message": "In tmux before version 3.1c the function input_csi_dispatch_sgr_colon() in file input.c contained a stack-based buffer-overflow that can be exploited by te... | 1,159 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* $OpenBSD$ */",
"/*\n * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copie... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1980], "buggy_code_start_loc": [1979], "filenames": ["input.c"], "fixing_code_end_loc": [1986], "fixing_code_start_loc": [1979], "message": "In tmux before version 3.1c the function input_csi_dispatch_sgr_colon() in file input.c contained a stack-based buffer-overflow that can be exploited by te... | 1,159 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthor: Romain Bouqueau, Jean Le Feuvre\n *\t\t\tCopyright (c) Romain Bouqueau 2012- Telecom Paris 2019-\n *\t\t\t\tAll rights reserved\n *\n * Note: this development was kindly sponsorized by Vizion'R (http://vizionr.com)\n *\n * This file is pa... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [173], "buggy_code_start_loc": [81], "filenames": ["src/isomedia/box_code_adobe.c"], "fixing_code_end_loc": [199], "fixing_code_start_loc": [82], "message": "Buffer overflow in the abst_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary co... | 1,160 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthor: Romain Bouqueau, Jean Le Feuvre\n *\t\t\tCopyright (c) Romain Bouqueau 2012- Telecom Paris 2019-\n *\t\t\t\tAll rights reserved\n *\n * Note: this development was kindly sponsorized by Vizion'R (http://vizionr.com)\n *\n * This file is pa... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [173], "buggy_code_start_loc": [81], "filenames": ["src/isomedia/box_code_adobe.c"], "fixing_code_end_loc": [199], "fixing_code_start_loc": [82], "message": "Buffer overflow in the abst_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary co... | 1,160 |
Determine whether the {function_name} code is vulnerable or not. | [
"<%--",
" The contents of this file are subject to the license and copyright\n detailed in the LICENSE and NOTICE files at the root of the source\n tree and available online at",
" http://www.dspace.org/license/",
"--%>",
"<%--\n - Display the form to refine the simple-search and dispaly the re... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [161], "buggy_code_start_loc": [150], "filenames": ["dspace-jspui/src/main/webapp/search/discovery.jsp"], "fixing_code_end_loc": [167], "fixing_code_start_loc": [150], "message": "DSpace open source software is a repository application which provides durable access to digital resources. dspace-js... | 1,161 |
Determine whether the {function_name} code is vulnerable or not. | [
"<%--",
" The contents of this file are subject to the license and copyright\n detailed in the LICENSE and NOTICE files at the root of the source\n tree and available online at",
" http://www.dspace.org/license/",
"--%>",
"<%--\n - Display the form to refine the simple-search and dispaly the re... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [161], "buggy_code_start_loc": [150], "filenames": ["dspace-jspui/src/main/webapp/search/discovery.jsp"], "fixing_code_end_loc": [167], "fixing_code_start_loc": [150], "message": "DSpace open source software is a repository application which provides durable access to digital resources. dspace-js... | 1,161 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * session.php\n * Copyright (c) 2019 james@firefly-iii.org.\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Fr... | [
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [28], "buggy_code_start_loc": [27], "filenames": ["config/session.php"], "fixing_code_end_loc": [28], "fixing_code_start_loc": [27], "message": "Insufficient Session Expiration in GitHub repository firefly-iii/firefly-iii prior to 6.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nu... | 1,162 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * session.php\n * Copyright (c) 2019 james@firefly-iii.org.\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Fr... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [28], "buggy_code_start_loc": [27], "filenames": ["config/session.php"], "fixing_code_end_loc": [28], "fixing_code_start_loc": [27], "message": "Insufficient Session Expiration in GitHub repository firefly-iii/firefly-iii prior to 6.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nu... | 1,162 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*!\n * UAParser.js v0.7.21\n * Lightweight JavaScript-based User-Agent string parser\n * https://github.com/faisalman/ua-parser-js\n *\n * Copyright © 2012-2019 Faisal Salman <f@faisalman.com>\n * Licensed under MIT License\n */",
"(function (window, undefined) {",
" 'use strict';",
" //////////////\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": [591], "buggy_code_start_loc": [588], "filenames": ["src/ua-parser.js"], "fixing_code_end_loc": [591], "fixing_code_start_loc": [588], "message": "The package ua-parser-js before 0.7.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for Redmi Phones and Mi Pad Tablet... | 1,163 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*!\n * UAParser.js v0.7.21\n * Lightweight JavaScript-based User-Agent string parser\n * https://github.com/faisalman/ua-parser-js\n *\n * Copyright © 2012-2019 Faisal Salman <f@faisalman.com>\n * Licensed under MIT License\n */",
"(function (window, undefined) {",
" 'use strict';",
" //////////////\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": [591], "buggy_code_start_loc": [588], "filenames": ["src/ua-parser.js"], "fixing_code_end_loc": [591], "fixing_code_start_loc": [588], "message": "The package ua-parser-js before 0.7.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for Redmi Phones and Mi Pad Tablet... | 1,163 |
Determine whether the {function_name} code is vulnerable or not. | [
"export default function extractContent(html) {\n return new DOMParser().parseFromString(html, 'text/html').documentElement\n .textContent;\n}",
""
] | [
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [4, 20], "buggy_code_start_loc": [4, 5], "filenames": ["app/javascript/packages/components/src/utils/htmlSanitize.ts", "app/javascript/src/pages/conversations/ItemList.tsx"], "fixing_code_end_loc": [12, 22], "fixing_code_start_loc": [5, 5], "message": "chaskiq is vulnerable to Improper Neutraliza... | 1,164 |
Determine whether the {function_name} code is vulnerable or not. | [
"export default function extractContent(html) {\n return new DOMParser().parseFromString(html, 'text/html').documentElement\n .textContent;\n}",
"\nexport function escapeHTML(unsafe) {\n return unsafe.replace(\n /[\\u0000-\\u002F\\u003A-\\u0040\\u005B-\\u0060\\u007B-\\u00FF]/g,\n (c) => '&#' + ('000' +... | [
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [4, 20], "buggy_code_start_loc": [4, 5], "filenames": ["app/javascript/packages/components/src/utils/htmlSanitize.ts", "app/javascript/src/pages/conversations/ItemList.tsx"], "fixing_code_end_loc": [12, 22], "fixing_code_start_loc": [5, 5], "message": "chaskiq is vulnerable to Improper Neutraliza... | 1,164 |
Determine whether the {function_name} code is vulnerable or not. | [
"import React from 'react';\nimport { Link } from 'react-router-dom';\nimport Moment from 'react-moment';\nimport { readableColor } from 'polished';",
"import sanitizeHtml from '@chaskiq/components/src/utils/htmlSanitize';",
"import { LabelIcon } from '@chaskiq/components/src/components/icons';\nimport Avatar f... | [
1,
0,
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": [4, 20], "buggy_code_start_loc": [4, 5], "filenames": ["app/javascript/packages/components/src/utils/htmlSanitize.ts", "app/javascript/src/pages/conversations/ItemList.tsx"], "fixing_code_end_loc": [12, 22], "fixing_code_start_loc": [5, 5], "message": "chaskiq is vulnerable to Improper Neutraliza... | 1,164 |
Determine whether the {function_name} code is vulnerable or not. | [
"import React from 'react';\nimport { Link } from 'react-router-dom';\nimport Moment from 'react-moment';\nimport { readableColor } from 'polished';",
"import sanitizeHtml, {\n escapeHTML,\n} from '@chaskiq/components/src/utils/htmlSanitize';",
"import { LabelIcon } from '@chaskiq/components/src/components/ico... | [
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": [4, 20], "buggy_code_start_loc": [4, 5], "filenames": ["app/javascript/packages/components/src/utils/htmlSanitize.ts", "app/javascript/src/pages/conversations/ItemList.tsx"], "fixing_code_end_loc": [12, 22], "fixing_code_start_loc": [5, 5], "message": "chaskiq is vulnerable to Improper Neutraliza... | 1,164 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 1999-2013 Petko Manolov (petkan@nucleusys.com)\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n *\tChangeLog:\n *\t\t....\tMost of the time sp... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [162], "buggy_code_start_loc": [128], "filenames": ["drivers/net/usb/pegasus.c"], "fixing_code_end_loc": [184], "fixing_code_start_loc": [129], "message": "drivers/net/usb/pegasus.c in the Linux kernel 4.9.x before 4.9.11 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local... | 1,165 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 1999-2013 Petko Manolov (petkan@nucleusys.com)\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n *\tChangeLog:\n *\t\t....\tMost of the time sp... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [162], "buggy_code_start_loc": [128], "filenames": ["drivers/net/usb/pegasus.c"], "fixing_code_end_loc": [184], "fixing_code_start_loc": [129], "message": "drivers/net/usb/pegasus.c in the Linux kernel 4.9.x before 4.9.11 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local... | 1,165 |
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,
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
] | PreciseBugs | {"buggy_code_end_loc": [49], "buggy_code_start_loc": [49], "filenames": ["admin/batch_manager_unit.php"], "fixing_code_end_loc": [51], "fixing_code_start_loc": [50], "message": "The Batch Manager component of Piwigo 2.9.2 is vulnerable to SQL Injection via the admin/batch_manager_unit.php element_ids parameter in unit ... | 1,166 |
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [49], "buggy_code_start_loc": [49], "filenames": ["admin/batch_manager_unit.php"], "fixing_code_end_loc": [51], "fixing_code_start_loc": [50], "message": "The Batch Manager component of Piwigo 2.9.2 is vulnerable to SQL Injection via the admin/batch_manager_unit.php element_ids parameter in unit ... | 1,166 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * \"NUT\" Container Format demuxer\n * Copyright (c) 2004-2006 Michael Niedermayer\n * Copyright (c) 2003 Alex Beregszaszi\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 publishe... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [816], "buggy_code_start_loc": [354], "filenames": ["libavformat/nutdec.c"], "fixing_code_end_loc": [824], "fixing_code_start_loc": [354], "message": "A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of libavformat/nutdec.c file. The flaw occurs because... | 1,167 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * \"NUT\" Container Format demuxer\n * Copyright (c) 2004-2006 Michael Niedermayer\n * Copyright (c) 2003 Alex Beregszaszi\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 publishe... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [816], "buggy_code_start_loc": [354], "filenames": ["libavformat/nutdec.c"], "fixing_code_end_loc": [824], "fixing_code_start_loc": [354], "message": "A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of libavformat/nutdec.c file. The flaw occurs because... | 1,167 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2020 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,
0,
1,
0,
1,
0,
0,
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": [237], "buggy_code_start_loc": [187], "filenames": ["tensorflow/core/kernels/count_ops.cc"], "fixing_code_end_loc": [230], "fixing_code_start_loc": [188], "message": "Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseCountSparseOutput` is vulnerable to a heap o... | 1,168 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [237], "buggy_code_start_loc": [187], "filenames": ["tensorflow/core/kernels/count_ops.cc"], "fixing_code_end_loc": [230], "fixing_code_start_loc": [188], "message": "Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseCountSparseOutput` is vulnerable to a heap o... | 1,168 |
Determine whether the {function_name} code is vulnerable or not. | [
"TEMPLATE = app\nTARGET =\nVERSION = 0.6.0\nINCLUDEPATH += src src/json src/qt\nDEFINES += QT_GUI BOOST_THREAD_USE_LIB\nCONFIG += no_include_pwd",
"# for boost 1.37, add -mt to the boost libraries \n# use: qmake BOOST_LIB_SUFFIX=-mt\n# for boost thread win32 with _win32 sufix\n# use: BOOST_THREAD_LIB_SUFFIX=_win3... | [
1,
1,
1,
1,
1,
1,
1,
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": [296, 49], "buggy_code_start_loc": [294, 49], "filenames": ["bitcoin-qt.pro", "contrib/gitian-descriptors/qt-win32.yml"], "fixing_code_end_loc": [296, 51], "fixing_code_start_loc": [294, 50], "message": "Bitcoin-Qt 0.5.0.x before 0.5.0.5; 0.5.1.x, 0.5.2.x, and 0.5.3.x before 0.5.3.1; and 0.6.x be... | 1,169 |
Determine whether the {function_name} code is vulnerable or not. | [
"TEMPLATE = app\nTARGET =\nVERSION = 0.6.0\nINCLUDEPATH += src src/json src/qt\nDEFINES += QT_GUI BOOST_THREAD_USE_LIB\nCONFIG += no_include_pwd",
"# for boost 1.37, add -mt to the boost libraries \n# use: qmake BOOST_LIB_SUFFIX=-mt\n# for boost thread win32 with _win32 sufix\n# use: BOOST_THREAD_LIB_SUFFIX=_win3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [296, 49], "buggy_code_start_loc": [294, 49], "filenames": ["bitcoin-qt.pro", "contrib/gitian-descriptors/qt-win32.yml"], "fixing_code_end_loc": [296, 51], "fixing_code_start_loc": [294, 50], "message": "Bitcoin-Qt 0.5.0.x before 0.5.0.5; 0.5.1.x, 0.5.2.x, and 0.5.3.x before 0.5.3.1; and 0.6.x be... | 1,169 |
Determine whether the {function_name} code is vulnerable or not. | [
"---\nname: \"qt\"\nsuites:\n- \"lucid\"\narchitectures:\n- \"i386\"\npackages: \n- \"mingw32\"\n- \"zip\"\n- \"faketime\"\nreference_datetime: \"2011-01-30 00:00:00\"\nremotes: []\nfiles:\n- \"qt-everywhere-opensource-src-4.7.4.tar.gz\"\nscript: |\n INSTDIR=\"$HOME/qt/\"\n mkdir $INSTDIR\n SRCDIR=\"$INSTDIR/src... | [
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [296, 49], "buggy_code_start_loc": [294, 49], "filenames": ["bitcoin-qt.pro", "contrib/gitian-descriptors/qt-win32.yml"], "fixing_code_end_loc": [296, 51], "fixing_code_start_loc": [294, 50], "message": "Bitcoin-Qt 0.5.0.x before 0.5.0.5; 0.5.1.x, 0.5.2.x, and 0.5.3.x before 0.5.3.1; and 0.6.x be... | 1,169 |
Determine whether the {function_name} code is vulnerable or not. | [
"---\nname: \"qt\"\nsuites:\n- \"lucid\"\narchitectures:\n- \"i386\"\npackages: \n- \"mingw32\"\n- \"zip\"\n- \"faketime\"\nreference_datetime: \"2011-01-30 00:00:00\"\nremotes: []\nfiles:\n- \"qt-everywhere-opensource-src-4.7.4.tar.gz\"\nscript: |\n INSTDIR=\"$HOME/qt/\"\n mkdir $INSTDIR\n SRCDIR=\"$INSTDIR/src... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [296, 49], "buggy_code_start_loc": [294, 49], "filenames": ["bitcoin-qt.pro", "contrib/gitian-descriptors/qt-win32.yml"], "fixing_code_end_loc": [296, 51], "fixing_code_start_loc": [294, 50], "message": "Bitcoin-Qt 0.5.0.x before 0.5.0.5; 0.5.1.x, 0.5.2.x, and 0.5.3.x before 0.5.3.1; and 0.6.x be... | 1,169 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"function _process (v, mod) {\n var i\n var r",
" if (typeof mod === 'function') {\n r = mod(v)\n if (r !== undefined) {\n v = r\n }\n } else if (Array.isArray(mod)) {\n for (i = 0; i < mod.length; i++) {\n r = mod[i](v)\n if (r !== undefined) {\n v = r\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
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,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"function _process (v, mod) {\n var i\n var r",
" if (typeof mod === 'function') {\n r = mod(v)\n if (r !== undefined) {\n v = r\n }\n } else if (Array.isArray(mod)) {\n for (i = 0; i < mod.length; i++) {\n r = mod[i](v)\n if (r !== undefined) {\n v = r\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": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"function _process (v, mod) {\n var i\n var r",
" if (typeof mod === 'function') {\n r = mod(v)\n if (r !== undefined) {\n v = r\n }\n } else if (Array.isArray(mod)) {\n for (i = 0; i < mod.length; i++) {\n r = mod[i](v)\n if (r !== undefined) {\n v = r\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
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,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"function _process (v, mod) {\n var i\n var r",
" if (typeof mod === 'function') {\n r = mod(v)\n if (r !== undefined) {\n v = r\n }\n } else if (Array.isArray(mod)) {\n for (i = 0; i < mod.length; i++) {\n r = mod[i](v)\n if (r !== undefined) {\n v = r\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": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"/* jshint -W030 */",
"require('should')\nvar Dot = require('../index')",
"describe('Dotted Array notation', function () {\n var src",
" beforeEach(function () {\n src = {\n path: [{\n longitude: 5.512482166290283,\n latitude: 52.5006217956543\n }, {\n lon... | [
1,
1,
1,
1,
1,
1,
1,
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": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"/* jshint -W030 */",
"require('should')\nvar Dot = require('../index')",
"describe('Dotted Array notation', function () {\n var src",
" beforeEach(function () {\n src = {\n path: [{\n longitude: 5.512482166290283,\n latitude: 52.5006217956543\n }, {\n lon... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"require('should')\nvar _s = require('underscore.string')\nvar Dot = require('../index')",
"describe('Object test:', function () {\n it('Should expand dotted keys', function () {\n var row = {\n id: 2,\n 'contact.name.first': 'John',\n 'contact.name.last': 'Doe',\n 'conta... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"require('should')\nvar _s = require('underscore.string')\nvar Dot = require('../index')",
"describe('Object test:', function () {\n it('Should expand dotted keys', function () {\n var row = {\n id: 2,\n 'contact.name.first': 'John',\n 'contact.name.last': 'Doe',\n 'conta... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"require('should')\nvar Dot = require('../index')",
"describe('str:', function () {\n it('can set root property', function () {\n Dot.str('b', 2, {\n a: 1\n }).should.deepEqual({\n a: 1,\n b: 2\n })\n })",
" it('can set nested property', function () {\n Dot.str('b... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"require('should')\nvar Dot = require('../index')",
"describe('str:', function () {\n it('can set root property', function () {\n Dot.str('b', 2, {\n a: 1\n }).should.deepEqual({\n a: 1,\n b: 2\n })\n })",
" it('can set nested property', function () {\n Dot.str('b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [549, 549, 169, 207, 52], "buggy_code_start_loc": [47, 47, 169, 207, 37], "filenames": ["index.js", "src/dot-object.js", "test/array_notation.js", "test/dot-json.js", "test/str.js"], "fixing_code_end_loc": [572, 572, 176, 215, 63], "fixing_code_start_loc": [48, 48, 170, 208, 37], "message": "dot-... | 1,170 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * linux/drivers/block/loop.c\n *\n * Written by Theodore Ts'o, 3/29/93\n *\n * Copyright 1993 by Theodore Ts'o. Redistribution of this file is\n * permitted under the GNU General Public License.\n *\n * DES encryption plus some minor changes by Werner Almesberger, 30-MAY-1993\n * more DES encryption plus I... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1610], "buggy_code_start_loc": [1584], "filenames": ["drivers/block/loop.c"], "fixing_code_end_loc": [1617], "fixing_code_start_loc": [1584], "message": "In the Linux kernel through 4.14.13, drivers/block/loop.c mishandles lo_release serialization, which allows attackers to cause a denial of ser... | 1,171 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * linux/drivers/block/loop.c\n *\n * Written by Theodore Ts'o, 3/29/93\n *\n * Copyright 1993 by Theodore Ts'o. Redistribution of this file is\n * permitted under the GNU General Public License.\n *\n * DES encryption plus some minor changes by Werner Almesberger, 30-MAY-1993\n * more DES encryption plus I... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1610], "buggy_code_start_loc": [1584], "filenames": ["drivers/block/loop.c"], "fixing_code_end_loc": [1617], "fixing_code_start_loc": [1584], "message": "In the Linux kernel through 4.14.13, drivers/block/loop.c mishandles lo_release serialization, which allows attackers to cause a denial of ser... | 1,171 |
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2057], "buggy_code_start_loc": [2057], "filenames": ["include/functions.inc.php"], "fixing_code_end_loc": [2068], "fixing_code_start_loc": [2058], "message": "url_check_format in include/functions.inc.php in Piwigo before 2.8.3 allows remote attackers to bypass intended access restrictions via a... | 1,172 |
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2057], "buggy_code_start_loc": [2057], "filenames": ["include/functions.inc.php"], "fixing_code_end_loc": [2068], "fixing_code_start_loc": [2058], "message": "url_check_format in include/functions.inc.php in Piwigo before 2.8.3 allows remote attackers to bypass intended access restrictions via a... | 1,172 |
Determine whether the {function_name} code is vulnerable or not. | [
"June 2022 8.0\n - Extended user account status and locking options\n - Fixed bugs:\n -> Hidden account is displayed (257)",
"",
"\n09.03.2022 7.9\n - Tree view:\n -> Support multiple roots (e.g. add \"cn=config\")\n -> Added function to check password hashes against a given password\n - Shadow: allow... | [
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [4, 565, 529], "buggy_code_start_loc": [4, 561, 15], "filenames": ["lam/HISTORY", "lam/lib/html.inc", "lam/templates/pdfedit/pdfpage.php"], "fixing_code_end_loc": [6, 565, 542], "fixing_code_start_loc": [5, 561, 16], "message": "LDAP Account Manager (LAM) is an open source web frontend for managi... | 1,173 |
Determine whether the {function_name} code is vulnerable or not. | [
"June 2022 8.0\n - Extended user account status and locking options\n - Fixed bugs:\n -> Hidden account is displayed (257)",
" -> Security issues in PDF editor and profile editor",
"\n09.03.2022 7.9\n - Tree view:\n -> Support multiple roots (e.g. add \"cn=config\")\n -> Added function to check passw... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [4, 565, 529], "buggy_code_start_loc": [4, 561, 15], "filenames": ["lam/HISTORY", "lam/lib/html.inc", "lam/templates/pdfedit/pdfpage.php"], "fixing_code_end_loc": [6, 565, 542], "fixing_code_start_loc": [5, 561, 16], "message": "LDAP Account Manager (LAM) is an open source web frontend for managi... | 1,173 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*",
" This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)\n Copyright (C) 2010 - 2022 Roland Gruber",
" This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foun... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [4, 565, 529], "buggy_code_start_loc": [4, 561, 15], "filenames": ["lam/HISTORY", "lam/lib/html.inc", "lam/templates/pdfedit/pdfpage.php"], "fixing_code_end_loc": [6, 565, 542], "fixing_code_start_loc": [5, 561, 16], "message": "LDAP Account Manager (LAM) is an open source web frontend for managi... | 1,173 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*",
" This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)\n Copyright (C) 2010 - 2022 Roland Gruber",
" This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foun... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [4, 565, 529], "buggy_code_start_loc": [4, 561, 15], "filenames": ["lam/HISTORY", "lam/lib/html.inc", "lam/templates/pdfedit/pdfpage.php"], "fixing_code_end_loc": [6, 565, 542], "fixing_code_start_loc": [5, 561, 16], "message": "LDAP Account Manager (LAM) is an open source web frontend for managi... | 1,173 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace LAM\\TOOLS\\PDF_EDITOR;\nuse \\htmlResponsiveRow;\nuse \\htmlResponsiveSelect;\nuse \\htmlResponsiveInputField;\nuse \\htmlTitle;\nuse \\htmlButton;\nuse \\htmlOutputText;\nuse \\htmlGroup;\nuse \\htmlSelect;\nuse \\htmlInputField;\nuse \\htmlSubTitle;\nuse \\htmlResponsiveInputTextarea;\nuse \\ht... | [
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [4, 565, 529], "buggy_code_start_loc": [4, 561, 15], "filenames": ["lam/HISTORY", "lam/lib/html.inc", "lam/templates/pdfedit/pdfpage.php"], "fixing_code_end_loc": [6, 565, 542], "fixing_code_start_loc": [5, 561, 16], "message": "LDAP Account Manager (LAM) is an open source web frontend for managi... | 1,173 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace LAM\\TOOLS\\PDF_EDITOR;\nuse \\htmlResponsiveRow;\nuse \\htmlResponsiveSelect;\nuse \\htmlResponsiveInputField;\nuse \\htmlTitle;\nuse \\htmlButton;\nuse \\htmlOutputText;\nuse \\htmlGroup;\nuse \\htmlSelect;\nuse \\htmlInputField;\nuse \\htmlSubTitle;\nuse \\htmlResponsiveInputTextarea;\nuse \\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,
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": [4, 565, 529], "buggy_code_start_loc": [4, 561, 15], "filenames": ["lam/HISTORY", "lam/lib/html.inc", "lam/templates/pdfedit/pdfpage.php"], "fixing_code_end_loc": [6, 565, 542], "fixing_code_start_loc": [5, 561, 16], "message": "LDAP Account Manager (LAM) is an open source web frontend for managi... | 1,173 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" ?>",
"<container xmlns=\"http://symfony.com/schema/dic/services\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:schemaLocation=\"http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd\">",
" <parameters>\n <paramet... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [65, 54, 48, 29], "buggy_code_start_loc": [65, 21, 39, 28], "filenames": ["Resources/config/security.xml", "Tests/Functional/CsrfFormLoginTest.php", "Tests/Functional/LogoutTest.php", "composer.json"], "fixing_code_end_loc": [67, 61, 46, 29], "fixing_code_start_loc": [66, 22, 38, 28], "message": ... | 1,174 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" ?>",
"<container xmlns=\"http://symfony.com/schema/dic/services\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:schemaLocation=\"http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd\">",
" <parameters>\n <paramet... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [65, 54, 48, 29], "buggy_code_start_loc": [65, 21, 39, 28], "filenames": ["Resources/config/security.xml", "Tests/Functional/CsrfFormLoginTest.php", "Tests/Functional/LogoutTest.php", "composer.json"], "fixing_code_end_loc": [67, 61, 46, 29], "fixing_code_start_loc": [66, 22, 38, 28], "message": ... | 1,174 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * This file is part of the Symfony package.\n *\n * (c) Fabien Potencier <fabien@symfony.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */",
"namespace Symfony\\Bundle\\SecurityBundle\\Tests\\Functional;"... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [65, 54, 48, 29], "buggy_code_start_loc": [65, 21, 39, 28], "filenames": ["Resources/config/security.xml", "Tests/Functional/CsrfFormLoginTest.php", "Tests/Functional/LogoutTest.php", "composer.json"], "fixing_code_end_loc": [67, 61, 46, 29], "fixing_code_start_loc": [66, 22, 38, 28], "message": ... | 1,174 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * This file is part of the Symfony package.\n *\n * (c) Fabien Potencier <fabien@symfony.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */",
"namespace Symfony\\Bundle\\SecurityBundle\\Tests\\Functional;"... | [
1,
1,
1,
1,
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": [65, 54, 48, 29], "buggy_code_start_loc": [65, 21, 39, 28], "filenames": ["Resources/config/security.xml", "Tests/Functional/CsrfFormLoginTest.php", "Tests/Functional/LogoutTest.php", "composer.json"], "fixing_code_end_loc": [67, 61, 46, 29], "fixing_code_start_loc": [66, 22, 38, 28], "message": ... | 1,174 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * This file is part of the Symfony package.\n *\n * (c) Fabien Potencier <fabien@symfony.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */",
"namespace Symfony\\Bundle\\SecurityBundle\\Tests\\Functional;"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [65, 54, 48, 29], "buggy_code_start_loc": [65, 21, 39, 28], "filenames": ["Resources/config/security.xml", "Tests/Functional/CsrfFormLoginTest.php", "Tests/Functional/LogoutTest.php", "composer.json"], "fixing_code_end_loc": [67, 61, 46, 29], "fixing_code_start_loc": [66, 22, 38, 28], "message": ... | 1,174 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * This file is part of the Symfony package.\n *\n * (c) Fabien Potencier <fabien@symfony.com>\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n */",
"namespace Symfony\\Bundle\\SecurityBundle\\Tests\\Functional;"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [65, 54, 48, 29], "buggy_code_start_loc": [65, 21, 39, 28], "filenames": ["Resources/config/security.xml", "Tests/Functional/CsrfFormLoginTest.php", "Tests/Functional/LogoutTest.php", "composer.json"], "fixing_code_end_loc": [67, 61, 46, 29], "fixing_code_start_loc": [66, 22, 38, 28], "message": ... | 1,174 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"symfony/security-bundle\",\n \"type\": \"symfony-bundle\",\n \"description\": \"Provides a tight integration of the Security component into the Symfony full-stack framework\",\n \"keywords\": [],\n \"homepage\": \"https://symfony.com\",\n \"license\": \"MIT\",\n \"authors\": [\... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [65, 54, 48, 29], "buggy_code_start_loc": [65, 21, 39, 28], "filenames": ["Resources/config/security.xml", "Tests/Functional/CsrfFormLoginTest.php", "Tests/Functional/LogoutTest.php", "composer.json"], "fixing_code_end_loc": [67, 61, 46, 29], "fixing_code_start_loc": [66, 22, 38, 28], "message": ... | 1,174 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"symfony/security-bundle\",\n \"type\": \"symfony-bundle\",\n \"description\": \"Provides a tight integration of the Security component into the Symfony full-stack framework\",\n \"keywords\": [],\n \"homepage\": \"https://symfony.com\",\n \"license\": \"MIT\",\n \"authors\": [\... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [65, 54, 48, 29], "buggy_code_start_loc": [65, 21, 39, 28], "filenames": ["Resources/config/security.xml", "Tests/Functional/CsrfFormLoginTest.php", "Tests/Functional/LogoutTest.php", "composer.json"], "fixing_code_end_loc": [67, 61, 46, 29], "fixing_code_start_loc": [66, 22, 38, 28], "message": ... | 1,174 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/bin/bash",
"PREFIX=\"\"",
"if [ -f /opt/rh/ruby193/root/usr/libexec/mcollective/update_yaml.rb ]; then\n PREFIX=\"/opt/rh/ruby193/root\"\nfi\n",
"oo-exec-ruby ${PREFIX}/usr/libexec/mcollective/update_yaml.rb ${PREFIX}/etc/mcollective/facts.yaml &> /tmp/facts.log"
] | [
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [10], "buggy_code_start_loc": [9], "filenames": ["plugins/msg-node/mcollective/facts/openshift-facts"], "fixing_code_end_loc": [10], "fixing_code_start_loc": [9], "message": "In a openshift node, there is a cron job to update mcollective facts that mishandles a temporary file. This may lead to lo... | 1,175 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/bin/bash",
"PREFIX=\"\"",
"if [ -f /opt/rh/ruby193/root/usr/libexec/mcollective/update_yaml.rb ]; then\n PREFIX=\"/opt/rh/ruby193/root\"\nfi\n",
"oo-exec-ruby ${PREFIX}/usr/libexec/mcollective/update_yaml.rb ${PREFIX}/etc/mcollective/facts.yaml &> /dev/null"
] | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [10], "buggy_code_start_loc": [9], "filenames": ["plugins/msg-node/mcollective/facts/openshift-facts"], "fixing_code_end_loc": [10], "fixing_code_start_loc": [9], "message": "In a openshift node, there is a cron job to update mcollective facts that mishandles a temporary file. This may lead to lo... | 1,175 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Phosphorus Five, copyright 2014 - 2017, Thomas Hansen, thomas@gaiasoul.com\n * \n * This file is part of Phosphorus Five.\n *\n * Phosphorus Five is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 3, as published by\n * the Free Software ... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [170], "buggy_code_start_loc": [165], "filenames": ["plugins/extras/p5.mysql/NonQuery.cs"], "fixing_code_end_loc": [176], "fixing_code_start_loc": [165], "message": "A vulnerability has been found in polterguy Phosphorus Five up to 8.2 and classified as critical. This vulnerability affects the fu... | 1,176 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Phosphorus Five, copyright 2014 - 2017, Thomas Hansen, thomas@gaiasoul.com\n * \n * This file is part of Phosphorus Five.\n *\n * Phosphorus Five is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 3, as published by\n * the Free Software ... | [
1,
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": [170], "buggy_code_start_loc": [165], "filenames": ["plugins/extras/p5.mysql/NonQuery.cs"], "fixing_code_end_loc": [176], "fixing_code_start_loc": [165], "message": "A vulnerability has been found in polterguy Phosphorus Five up to 8.2 and classified as critical. This vulnerability affects the fu... | 1,176 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1281], "buggy_code_start_loc": [1280], "filenames": ["MagickCore/attribute.c"], "fixing_code_end_loc": [1281], "fixing_code_start_loc": [1280], "message": "magick/attribute.c in ImageMagick 7.0.3-2 allows remote attackers to cause a denial of service (use-after-free) via a crafted file.", "other... | 1,177 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1281], "buggy_code_start_loc": [1280], "filenames": ["MagickCore/attribute.c"], "fixing_code_end_loc": [1281], "fixing_code_start_loc": [1280], "message": "magick/attribute.c in ImageMagick 7.0.3-2 allows remote attackers to cause a denial of service (use-after-free) via a crafted file.", "other... | 1,177 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2021 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.",
"package nistec_test",
"import (\n\t\"bytes\"\n\t\"crypto/elliptic\"",
"",
"\t\"math/big\"\n\t\"math/rand\"\n\t\"testing\"",
"\t\"filippo.io/n... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [165, 409, 27], "buggy_code_start_loc": [9, 366, 27], "filenames": ["nistec_test.go", "p256_asm.go", "p256_ordinv.go"], "fixing_code_end_loc": [247, 427, 29], "fixing_code_start_loc": [10, 367, 28], "message": "Multiplication of certain unreduced P-256 scalars produce incorrect results. There are... | 1,178 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2021 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.",
"package nistec_test",
"import (\n\t\"bytes\"\n\t\"crypto/elliptic\"",
"\t\"fmt\"",
"\t\"math/big\"\n\t\"math/rand\"\n\t\"testing\"",
"\t\"fil... | [
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, 409, 27], "buggy_code_start_loc": [9, 366, 27], "filenames": ["nistec_test.go", "p256_asm.go", "p256_ordinv.go"], "fixing_code_end_loc": [247, 427, 29], "fixing_code_start_loc": [10, 367, 28], "message": "Multiplication of certain unreduced P-256 scalars produce incorrect results. There are... | 1,178 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2015 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.",
"// This file contains the Go wrapper for the constant-time, 64-bit assembly\n// implementation of P256. The optimizations performed here are describe... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [165, 409, 27], "buggy_code_start_loc": [9, 366, 27], "filenames": ["nistec_test.go", "p256_asm.go", "p256_ordinv.go"], "fixing_code_end_loc": [247, 427, 29], "fixing_code_start_loc": [10, 367, 28], "message": "Multiplication of certain unreduced P-256 scalars produce incorrect results. There are... | 1,178 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2015 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.",
"// This file contains the Go wrapper for the constant-time, 64-bit assembly\n// implementation of P256. The optimizations performed here are describe... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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, 409, 27], "buggy_code_start_loc": [9, 366, 27], "filenames": ["nistec_test.go", "p256_asm.go", "p256_ordinv.go"], "fixing_code_end_loc": [247, 427, 29], "fixing_code_start_loc": [10, 367, 28], "message": "Multiplication of certain unreduced P-256 scalars produce incorrect results. There are... | 1,178 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2022 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.",
"//go:build !purego && (amd64 || arm64)",
"package nistec",
"import \"errors\"",
"// Montgomery multiplication modulo org(G). Sets res = in1 * i... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [165, 409, 27], "buggy_code_start_loc": [9, 366, 27], "filenames": ["nistec_test.go", "p256_asm.go", "p256_ordinv.go"], "fixing_code_end_loc": [247, 427, 29], "fixing_code_start_loc": [10, 367, 28], "message": "Multiplication of certain unreduced P-256 scalars produce incorrect results. There are... | 1,178 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2022 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.",
"//go:build !purego && (amd64 || arm64)",
"package nistec",
"import \"errors\"",
"// Montgomery multiplication modulo org(G). Sets res = in1 * i... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [165, 409, 27], "buggy_code_start_loc": [9, 366, 27], "filenames": ["nistec_test.go", "p256_asm.go", "p256_ordinv.go"], "fixing_code_end_loc": [247, 427, 29], "fixing_code_start_loc": [10, 367, 28], "message": "Multiplication of certain unreduced P-256 scalars produce incorrect results. There are... | 1,178 |
Determine whether the {function_name} code is vulnerable or not. | [
"// +build linux freebsd",
"package daemon // import \"github.com/docker/docker/daemon\"",
"import (\n\t\"context\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"time\"",
"\t\"github.com/docker/docker/container\"\n\t\"github.com/docker/docker/daemon/links\"\n\t\"github.com/doc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [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 linux freebsd",
"package daemon // import \"github.com/docker/docker/daemon\"",
"import (\n\t\"context\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"time\"",
"\t\"github.com/docker/docker/container\"\n\t\"github.com/docker/docker/daemon/links\"\n\t\"github.com/doc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 daemon // import \"github.com/docker/docker/daemon\"",
"import (\n\t\"fmt\"\n\t\"net\"\n\t\"runtime\"\n\t\"strings\"\n\t\"time\"",
"\t\"github.com/containerd/containerd/platforms\"\n\t\"github.com/docker/docker/api/types\"\n\tcontainertypes \"github.com/docker/docker/api/types/container\"\n\tnetworktyp... | [
1,
1,
1,
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
] | 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 daemon // import \"github.com/docker/docker/daemon\"",
"import (\n\t\"fmt\"\n\t\"net\"\n\t\"runtime\"\n\t\"strings\"\n\t\"time\"",
"\t\"github.com/containerd/containerd/platforms\"\n\t\"github.com/docker/docker/api/types\"\n\tcontainertypes \"github.com/docker/docker/api/types/container\"\n\tnetworktyp... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 daemon exposes the functions that occur on the host server\n// that the Docker daemon is running.\n//\n// In implementing the various functions of the daemon, there is often\n// a method-specific struct for configuring the runtime behavior.\npackage daemon // import \"github.com/docker/docker/daemon\"",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 daemon exposes the functions that occur on the host server\n// that the Docker daemon is running.\n//\n// In implementing the various functions of the daemon, there is often\n// a method-specific struct for configuring the runtime behavior.\npackage daemon // import \"github.com/docker/docker/daemon\"",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux freebsd",
"package daemon // import \"github.com/docker/docker/daemon\"",
"import (\n\t\"bufio\"\n\t\"context\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"runtime\"\n\t\"runtime/debug\"\n\t\"strconv\"\n\t\"strings\"\n\t\"time\"",
"\t\"github.com/containerd/cgro... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux freebsd",
"package daemon // import \"github.com/docker/docker/daemon\"",
"import (\n\t\"bufio\"\n\t\"context\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"runtime\"\n\t\"runtime/debug\"\n\t\"strconv\"\n\t\"strings\"\n\t\"time\"",
"\t\"github.com/containerd/cgro... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux",
"/*",
"aufs driver directory structure",
" .\n ├── layers // Metadata of layers\n │ ├── 1\n │ ├── 2\n │ └── 3\n ├── diff // Content of the layer\n │ ├── 1 // Contains layers that need to be mounted for the id\n │ ├── 2\n │ └── 3\n └── mnt // Mount points for the r... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux",
"/*",
"aufs driver directory structure",
" .\n ├── layers // Metadata of layers\n │ ├── 1\n │ ├── 2\n │ └── 3\n ├── diff // Content of the layer\n │ ├── 1 // Contains layers that need to be mounted for the id\n │ ├── 2\n │ └── 3\n └── mnt // Mount points for the r... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux",
"package btrfs // import \"github.com/docker/docker/daemon/graphdriver/btrfs\"",
"/*\n#include <stdlib.h>\n#include <dirent.h>\n#include <btrfs/ioctl.h>\n#include <btrfs/ctree.h>",
"static void set_name_btrfs_ioctl_vol_args_v2(struct btrfs_ioctl_vol_args_v2* btrfs_struct, const char* value)... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [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 linux",
"package btrfs // import \"github.com/docker/docker/daemon/graphdriver/btrfs\"",
"/*\n#include <stdlib.h>\n#include <dirent.h>\n#include <btrfs/ioctl.h>\n#include <btrfs/ctree.h>",
"static void set_name_btrfs_ioctl_vol_args_v2(struct btrfs_ioctl_vol_args_v2* btrfs_struct, const char* value)... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux",
"package fuseoverlayfs // import \"github.com/docker/docker/daemon/graphdriver/fuse-overlayfs\"",
"import (\n\t\"bytes\"\n\t\"context\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"strings\"",
"\t\"github.com/containerd/containerd/sys\... | [
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,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [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 linux",
"package fuseoverlayfs // import \"github.com/docker/docker/daemon/graphdriver/fuse-overlayfs\"",
"import (\n\t\"bytes\"\n\t\"context\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"strings\"",
"\t\"github.com/containerd/containerd/sys\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux",
"package overlay // import \"github.com/docker/docker/daemon/graphdriver/overlay\"",
"import (\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"strings\"",
"\t\"github.com/docker/docker/daemon/graphdriver\"\n\t\"github.com/docker/docker/da... | [
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,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
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 linux",
"package overlay // import \"github.com/docker/docker/daemon/graphdriver/overlay\"",
"import (\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"strings\"",
"\t\"github.com/docker/docker/daemon/graphdriver\"\n\t\"github.com/docker/docker/da... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux",
"package overlay2 // import \"github.com/docker/docker/daemon/graphdriver/overlay2\"",
"import (\n\t\"context\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"",
"\t\"github.com/containerd/containerd/sy... | [
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,
0,
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. | [
"// +build linux",
"package overlay2 // import \"github.com/docker/docker/daemon/graphdriver/overlay2\"",
"import (\n\t\"context\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path\"\n\t\"path/filepath\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"",
"\t\"github.com/containerd/containerd/sy... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 vfs // import \"github.com/docker/docker/daemon/graphdriver/vfs\"",
"import (\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"",
"\t\"github.com/docker/docker/daemon/graphdriver\"\n\t\"github.com/docker/docker/errdefs\"\n\t\"github.com/docker/docker/pkg/containerfs\"\n\t\"github.com/docker/docker/pkg/idtools\... | [
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
] | 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 vfs // import \"github.com/docker/docker/daemon/graphdriver/vfs\"",
"import (\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"",
"\t\"github.com/docker/docker/daemon/graphdriver\"\n\t\"github.com/docker/docker/errdefs\"\n\t\"github.com/docker/docker/pkg/containerfs\"\n\t\"github.com/docker/docker/pkg/idtools\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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. | [
"// +build linux freebsd",
"package zfs // import \"github.com/docker/docker/daemon/graphdriver/zfs\"",
"import (\n\t\"fmt\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"\n\t\"time\"",
"\t\"github.com/docker/docker/daemon/graphdriver\"\n\t\"github.com/docker/docker/pkg/contain... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 linux freebsd",
"package zfs // import \"github.com/docker/docker/daemon/graphdriver/zfs\"",
"import (\n\t\"fmt\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"\n\t\"time\"",
"\t\"github.com/docker/docker/daemon/graphdriver\"\n\t\"github.com/docker/docker/pkg/contain... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 idtools // import \"github.com/docker/docker/pkg/idtools\"",
"import (\n\t\"bufio\"\n\t\"fmt\"\n\t\"os\"\n\t\"strconv\"\n\t\"strings\"\n)",
"// IDMap contains a single entry for user namespace range remapping. An array\n// of IDMap entries represents the structure that will be provided to the Linux\n//... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | 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 idtools // import \"github.com/docker/docker/pkg/idtools\"",
"import (\n\t\"bufio\"\n\t\"fmt\"\n\t\"os\"\n\t\"strconv\"\n\t\"strings\"\n)",
"// IDMap contains a single entry for user namespace range remapping. An array\n// of IDMap entries represents the structure that will be provided to the Linux\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
] | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.