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 * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * This file is part of the Froxlor project.\n * Copyright (c) 2010 the Froxlor Team (see authors).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43, 46, 38, 46, 51, 44, 40, 37, 40, 41, 267, 116, 45, 35, 53, 57, 51, 50, 48, 54, 41, 44, 41, 379, 270, 45, 44, 47, 301, 44, 47], "buggy_code_start_loc": [42, 44, 37, 45, 50, 43, 39, 36, 39, 40, 42, 115, 42, 34, 52, 50, 50, 49, 47, 53, 40, 43, 40, 56, 83, 34, 44, 46, 298, 42, 46], "filenames": [... | 543 |
Determine whether the {function_name} code is vulnerable or not. | [
"install plugin server_audit soname 'server_audit';\nshow variables like 'server_audit%';\nVariable_name\tValue\nserver_audit_events\t\nserver_audit_excl_users\t\nserver_audit_file_path\tserver_audit.log\nserver_audit_file_rotate_now\tOFF\nserver_audit_file_rotate_size\t1000000\nserver_audit_file_rotations\t9\nserv... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [487, 212, 2588], "buggy_code_start_loc": [263, 212, 304], "filenames": ["mysql-test/suite/plugins/r/server_audit.result", "mysql-test/suite/plugins/t/server_audit.test", "plugin/server_audit/server_audit.c"], "fixing_code_end_loc": [492, 215, 2571], "fixing_code_start_loc": [264, 213, 303], "mes... | 544 |
Determine whether the {function_name} code is vulnerable or not. | [
"install plugin server_audit soname 'server_audit';\nshow variables like 'server_audit%';\nVariable_name\tValue\nserver_audit_events\t\nserver_audit_excl_users\t\nserver_audit_file_path\tserver_audit.log\nserver_audit_file_rotate_now\tOFF\nserver_audit_file_rotate_size\t1000000\nserver_audit_file_rotations\t9\nserv... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [487, 212, 2588], "buggy_code_start_loc": [263, 212, 304], "filenames": ["mysql-test/suite/plugins/r/server_audit.result", "mysql-test/suite/plugins/t/server_audit.test", "plugin/server_audit/server_audit.c"], "fixing_code_end_loc": [492, 215, 2571], "fixing_code_start_loc": [264, 213, 303], "mes... | 544 |
Determine whether the {function_name} code is vulnerable or not. | [
"--source include/have_plugin_auth.inc\n--source include/not_embedded.inc",
"if (!$SERVER_AUDIT_SO) {\n skip No SERVER_AUDIT plugin;\n}",
"# An unfortunate wait for check-testcase.test to complete disconnect.\nlet count_sessions= 1;\nsource include/wait_until_count_sessions.inc;",
"let $MYSQLD_DATADIR= `SELE... | [
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": [487, 212, 2588], "buggy_code_start_loc": [263, 212, 304], "filenames": ["mysql-test/suite/plugins/r/server_audit.result", "mysql-test/suite/plugins/t/server_audit.test", "plugin/server_audit/server_audit.c"], "fixing_code_end_loc": [492, 215, 2571], "fixing_code_start_loc": [264, 213, 303], "mes... | 544 |
Determine whether the {function_name} code is vulnerable or not. | [
"--source include/have_plugin_auth.inc\n--source include/not_embedded.inc",
"if (!$SERVER_AUDIT_SO) {\n skip No SERVER_AUDIT plugin;\n}",
"# An unfortunate wait for check-testcase.test to complete disconnect.\nlet count_sessions= 1;\nsource include/wait_until_count_sessions.inc;",
"let $MYSQLD_DATADIR= `SELE... | [
1,
1,
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": [487, 212, 2588], "buggy_code_start_loc": [263, 212, 304], "filenames": ["mysql-test/suite/plugins/r/server_audit.result", "mysql-test/suite/plugins/t/server_audit.test", "plugin/server_audit/server_audit.c"], "fixing_code_end_loc": [492, 215, 2571], "fixing_code_start_loc": [264, 213, 303], "mes... | 544 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright (C) 2013, 2015, Alexey Botchkov and SkySQL Ab",
" This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation; version 2 of the License.",
" This program is distributed in the hop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [487, 212, 2588], "buggy_code_start_loc": [263, 212, 304], "filenames": ["mysql-test/suite/plugins/r/server_audit.result", "mysql-test/suite/plugins/t/server_audit.test", "plugin/server_audit/server_audit.c"], "fixing_code_end_loc": [492, 215, 2571], "fixing_code_start_loc": [264, 213, 303], "mes... | 544 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright (C) 2013, 2015, Alexey Botchkov and SkySQL Ab",
" This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation; version 2 of the License.",
" This program is distributed in the hop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [487, 212, 2588], "buggy_code_start_loc": [263, 212, 304], "filenames": ["mysql-test/suite/plugins/r/server_audit.result", "mysql-test/suite/plugins/t/server_audit.test", "plugin/server_audit/server_audit.c"], "fixing_code_end_loc": [492, 215, 2571], "fixing_code_start_loc": [264, 213, 303], "mes... | 544 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\nAllen Disk 1.6\nCopyright (C) 2012~2016 Allen Chou\nAuthor: Allen Chou ( http://allenchou.cc )\nLicense: MIT License\n*/\ninclude 'config.php';\nif (!session_id()) {\n session_start();\n}\nset_time_limit(10);\n$show = true;\nfunction sizecount($size)\n{\n if ($size >= 0.001 && $size < 1) {\n ... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [107, 46], "buggy_code_start_loc": [105, 45], "filenames": ["downfile.php", "loginc.php"], "fixing_code_end_loc": [107, 46], "fixing_code_start_loc": [105, 45], "message": "Allen Disk 1.6 has XSS in the id parameter to downfile.php.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nul... | 545 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\nAllen Disk 1.6\nCopyright (C) 2012~2016 Allen Chou\nAuthor: Allen Chou ( http://allenchou.cc )\nLicense: MIT License\n*/\ninclude 'config.php';\nif (!session_id()) {\n session_start();\n}\nset_time_limit(10);\n$show = true;\nfunction sizecount($size)\n{\n if ($size >= 0.001 && $size < 1) {\n ... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [107, 46], "buggy_code_start_loc": [105, 45], "filenames": ["downfile.php", "loginc.php"], "fixing_code_end_loc": [107, 46], "fixing_code_start_loc": [105, 45], "message": "Allen Disk 1.6 has XSS in the id parameter to downfile.php.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nul... | 545 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\nAllen Disk 1.6\nCopyright (C) 2012~2016 Allen Chou\nAuthor: Allen Chou ( http://allenchou.cc )\nLicense: MIT License\n*/",
"include 'config.php';\nif (!session_id()) {\n session_start();\n}\ninclude dirname(__FILE__).'/class/password_compat.php';\nfunction login($username, $password)\n{\n $r... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [107, 46], "buggy_code_start_loc": [105, 45], "filenames": ["downfile.php", "loginc.php"], "fixing_code_end_loc": [107, 46], "fixing_code_start_loc": [105, 45], "message": "Allen Disk 1.6 has XSS in the id parameter to downfile.php.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nul... | 545 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\nAllen Disk 1.6\nCopyright (C) 2012~2016 Allen Chou\nAuthor: Allen Chou ( http://allenchou.cc )\nLicense: MIT License\n*/",
"include 'config.php';\nif (!session_id()) {\n session_start();\n}\ninclude dirname(__FILE__).'/class/password_compat.php';\nfunction login($username, $password)\n{\n $r... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [107, 46], "buggy_code_start_loc": [105, 45], "filenames": ["downfile.php", "loginc.php"], "fixing_code_end_loc": [107, 46], "fixing_code_start_loc": [105, 45], "message": "Allen Disk 1.6 has XSS in the id parameter to downfile.php.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nul... | 545 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* sternenblog\n * A small file based blog software\n * intended to run as a CGI script\n * written in C by Lukas Epple aka\n * sternenseemann */\n#define _POSIX_C_SOURCE 200809L\n#define _XOPEN_SOURCE 501\n#include <stdio.h>\n#include <stdlib.h>\n#include <dirent.h>\n#include <sys/types.h>\n#include <string.h>\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,
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": [190], "buggy_code_start_loc": [190], "filenames": ["main.c"], "fixing_code_end_loc": [199], "fixing_code_start_loc": [191], "message": "A vulnerability, which was classified as problematic, has been found in sternenseemann sternenblog. This issue affects the function blog_index of the file main.... | 546 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* sternenblog\n * A small file based blog software\n * intended to run as a CGI script\n * written in C by Lukas Epple aka\n * sternenseemann */\n#define _POSIX_C_SOURCE 200809L\n#define _XOPEN_SOURCE 501\n#include <stdio.h>\n#include <stdlib.h>\n#include <dirent.h>\n#include <sys/types.h>\n#include <string.h>\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": [190], "buggy_code_start_loc": [190], "filenames": ["main.c"], "fixing_code_end_loc": [199], "fixing_code_start_loc": [191], "message": "A vulnerability, which was classified as problematic, has been found in sternenseemann sternenblog. This issue affects the function blog_index of the file main.... | 546 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * BZip3 - A spiritual successor to BZip2.\n * Copyright (C) 2022 Kamila Szewczyk\n *\n * This program is free software: you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 3 of the License, or (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": [624], "buggy_code_start_loc": [623], "filenames": ["src/libbz3.c"], "fixing_code_end_loc": [624], "fixing_code_start_loc": [623], "message": "An issue was discovered in libbzip3.a in bzip3 before 1.2.3. There is a crash caused by an invalid memmove in bz3_decode_block.", "other": {"cve": {"cisaA... | 547 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * BZip3 - A spiritual successor to BZip2.\n * Copyright (C) 2022 Kamila Szewczyk\n *\n * This program is free software: you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 3 of the License, or (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": [624], "buggy_code_start_loc": [623], "filenames": ["src/libbz3.c"], "fixing_code_end_loc": [624], "fixing_code_start_loc": [623], "message": "An issue was discovered in libbzip3.a in bzip3 before 1.2.3. There is a crash caused by an invalid memmove in bz3_decode_block.", "other": {"cve": {"cisaA... | 547 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file GPMF_parser.c\n * \n * @brief GPMF Parser library\n *",
" * @version 1.2.1",
" * \n * (C) Copyright 2017 GoPro Inc (http://gopro.com/).\n *\t\n * Licensed under either:\n * - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 \n * - MIT license, http://opensource.org/licen... | [
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,
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": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file GPMF_parser.c\n * \n * @brief GPMF Parser library\n *",
" * @version 1.2.2",
" * \n * (C) Copyright 2017 GoPro Inc (http://gopro.com/).\n *\t\n * Licensed under either:\n * - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 \n * - MIT license, http://opensource.org/licen... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file GPMF_parser.h\n * \n * @brief GPMF Parser library include\n * ",
" * @version 1.1.0",
" * \n * (C) Copyright 2017 GoPro Inc (http://gopro.com/).\n *\t\n * Licensed under either:\n * - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 \n * - MIT license, http://opensource.... | [
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file GPMF_parser.h\n * \n * @brief GPMF Parser library include\n * ",
" * @version 1.1.1",
" * \n * (C) Copyright 2017 GoPro Inc (http://gopro.com/).\n *\t\n * Licensed under either:\n * - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 \n * - MIT license, http://opensource.... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file GPMF_demo.c\n *\n * @brief Demo to extract GPMF from an MP4\n *\n * @version 1.0.1\n *\n * (C) Copyright 2017 GoPro Inc (http://gopro.com/).\n *\t\n * Licensed under either:\n * - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 \n * - MIT license, http://opensource.org/lice... | [
1,
1,
1,
1,
1,
1,
1,
0,
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,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file GPMF_demo.c\n *\n * @brief Demo to extract GPMF from an MP4\n *\n * @version 1.0.1\n *\n * (C) Copyright 2017 GoPro Inc (http://gopro.com/).\n *\t\n * Licensed under either:\n * - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 \n * - MIT license, http://opensource.org/lice... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file mp4reader.c\n*\n* @brief Way Too Crude MP4|MOV reader\n*",
"* @version 1.2.1",
"*",
"* (C) Copyright 2017 GoPro Inc (http://gopro.com/).",
"*",
"* 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 m... | [
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file mp4reader.c\n*\n* @brief Way Too Crude MP4|MOV reader\n*",
"* @version 1.3.1",
"*",
"* (C) Copyright 2017-2019 GoPro Inc (http://gopro.com/).",
"*",
"* Licensed under either:\n* - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0\n* - MIT license, http://opensource.o... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file mp4reader.h\n*\n* @brief Way Too Crude MP4|MOV reader\n*\n* @version 1.2.0\n*\n* (C) Copyright 2017 GoPro Inc (http://gopro.com/).\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 ... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*! @file mp4reader.h\n*\n* @brief Way Too Crude MP4|MOV reader\n*\n* @version 1.2.0\n*\n* (C) Copyright 2017 GoPro Inc (http://gopro.com/).\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 ... | [
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": [46, 130, 244, 971, 114], "buggy_code_start_loc": [5, 5, 48, 5, 66], "filenames": ["GPMF_parser.c", "GPMF_parser.h", "demo/GPMF_demo.c", "demo/GPMF_mp4reader.c", "demo/GPMF_mp4reader.h"], "fixing_code_end_loc": [46, 134, 251, 1131, 115], "fixing_code_start_loc": [5, 5, 49, 5, 67], "message": "GoP... | 548 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * (c) 2010-2017 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */",
"'use strict';\nimport H from './Globals.js';\nimport './Utilities.js';\nimport './Color.js';\nvar SVGElement,\n\tSVGRenderer,",
"\taddEvent = H.addEvent,\n\tanimate = H.animate,\n\tattr = H.attr,\n\tcharts = H.charts,\n\tc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2654, 84, 206], "buggy_code_start_loc": [2351, 84, 206], "filenames": ["js/parts/SvgRenderer.js", "package.json", "samples/unit-tests/svgrenderer/text/demo.js"], "fixing_code_end_loc": [2672, 86, 243], "fixing_code_start_loc": [2350, 85, 207], "message": "In js/parts/SvgRenderer.js in Highcharts... | 549 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * (c) 2010-2017 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */",
"'use strict';\nimport H from './Globals.js';\nimport './Utilities.js';\nimport './Color.js';\nvar SVGElement,\n\tSVGRenderer,",
"\taddEvent = H.addEvent,\n\tanimate = H.animate,\n\tattr = H.attr,\n\tcharts = H.charts,\n\tc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2654, 84, 206], "buggy_code_start_loc": [2351, 84, 206], "filenames": ["js/parts/SvgRenderer.js", "package.json", "samples/unit-tests/svgrenderer/text/demo.js"], "fixing_code_end_loc": [2672, 86, 243], "fixing_code_start_loc": [2350, 85, 207], "message": "In js/parts/SvgRenderer.js in Highcharts... | 549 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"highcharts\",\n \"version\": \"6.0.7\",\n \"description\": \"JavaScript charting framework\",\n \"main\": \"lib/highcharts\",\n \"author\": \"Highsoft AS <support@highcharts.com> (http://www.highcharts.com/about)\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.co... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [2654, 84, 206], "buggy_code_start_loc": [2351, 84, 206], "filenames": ["js/parts/SvgRenderer.js", "package.json", "samples/unit-tests/svgrenderer/text/demo.js"], "fixing_code_end_loc": [2672, 86, 243], "fixing_code_start_loc": [2350, 85, 207], "message": "In js/parts/SvgRenderer.js in Highcharts... | 549 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"highcharts\",\n \"version\": \"6.0.7\",\n \"description\": \"JavaScript charting framework\",\n \"main\": \"lib/highcharts\",\n \"author\": \"Highsoft AS <support@highcharts.com> (http://www.highcharts.com/about)\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.co... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [2654, 84, 206], "buggy_code_start_loc": [2351, 84, 206], "filenames": ["js/parts/SvgRenderer.js", "package.json", "samples/unit-tests/svgrenderer/text/demo.js"], "fixing_code_end_loc": [2672, 86, 243], "fixing_code_start_loc": [2350, 85, 207], "message": "In js/parts/SvgRenderer.js in Highcharts... | 549 |
Determine whether the {function_name} code is vulnerable or not. | [
"QUnit.test('titleSetter', function (assert) {\n var chart = Highcharts.chart('container', {\n }),\n str = 'The quick brown fox<br> jumps over the lazy dog',\n newTitle = 'Quick brown fox',\n text = chart.renderer.text(str, 100, 100).css({ width: 100, textOverflow: 'ellipsis' }).add()... | [
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": [2654, 84, 206], "buggy_code_start_loc": [2351, 84, 206], "filenames": ["js/parts/SvgRenderer.js", "package.json", "samples/unit-tests/svgrenderer/text/demo.js"], "fixing_code_end_loc": [2672, 86, 243], "fixing_code_start_loc": [2350, 85, 207], "message": "In js/parts/SvgRenderer.js in Highcharts... | 549 |
Determine whether the {function_name} code is vulnerable or not. | [
"QUnit.test('titleSetter', function (assert) {\n var chart = Highcharts.chart('container', {\n }),\n str = 'The quick brown fox<br> jumps over the lazy dog',\n newTitle = 'Quick brown fox',\n text = chart.renderer.text(str, 100, 100).css({ width: 100, textOverflow: 'ellipsis' }).add()... | [
1,
1,
1,
1,
1,
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": [2654, 84, 206], "buggy_code_start_loc": [2351, 84, 206], "filenames": ["js/parts/SvgRenderer.js", "package.json", "samples/unit-tests/svgrenderer/text/demo.js"], "fixing_code_end_loc": [2672, 86, 243], "fixing_code_start_loc": [2350, 85, 207], "message": "In js/parts/SvgRenderer.js in Highcharts... | 549 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Minio Cloud Storage, (C) 2015-2018 Minio, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless requ... | [
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,
0,
1,
0,
1,
0,
0,
0,
0,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [265, 382, 69], "buggy_code_start_loc": [30, 21, 64], "filenames": ["cmd/auth-handler.go", "cmd/auth-handler_test.go", "pkg/hash/reader.go"], "fixing_code_end_loc": [252, 383, 71], "fixing_code_start_loc": [31, 22, 64], "message": "Minio Inc. Minio S3 server version prior to RELEASE.2018-05-16T23... | 550 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Minio Cloud Storage, (C) 2015-2018 Minio, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless 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
] | PreciseBugs | {"buggy_code_end_loc": [265, 382, 69], "buggy_code_start_loc": [30, 21, 64], "filenames": ["cmd/auth-handler.go", "cmd/auth-handler_test.go", "pkg/hash/reader.go"], "fixing_code_end_loc": [252, 383, 71], "fixing_code_start_loc": [31, 22, 64], "message": "Minio Inc. Minio S3 server version prior to RELEASE.2018-05-16T23... | 550 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Minio Cloud Storage, (C) 2016, 2017 Minio, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless req... | [
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,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [265, 382, 69], "buggy_code_start_loc": [30, 21, 64], "filenames": ["cmd/auth-handler.go", "cmd/auth-handler_test.go", "pkg/hash/reader.go"], "fixing_code_end_loc": [252, 383, 71], "fixing_code_start_loc": [31, 22, 64], "message": "Minio Inc. Minio S3 server version prior to RELEASE.2018-05-16T23... | 550 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Minio Cloud Storage, (C) 2016, 2017 Minio, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless req... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [265, 382, 69], "buggy_code_start_loc": [30, 21, 64], "filenames": ["cmd/auth-handler.go", "cmd/auth-handler_test.go", "pkg/hash/reader.go"], "fixing_code_end_loc": [252, 383, 71], "fixing_code_start_loc": [31, 22, 64], "message": "Minio Inc. Minio S3 server version prior to RELEASE.2018-05-16T23... | 550 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Minio Cloud Storage, (C) 2017 Minio, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required ... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [265, 382, 69], "buggy_code_start_loc": [30, 21, 64], "filenames": ["cmd/auth-handler.go", "cmd/auth-handler_test.go", "pkg/hash/reader.go"], "fixing_code_end_loc": [252, 383, 71], "fixing_code_start_loc": [31, 22, 64], "message": "Minio Inc. Minio S3 server version prior to RELEASE.2018-05-16T23... | 550 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Minio Cloud Storage, (C) 2017 Minio, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required ... | [
1,
1,
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": [265, 382, 69], "buggy_code_start_loc": [30, 21, 64], "filenames": ["cmd/auth-handler.go", "cmd/auth-handler_test.go", "pkg/hash/reader.go"], "fixing_code_end_loc": [252, 383, 71], "fixing_code_start_loc": [31, 22, 64], "message": "Minio Inc. Minio S3 server version prior to RELEASE.2018-05-16T23... | 550 |
Determine whether the {function_name} code is vulnerable or not. | [
"privacyOptions = { // true means exposed\n _id: true,\n commentCount: true,\n createdAt: true,\n email_hash: true,\n isInvited: true,\n karma: true,\n postCount: true,\n slug: true,\n username: true,\n 'profile.username': true,\n 'profile.notifications': true,\n 'profile.bio': true,\n 'profile.github'... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [27, 5], "buggy_code_start_loc": [27, 4], "filenames": ["lib/publications.js", "server/publications/users.js"], "fixing_code_end_loc": [33, 5], "fixing_code_start_loc": [28, 4], "message": "TelescopeJS before 0.15 leaks user bcrypt password hashes in websocket messages, which might allow remote a... | 551 |
Determine whether the {function_name} code is vulnerable or not. | [
"privacyOptions = { // true means exposed\n _id: true,\n commentCount: true,\n createdAt: true,\n email_hash: true,\n isInvited: true,\n karma: true,\n postCount: true,\n slug: true,\n username: true,\n 'profile.username': true,\n 'profile.notifications': true,\n 'profile.bio': true,\n 'profile.github'... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [27, 5], "buggy_code_start_loc": [27, 4], "filenames": ["lib/publications.js", "server/publications/users.js"], "fixing_code_end_loc": [33, 5], "fixing_code_start_loc": [28, 4], "message": "TelescopeJS before 0.15 leaks user bcrypt password hashes in websocket messages, which might allow remote a... | 551 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Publish the current user",
"Meteor.publish('currentUser', function() {",
" var user = Meteor.users.find({_id: this.userId});",
" return user;\n});",
"// publish all users for admins to make autocomplete work\n// TODO: find a better way",
"Meteor.publish('allUsersAdmin', function() {\n var selector ... | [
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [27, 5], "buggy_code_start_loc": [27, 4], "filenames": ["lib/publications.js", "server/publications/users.js"], "fixing_code_end_loc": [33, 5], "fixing_code_start_loc": [28, 4], "message": "TelescopeJS before 0.15 leaks user bcrypt password hashes in websocket messages, which might allow remote a... | 551 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Publish the current user",
"Meteor.publish('currentUser', function() {",
" var user = Meteor.users.find({_id: this.userId}, {fields: ownUserOptions});",
" return user;\n});",
"// publish all users for admins to make autocomplete work\n// TODO: find a better way",
"Meteor.publish('allUsersAdmin', fun... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [27, 5], "buggy_code_start_loc": [27, 4], "filenames": ["lib/publications.js", "server/publications/users.js"], "fixing_code_end_loc": [33, 5], "fixing_code_start_loc": [28, 4], "message": "TelescopeJS before 0.15 leaks user bcrypt password hashes in websocket messages, which might allow remote a... | 551 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/* Copyright (C) 2016\tLaurent Destailleur\t\t<eldy@users.sourceforge.net>",
" *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 3 of the License, or\n * (... | [
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [49], "buggy_code_start_loc": [2], "filenames": ["htdocs/public/notice.php"], "fixing_code_end_loc": [49], "fixing_code_start_loc": [2], "message": "A reflected cross-site scripting (XSS) vulnerability in Dolibarr 8.0.2 allows remote attackers to inject arbitrary web script or HTML via the transp... | 552 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/* Copyright (C) 2016-2018\tLaurent Destailleur\t\t<eldy@users.sourceforge.net>",
" *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 3 of the License, or\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [49], "buggy_code_start_loc": [2], "filenames": ["htdocs/public/notice.php"], "fixing_code_end_loc": [49], "fixing_code_start_loc": [2], "message": "A reflected cross-site scripting (XSS) vulnerability in Dolibarr 8.0.2 allows remote attackers to inject arbitrary web script or HTML via the transp... | 552 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n// +-----------------------------------------------------------------------+\n// | Piwigo - a PHP based photo gallery |\n// +-----------------------------------------------------------------------+\n// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org... | [
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [39], "buggy_code_start_loc": [30], "filenames": ["show_default.php"], "fixing_code_end_loc": [41], "fixing_code_start_loc": [31], "message": "show_default.php in the LocalFilesEditor extension before 11.4.0.1 for Piwigo allows Local File Inclusion because the file parameter is not validated with... | 553 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n// +-----------------------------------------------------------------------+\n// | Piwigo - a PHP based photo gallery |\n// +-----------------------------------------------------------------------+\n// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [39], "buggy_code_start_loc": [30], "filenames": ["show_default.php"], "fixing_code_end_loc": [41], "fixing_code_start_loc": [31], "message": "show_default.php in the LocalFilesEditor extension before 11.4.0.1 for Piwigo allows Local File Inclusion because the file parameter is not validated with... | 553 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict';",
"const async = require('async');\nconst passport = require('passport');\nconst passportLocal = require('passport-local').Strategy;\nconst BearerStrategy = require('passport-http-bearer').Strategy;\nconst winston = require('winston');",
"const meta = require('../meta');\nconst controllers = requ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [54], "buggy_code_start_loc": [47], "filenames": ["src/routes/authentication.js"], "fixing_code_end_loc": [50], "fixing_code_start_loc": [47], "message": "Nodebb is an open source Node.js based forum software. In affected versions incorrect logic present in the token verification step unintention... | 554 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict';",
"const async = require('async');\nconst passport = require('passport');\nconst passportLocal = require('passport-local').Strategy;\nconst BearerStrategy = require('passport-http-bearer').Strategy;\nconst winston = require('winston');",
"const meta = require('../meta');\nconst controllers = 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
] | PreciseBugs | {"buggy_code_end_loc": [54], "buggy_code_start_loc": [47], "filenames": ["src/routes/authentication.js"], "fixing_code_end_loc": [50], "fixing_code_start_loc": [47], "message": "Nodebb is an open source Node.js based forum software. In affected versions incorrect logic present in the token verification step unintention... | 554 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/perl",
"# gitolite shell, invoked from ~/.ssh/authorized_keys\n# ----------------------------------------------------------------------",
"use FindBin;",
"BEGIN { $ENV{GL_BINDIR} = $FindBin::RealBin; }\nBEGIN { $ENV{GL_LIBDIR} = \"$ENV{GL_BINDIR}/lib\"; }\nuse lib $ENV{GL_LIBDIR};",
"# set HOME\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [114, 243], "buggy_code_start_loc": [114, 21], "filenames": ["src/gitolite-shell", "src/lib/Gitolite/Common.pm"], "fixing_code_end_loc": [122, 260], "fixing_code_start_loc": [115, 22], "message": "Gitolite before 3.6.9 does not (in certain configurations involving @all or a regex) properly restri... | 555 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/perl",
"# gitolite shell, invoked from ~/.ssh/authorized_keys\n# ----------------------------------------------------------------------",
"use FindBin;",
"BEGIN { $ENV{GL_BINDIR} = $FindBin::RealBin; }\nBEGIN { $ENV{GL_LIBDIR} = \"$ENV{GL_BINDIR}/lib\"; }\nuse lib $ENV{GL_LIBDIR};",
"# set HOME\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [114, 243], "buggy_code_start_loc": [114, 21], "filenames": ["src/gitolite-shell", "src/lib/Gitolite/Common.pm"], "fixing_code_end_loc": [122, 260], "fixing_code_start_loc": [115, 22], "message": "Gitolite before 3.6.9 does not (in certain configurations involving @all or a regex) properly restri... | 555 |
Determine whether the {function_name} code is vulnerable or not. | [
"package Gitolite::Common;",
"# common (non-gitolite-specific) functions\n# ----------------------------------------------------------------------",
"#<<<\n@EXPORT = qw(\n print2 dbg _mkdir _open ln_sf tsh_rc sort_u\n say _warn _chdir _print tsh_text list_phy_repos\n say... | [
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,
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... | PreciseBugs | {"buggy_code_end_loc": [114, 243], "buggy_code_start_loc": [114, 21], "filenames": ["src/gitolite-shell", "src/lib/Gitolite/Common.pm"], "fixing_code_end_loc": [122, 260], "fixing_code_start_loc": [115, 22], "message": "Gitolite before 3.6.9 does not (in certain configurations involving @all or a regex) properly restri... | 555 |
Determine whether the {function_name} code is vulnerable or not. | [
"package Gitolite::Common;",
"# common (non-gitolite-specific) functions\n# ----------------------------------------------------------------------",
"#<<<\n@EXPORT = qw(\n print2 dbg _mkdir _open ln_sf tsh_rc sort_u\n say _warn _chdir _print tsh_text list_phy_repos\n say... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [114, 243], "buggy_code_start_loc": [114, 21], "filenames": ["src/gitolite-shell", "src/lib/Gitolite/Common.pm"], "fixing_code_end_loc": [122, 260], "fixing_code_start_loc": [115, 22], "message": "Gitolite before 3.6.9 does not (in certain configurations involving @all or a regex) properly restri... | 555 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0\n/* Copyright (c) 2018, Linaro Ltd */",
"#include <linux/miscdevice.h>\n#include <linux/module.h>\n#include <linux/poll.h>\n#include <linux/skbuff.h>\n#include <linux/uaccess.h>",
"#include \"qrtr.h\"",
"struct qrtr_tun {\n\tstruct qrtr_endpoint ep;",
"\tstruct sk_buff_h... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [91], "buggy_code_start_loc": [87], "filenames": ["net/qrtr/tun.c"], "fixing_code_end_loc": [95], "fixing_code_start_loc": [87], "message": "A memory leak in the qrtr_tun_write_iter() function in net/qrtr/tun.c in the Linux kernel before 5.3 allows attackers to cause a denial of service (memory c... | 556 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0\n/* Copyright (c) 2018, Linaro Ltd */",
"#include <linux/miscdevice.h>\n#include <linux/module.h>\n#include <linux/poll.h>\n#include <linux/skbuff.h>\n#include <linux/uaccess.h>",
"#include \"qrtr.h\"",
"struct qrtr_tun {\n\tstruct qrtr_endpoint ep;",
"\tstruct sk_buff_h... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [91], "buggy_code_start_loc": [87], "filenames": ["net/qrtr/tun.c"], "fixing_code_end_loc": [95], "fixing_code_start_loc": [87], "message": "A memory leak in the qrtr_tun_write_iter() function in net/qrtr/tun.c in the Linux kernel before 5.3 allows attackers to cause a denial of service (memory c... | 556 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Changelog",
"All notable changes to Gogs are documented in this file.",
"## 0.13.0+dev (`main`)",
"### Added",
"- An unlisted option is added when create or migrate a repository. Unlisted repositories are public but not being listed for users without direct access in the UI. [#5733](https://github.com/go... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [28, 28, 440], "buggy_code_start_loc": [28, 28, 26], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil_test.go", "internal/route/repo/http.go"], "fixing_code_end_loc": [30, 33, 447], "fixing_code_start_loc": [29, 29, 27], "message": "Path Traversal in GitHub repository gogs/gogs prior to ... | 557 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Changelog",
"All notable changes to Gogs are documented in this file.",
"## 0.13.0+dev (`main`)",
"### Added",
"- An unlisted option is added when create or migrate a repository. Unlisted repositories are public but not being listed for users without direct access in the UI. [#5733](https://github.com/go... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [28, 28, 440], "buggy_code_start_loc": [28, 28, 26], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil_test.go", "internal/route/repo/http.go"], "fixing_code_end_loc": [30, 33, 447], "fixing_code_start_loc": [29, 29, 27], "message": "Path Traversal in GitHub repository gogs/gogs prior to ... | 557 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2020 The Gogs Authors. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.",
"package pathutil",
"import (\n\t\"testing\"",
"\t\"github.com/stretchr/testify/assert\"\n)",
"func TestClean(t *testing.T) {\n\ttests := []st... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [28, 28, 440], "buggy_code_start_loc": [28, 28, 26], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil_test.go", "internal/route/repo/http.go"], "fixing_code_end_loc": [30, 33, 447], "fixing_code_start_loc": [29, 29, 27], "message": "Path Traversal in GitHub repository gogs/gogs prior to ... | 557 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2020 The Gogs Authors. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.",
"package pathutil",
"import (\n\t\"testing\"",
"\t\"github.com/stretchr/testify/assert\"\n)",
"func TestClean(t *testing.T) {\n\ttests := []st... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [28, 28, 440], "buggy_code_start_loc": [28, 28, 26], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil_test.go", "internal/route/repo/http.go"], "fixing_code_end_loc": [30, 33, 447], "fixing_code_start_loc": [29, 29, 27], "message": "Path Traversal in GitHub repository gogs/gogs prior to ... | 557 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2017 The Gogs Authors. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.",
"package repo",
"import (\n\t\"bytes\"\n\t\"compress/gzip\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"path/filepath\"\n... | [
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,
0,
0,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [28, 28, 440], "buggy_code_start_loc": [28, 28, 26], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil_test.go", "internal/route/repo/http.go"], "fixing_code_end_loc": [30, 33, 447], "fixing_code_start_loc": [29, 29, 27], "message": "Path Traversal in GitHub repository gogs/gogs prior to ... | 557 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2017 The Gogs Authors. All rights reserved.\n// Use of this source code is governed by a MIT-style\n// license that can be found in the LICENSE file.",
"package repo",
"import (\n\t\"bytes\"\n\t\"compress/gzip\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path\"\n\t\"path/filepath\"\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": [28, 28, 440], "buggy_code_start_loc": [28, 28, 26], "filenames": ["CHANGELOG.md", "internal/pathutil/pathutil_test.go", "internal/route/repo/http.go"], "fixing_code_end_loc": [30, 33, 447], "fixing_code_start_loc": [29, 29, 27], "message": "Path Traversal in GitHub repository gogs/gogs prior to ... | 557 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*****************************************************************************\n * Licensed to the Apache Software Foundation (ASF) under one *\n * or more contributor license agreements. See the NOTICE file *\n * distributed with this work for additional information ... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
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,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [196, 60], "buggy_code_start_loc": [37, 60], "filenames": ["src/bsh/XThis.java", "tests/junitTests/src/bsh/BshSerializationTest.java"], "fixing_code_end_loc": [192, 77], "fixing_code_start_loc": [37, 61], "message": "BeanShell (bsh) before 2.0b6, when included on the classpath by an application t... | 558 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*****************************************************************************\n * Licensed to the Apache Software Foundation (ASF) under one *\n * or more contributor license agreements. See the NOTICE file *\n * distributed with this work for additional information ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [196, 60], "buggy_code_start_loc": [37, 60], "filenames": ["src/bsh/XThis.java", "tests/junitTests/src/bsh/BshSerializationTest.java"], "fixing_code_end_loc": [192, 77], "fixing_code_start_loc": [37, 61], "message": "BeanShell (bsh) before 2.0b6, when included on the classpath by an application t... | 558 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*****************************************************************************\r\n * Licensed to the Apache Software Foundation (ASF) under one *\r\n * or more contributor license agreements. See the NOTICE file *\r\n * distributed with this work for additional information ... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [196, 60], "buggy_code_start_loc": [37, 60], "filenames": ["src/bsh/XThis.java", "tests/junitTests/src/bsh/BshSerializationTest.java"], "fixing_code_end_loc": [192, 77], "fixing_code_start_loc": [37, 61], "message": "BeanShell (bsh) before 2.0b6, when included on the classpath by an application t... | 558 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*****************************************************************************\r\n * Licensed to the Apache Software Foundation (ASF) under one *\r\n * or more contributor license agreements. See the NOTICE file *\r\n * distributed with this work for additional information ... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [196, 60], "buggy_code_start_loc": [37, 60], "filenames": ["src/bsh/XThis.java", "tests/junitTests/src/bsh/BshSerializationTest.java"], "fixing_code_end_loc": [192, 77], "fixing_code_start_loc": [37, 61], "message": "BeanShell (bsh) before 2.0b6, when included on the classpath by an application t... | 558 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * card-cac.c: Support for CAC from NIST SP800-73\n * card-default.c: Support for cards with no driver\n *\n * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>\n * Copyright (C) 2005,2006,2007,2008,2009,2010 Douglas E. Engert <deengert@anl.gov>\n * Copyright (C) 2006, Identity Alliance, Thomas Harnin... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * card-cac.c: Support for CAC from NIST SP800-73\n * card-default.c: Support for cards with no driver\n *\n * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>\n * Copyright (C) 2005,2006,2007,2008,2009,2010 Douglas E. Engert <deengert@anl.gov>\n * Copyright (C) 2006, Identity Alliance, Thomas Harnin... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Support for ePass2003 smart cards\n *\n * Copyright (C) 2008, Weitao Sun <weitao@ftsafe.com>\n * Copyright (C) 2011, Xiaoshuo Wu <xiaoshuo@ftsafe.com>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Support for ePass2003 smart cards\n *\n * Copyright (C) 2008, Weitao Sun <weitao@ftsafe.com>\n * Copyright (C) 2011, Xiaoshuo Wu <xiaoshuo@ftsafe.com>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * card-muscle.c: Support for MuscleCard Applet from musclecard.com\n *\n * Copyright (C) 2006, Identity Alliance, Thomas Harning <support@identityalliance.com>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as pu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * card-muscle.c: Support for MuscleCard Applet from musclecard.com\n *\n * Copyright (C) 2006, Identity Alliance, Thomas Harning <support@identityalliance.com>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as pu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * card-tcos.c: Support for TCOS cards\n *\n * Copyright (C) 2011 Peter Koch <pk@opensc-project.org>\n * Copyright (C) 2002 g10 Code GmbH\n * Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Les... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * card-tcos.c: Support for TCOS cards\n *\n * Copyright (C) 2011 Peter Koch <pk@opensc-project.org>\n * Copyright (C) 2002 g10 Code GmbH\n * Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Les... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * PKCS15 emulation layer for EstEID card.\n *\n * Copyright (C) 2004, Martin Paljak <martin@martinpaljak.net>\n * Copyright (C) 2004, Bud P. Bruegger <bud@comune.grosseto.it>\n * Copyright (C) 2004, Antonino Iacono <ant_iacono@tin.it>\n * Copyright (C) 2003, Olaf Kirch <okir@suse.de>\n *\n * This library is f... | [
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * PKCS15 emulation layer for EstEID card.\n *\n * Copyright (C) 2004, Martin Paljak <martin@martinpaljak.net>\n * Copyright (C) 2004, Bud P. Bruegger <bud@comune.grosseto.it>\n * Copyright (C) 2004, Antonino Iacono <ant_iacono@tin.it>\n * Copyright (C) 2003, Olaf Kirch <okir@suse.de>\n *\n * This library is f... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * pkcs15-sc-hsm.c : Initialize PKCS#15 emulation\n *\n * Copyright (C) 2012 Andreas Schwier, CardContact, Minden, Germany\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundatio... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * pkcs15-sc-hsm.c : Initialize PKCS#15 emulation\n *\n * Copyright (C) 2012 Andreas Schwier, CardContact, Minden, Germany\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundatio... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * sc.c: General functions\n *\n * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * sc.c: General functions\n *\n * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * cryptoflex-tool.c: Tool for doing various Cryptoflex related stuff\n *\n * Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software F... | [
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,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * cryptoflex-tool.c: Tool for doing various Cryptoflex related stuff\n *\n * Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software F... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 Frank Morgner <frankmorgner@gmail.com>\n *\n * This file is part of OpenSC.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 Frank Morgner <frankmorgner@gmail.com>\n *\n * This file is part of OpenSC.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 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
] | PreciseBugs | {"buggy_code_end_loc": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * util.c: utility functions used by OpenSC command line tools.\n *\n * Copyright (C) 2011 OpenSC Project developers\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; eit... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * util.c: utility functions used by OpenSC command line tools.\n *\n * Copyright (C) 2011 OpenSC Project developers\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; eit... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [798, 979, 531, 437, 83, 212, 846, 632, 386, 153, 345], "buggy_code_start_loc": [797, 954, 521, 411, 82, 211, 840, 631, 23, 152, 342], "filenames": ["src/libopensc/card-cac.c", "src/libopensc/card-epass2003.c", "src/libopensc/card-muscle.c", "src/libopensc/card-tcos.c", "src/libopensc/pkcs15-este... | 559 |
Determine whether the {function_name} code is vulnerable or not. | [
"<f:layout name=\"Default\" />",
"<f:section name=\"Main\">\nVariables template from Singles.",
"<!-- Simple variable accessing -->\nSimple variable: {foobar}\nSimple variable in array, numeric: {array.numeric.0}\nSimple variable in array, associative: {array.fixed}",
"<!-- Casting variables to certain types ... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [45, 82, 21, 627, 264], "buggy_code_start_loc": [31, 11, 21, 627, 220], "filenames": ["examples/Resources/Private/Singles/Variables.html", "src/Core/Parser/Interceptor/Escape.php", "src/Core/Parser/InterceptorInterface.php", "src/Core/Parser/TemplateParser.php", "tests/Functional/ExamplesTest.php... | 560 |
Determine whether the {function_name} code is vulnerable or not. | [
"<f:layout name=\"Default\" />",
"<f:section name=\"Main\">\nVariables template from Singles.",
"<!-- Simple variable accessing -->\nSimple variable: {foobar}\nSimple variable in array, numeric: {array.numeric.0}\nSimple variable in array, associative: {array.fixed}",
"<!-- Casting variables to certain types ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [45, 82, 21, 627, 264], "buggy_code_start_loc": [31, 11, 21, 627, 220], "filenames": ["examples/Resources/Private/Singles/Variables.html", "src/Core/Parser/Interceptor/Escape.php", "src/Core/Parser/InterceptorInterface.php", "src/Core/Parser/TemplateParser.php", "tests/Functional/ExamplesTest.php... | 560 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.