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#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
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,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\n\r\n##################################################\r\n#\r\n# Copyright (c) 2004-2016 OIC Group, Inc.\r\n#\r\n# This file is part of Exponent\r\n#\r\n# Exponent is free software; you can redistribute\r\n# it and/or modify it under the terms of the GNU\r\n# General Public License as published by the Fre... | [
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
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,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati... | [
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,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\n\r\n##################################################\r\n#\r\n# Copyright (c) 2004-2016 OIC Group, Inc.\r\n#\r\n# This file is part of Exponent\r\n#\r\n# Exponent is free software; you can redistribute\r\n# it and/or modify it under the terms of the GNU\r\n# General Public License as published by the Fre... | [
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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
] | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun... | [
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,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# 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": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ... | 356 |
Determine whether the {function_name} code is vulnerable or not. | [
"* [Bug 1485] Sometimes ntpd crashes",
"",
"(4.2.7p366) 2013/04/17 Released by Harlan Stenn <stenn@ntp.org>\n* [Bug 1866] Disable some debugging output in refclock_oncore.\n(4.2.7p365) 2013/04/16 Released by Harlan Stenn <stenn@ntp.org>\n* [Bug 2149] Log an error message if /proc/net/if_inet6 cannot be opened.\... | [
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": [1, 163], "buggy_code_start_loc": [1, 159], "filenames": ["ChangeLog", "include/ntp.h"], "fixing_code_end_loc": [3, 162], "fixing_code_start_loc": [2, 159], "message": "The ULOGTOD function in ntp.d in SNTP before 4.2.7p366 does not properly perform type conversions from a precision value to a do... | 357 |
Determine whether the {function_name} code is vulnerable or not. | [
"* [Bug 1485] Sometimes ntpd crashes",
"* [Bug 2382] Implement LOGTOD using ldexp() instead of shifting.",
"(4.2.7p366) 2013/04/17 Released by Harlan Stenn <stenn@ntp.org>\n* [Bug 1866] Disable some debugging output in refclock_oncore.\n(4.2.7p365) 2013/04/16 Released by Harlan Stenn <stenn@ntp.org>\n* [Bug 214... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1, 163], "buggy_code_start_loc": [1, 159], "filenames": ["ChangeLog", "include/ntp.h"], "fixing_code_end_loc": [3, 162], "fixing_code_start_loc": [2, 159], "message": "The ULOGTOD function in ntp.d in SNTP before 4.2.7p366 does not properly perform type conversions from a precision value to a do... | 357 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * ntp.h - NTP definitions for the masses\n */\n#ifndef NTP_H\n#define NTP_H",
"#include <stddef.h>\n#include <math.h>",
"#include <ntp_fp.h>\n#include <ntp_types.h>\n#include <ntp_lists.h>\n#include <ntp_stdlib.h>\n#include <ntp_crypto.h>\n#include <ntp_random.h>\n#include <ntp_net.h>",
"#include <isc/b... | [
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1, 163], "buggy_code_start_loc": [1, 159], "filenames": ["ChangeLog", "include/ntp.h"], "fixing_code_end_loc": [3, 162], "fixing_code_start_loc": [2, 159], "message": "The ULOGTOD function in ntp.d in SNTP before 4.2.7p366 does not properly perform type conversions from a precision value to a do... | 357 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * ntp.h - NTP definitions for the masses\n */\n#ifndef NTP_H\n#define NTP_H",
"#include <stddef.h>\n#include <math.h>",
"#include <ntp_fp.h>\n#include <ntp_types.h>\n#include <ntp_lists.h>\n#include <ntp_stdlib.h>\n#include <ntp_crypto.h>\n#include <ntp_random.h>\n#include <ntp_net.h>",
"#include <isc/b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1, 163], "buggy_code_start_loc": [1, 159], "filenames": ["ChangeLog", "include/ntp.h"], "fixing_code_end_loc": [3, 162], "fixing_code_start_loc": [2, 159], "message": "The ULOGTOD function in ntp.d in SNTP before 4.2.7p366 does not properly perform type conversions from a precision value to a do... | 357 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright IBM Corp. 1999, 2010\n *\n * Author(s):\tHartmut Penner <hp@de.ibm.com>\n *\t\tMartin Schwidefsky <schwidefsky@de.ibm.com>\n *\t\tRob van der Heij <rvdhei@iae.nl>\n *\t\tHeiko Carstens <heiko.carstens@de.ibm.com>\n *\n */",
"#include <linux/init.h>\n#include <linux/linkage.h>\n#include <asm/as... | [
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [75], "buggy_code_start_loc": [62], "filenames": ["arch/s390/kernel/head64.S"], "fixing_code_end_loc": [79], "fixing_code_start_loc": [62], "message": "arch/s390/kernel/head64.S in the Linux kernel before 3.13.5 on the s390 platform does not properly handle attempted use of the linkage stack, whi... | 358 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright IBM Corp. 1999, 2010\n *\n * Author(s):\tHartmut Penner <hp@de.ibm.com>\n *\t\tMartin Schwidefsky <schwidefsky@de.ibm.com>\n *\t\tRob van der Heij <rvdhei@iae.nl>\n *\t\tHeiko Carstens <heiko.carstens@de.ibm.com>\n *\n */",
"#include <linux/init.h>\n#include <linux/linkage.h>\n#include <asm/as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [75], "buggy_code_start_loc": [62], "filenames": ["arch/s390/kernel/head64.S"], "fixing_code_end_loc": [79], "fixing_code_start_loc": [62], "message": "arch/s390/kernel/head64.S in the Linux kernel before 3.13.5 on the s390 platform does not properly handle attempted use of the linkage stack, whi... | 358 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | PreciseBugs | {"buggy_code_end_loc": [170, 301, 218, 173], "buggy_code_start_loc": [169, 299, 18, 19], "filenames": ["tensorflow/core/kernels/random_op.cc", "tensorflow/core/kernels/random_poisson_op.cc", "tensorflow/python/kernel_tests/random/random_gamma_test.py", "tensorflow/python/kernel_tests/random/random_poisson_test.py"], "f... | 359 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [170, 301, 218, 173], "buggy_code_start_loc": [169, 299, 18, 19], "filenames": ["tensorflow/core/kernels/random_op.cc", "tensorflow/core/kernels/random_poisson_op.cc", "tensorflow/python/kernel_tests/random/random_gamma_test.py", "tensorflow/python/kernel_tests/random/random_poisson_test.py"], "f... | 359 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [170, 301, 218, 173], "buggy_code_start_loc": [169, 299, 18, 19], "filenames": ["tensorflow/core/kernels/random_op.cc", "tensorflow/core/kernels/random_poisson_op.cc", "tensorflow/python/kernel_tests/random/random_gamma_test.py", "tensorflow/python/kernel_tests/random/random_poisson_test.py"], "f... | 359 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [170, 301, 218, 173], "buggy_code_start_loc": [169, 299, 18, 19], "filenames": ["tensorflow/core/kernels/random_op.cc", "tensorflow/core/kernels/random_poisson_op.cc", "tensorflow/python/kernel_tests/random/random_gamma_test.py", "tensorflow/python/kernel_tests/random/random_poisson_test.py"], "f... | 359 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ... | [
1,
1,
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,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [170, 301, 218, 173], "buggy_code_start_loc": [169, 299, 18, 19], "filenames": ["tensorflow/core/kernels/random_op.cc", "tensorflow/core/kernels/random_poisson_op.cc", "tensorflow/python/kernel_tests/random/random_gamma_test.py", "tensorflow/python/kernel_tests/random/random_poisson_test.py"], "f... | 359 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [170, 301, 218, 173], "buggy_code_start_loc": [169, 299, 18, 19], "filenames": ["tensorflow/core/kernels/random_op.cc", "tensorflow/core/kernels/random_poisson_op.cc", "tensorflow/python/kernel_tests/random/random_gamma_test.py", "tensorflow/python/kernel_tests/random/random_poisson_test.py"], "f... | 359 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ... | [
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [170, 301, 218, 173], "buggy_code_start_loc": [169, 299, 18, 19], "filenames": ["tensorflow/core/kernels/random_op.cc", "tensorflow/core/kernels/random_poisson_op.cc", "tensorflow/python/kernel_tests/random/random_gamma_test.py", "tensorflow/python/kernel_tests/random/random_poisson_test.py"], "f... | 359 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [170, 301, 218, 173], "buggy_code_start_loc": [169, 299, 18, 19], "filenames": ["tensorflow/core/kernels/random_op.cc", "tensorflow/core/kernels/random_poisson_op.cc", "tensorflow/python/kernel_tests/random/random_gamma_test.py", "tensorflow/python/kernel_tests/random/random_poisson_test.py"], "f... | 359 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0\n/*\n * Crypto user configuration API.\n *\n * Copyright (C) 2017-2018 Corentin Labbe <clabbe@baylibre.com>\n *\n */",
"#include <linux/crypto.h>\n#include <linux/cryptouser.h>\n#include <linux/sched.h>\n#include <net/netlink.h>\n#include <net/sock.h>\n#include <crypto/interna... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [332], "buggy_code_start_loc": [331], "filenames": ["crypto/crypto_user_stat.c"], "fixing_code_end_loc": [335], "fixing_code_start_loc": [331], "message": "A memory leak in the crypto_reportstat() function in crypto/crypto_user_stat.c in the Linux kernel through 5.3.11 allows attackers to cause a... | 360 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0\n/*\n * Crypto user configuration API.\n *\n * Copyright (C) 2017-2018 Corentin Labbe <clabbe@baylibre.com>\n *\n */",
"#include <linux/crypto.h>\n#include <linux/cryptouser.h>\n#include <linux/sched.h>\n#include <net/netlink.h>\n#include <net/sock.h>\n#include <crypto/interna... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [332], "buggy_code_start_loc": [331], "filenames": ["crypto/crypto_user_stat.c"], "fixing_code_end_loc": [335], "fixing_code_start_loc": [331], "message": "A memory leak in the crypto_reportstat() function in crypto/crypto_user_stat.c in the Linux kernel through 5.3.11 allows attackers to cause a... | 360 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2000-2002 Constantin Kaplinsky. All Rights Reserved.\n * Copyright (C) 2000 Tridia Corporation. All Rights Reserved.\n * Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.\n *\n * This is free software; you can redistribute it and/or modify\n * it under the terms of t... | [
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,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [2161], "buggy_code_start_loc": [67], "filenames": ["libvncclient/rfbproto.c"], "fixing_code_end_loc": [2165], "fixing_code_start_loc": [68], "message": "An issue was discovered in LibVNCServer before 0.9.13. libvncclient/rfbproto.c does not limit TextChat size.", "other": {"cve": {"cisaActionDue... | 361 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2000-2002 Constantin Kaplinsky. All Rights Reserved.\n * Copyright (C) 2000 Tridia Corporation. All Rights Reserved.\n * Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.\n *\n * This is free software; you can redistribute it and/or modify\n * it under the terms of t... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2161], "buggy_code_start_loc": [67], "filenames": ["libvncclient/rfbproto.c"], "fixing_code_end_loc": [2165], "fixing_code_start_loc": [68], "message": "An issue was discovered in LibVNCServer before 0.9.13. libvncclient/rfbproto.c does not limit TextChat size.", "other": {"cve": {"cisaActionDue... | 361 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * FarSync WAN driver for Linux (2.6.x kernel version)\n *\n * Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards\n *\n * Copyright (C) 2001-2004 FarSite Communications Ltd.\n * www.farsite.co.uk\n *\n * This program is free software; you can redistribute it and/or\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1974], "buggy_code_start_loc": [1974], "filenames": ["drivers/net/wan/farsync.c"], "fixing_code_end_loc": [1976], "fixing_code_start_loc": [1975], "message": "The fst_get_iface function in drivers/net/wan/farsync.c in the Linux kernel before 3.11.7 does not properly initialize a certain data str... | 362 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * FarSync WAN driver for Linux (2.6.x kernel version)\n *\n * Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards\n *\n * Copyright (C) 2001-2004 FarSite Communications Ltd.\n * www.farsite.co.uk\n *\n * This program is free software; you can redistribute it and/or\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1974], "buggy_code_start_loc": [1974], "filenames": ["drivers/net/wan/farsync.c"], "fixing_code_end_loc": [1976], "fixing_code_start_loc": [1975], "message": "The fst_get_iface function in drivers/net/wan/farsync.c in the Linux kernel before 3.11.7 does not properly initialize a certain data str... | 362 |
Determine whether the {function_name} code is vulnerable or not. | [
"using System;\r\nusing System.Linq;\r\nusing System.Web.UI.WebControls;\r\nusing System.Web.UI.HtmlControls;\r\nusing System.Xml;\r\nusing System.Xml.Linq;\r\nusing Umbraco.Core;\r\nusing Umbraco.Core.IO;\r\n\r\nnamespace umbraco.presentation.umbraco.dialogs\r\n{\r\n\t/// <summary>\r\n\t/// Summary description for... | [
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [108], "buggy_code_start_loc": [72], "filenames": ["src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/importDocumenttype.aspx.cs"], "fixing_code_end_loc": [110], "fixing_code_start_loc": [73], "message": "XML external entity (XXE) vulnerability in Umbraco CMS before 7.7.3 allows attackers to o... | 363 |
Determine whether the {function_name} code is vulnerable or not. | [
"using System;\r\nusing System.Linq;\r\nusing System.Web.UI.WebControls;\r\nusing System.Web.UI.HtmlControls;\r\nusing System.Xml;\r\nusing System.Xml.Linq;\r\nusing Umbraco.Core;\r\nusing Umbraco.Core.IO;\r\n\r\nnamespace umbraco.presentation.umbraco.dialogs\r\n{\r\n\t/// <summary>\r\n\t/// Summary description for... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [108], "buggy_code_start_loc": [72], "filenames": ["src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/importDocumenttype.aspx.cs"], "fixing_code_end_loc": [110], "fixing_code_start_loc": [73], "message": "XML external entity (XXE) vulnerability in Umbraco CMS before 7.7.3 allows attackers to o... | 363 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Utility functions for x86 operand and address decoding\n *\n * Copyright (C) Intel Corporation 2017\n */\n#include <linux/kernel.h>\n#include <linux/string.h>\n#include <linux/ratelimit.h>\n#include <linux/mmu_context.h>\n#include <asm/desc_defs.h>\n#include <asm/desc.h>\n#include <asm/inat.h>\n#include <as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [768], "buggy_code_start_loc": [560], "filenames": ["arch/x86/lib/insn-eval.c"], "fixing_code_end_loc": [769], "fixing_code_start_loc": [560], "message": "In arch/x86/lib/insn-eval.c in the Linux kernel before 5.1.9, there is a use-after-free for access to an LDT entry because of a race condition... | 364 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Utility functions for x86 operand and address decoding\n *\n * Copyright (C) Intel Corporation 2017\n */\n#include <linux/kernel.h>\n#include <linux/string.h>\n#include <linux/ratelimit.h>\n#include <linux/mmu_context.h>\n#include <asm/desc_defs.h>\n#include <asm/desc.h>\n#include <asm/inat.h>\n#include <as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [768], "buggy_code_start_loc": [560], "filenames": ["arch/x86/lib/insn-eval.c"], "fixing_code_end_loc": [769], "fixing_code_start_loc": [560], "message": "In arch/x86/lib/insn-eval.c in the Linux kernel before 5.1.9, there is a use-after-free for access to an LDT entry because of a race condition... | 364 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Message and Reminder Center UI\n *\n * @Package OpenEMR\n * @link http://www.open-emr.org\n * @author OpenEMR Support LLC\n * @author Roberto Vasquez <robertogagliotta@gmail.com>\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @author Ray Mag... | [
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,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [119, 252, 57, 694], "buggy_code_start_loc": [118, 251, 56, 683], "filenames": ["interface/main/messages/messages.php", "interface/main/messages/save.php", "interface/patient_file/front_payment_cc.php", "library/classes/TreeMenu.php"], "fixing_code_end_loc": [119, 252, 57, 694], "fixing_code_star... | 365 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Message and Reminder Center UI\n *\n * @Package OpenEMR\n * @link http://www.open-emr.org\n * @author OpenEMR Support LLC\n * @author Roberto Vasquez <robertogagliotta@gmail.com>\n * @author Rod Roark <rod@sunsetsystems.com>\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @author Ray Mag... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [119, 252, 57, 694], "buggy_code_start_loc": [118, 251, 56, 683], "filenames": ["interface/main/messages/messages.php", "interface/main/messages/save.php", "interface/patient_file/front_payment_cc.php", "library/classes/TreeMenu.php"], "fixing_code_end_loc": [119, 252, 57, 694], "fixing_code_star... | 365 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * /interface/main/messages/save.php\n *\n * @package MedEx\n * @link http://www.MedExBank.com\n * @author MedEx <support@MedExBank.com>\n * @copyright Copyright (c) 2017 MedEx <support@MedExBank.com>\n * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [119, 252, 57, 694], "buggy_code_start_loc": [118, 251, 56, 683], "filenames": ["interface/main/messages/messages.php", "interface/main/messages/save.php", "interface/patient_file/front_payment_cc.php", "library/classes/TreeMenu.php"], "fixing_code_end_loc": [119, 252, 57, 694], "fixing_code_star... | 365 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * /interface/main/messages/save.php\n *\n * @package MedEx\n * @link http://www.MedExBank.com\n * @author MedEx <support@MedExBank.com>\n * @copyright Copyright (c) 2017 MedEx <support@MedExBank.com>\n * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [119, 252, 57, 694], "buggy_code_start_loc": [118, 251, 56, 683], "filenames": ["interface/main/messages/messages.php", "interface/main/messages/save.php", "interface/patient_file/front_payment_cc.php", "library/classes/TreeMenu.php"], "fixing_code_end_loc": [119, 252, 57, 694], "fixing_code_star... | 365 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Front Payment CC and Terminal Readers support.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Jerry Padgett <sjpadgett@gmail.com>\n * @copyright Copyright (c) 2021 Jerry Padgett <sjpadgett@gmail.com>\n * @license https://github.com/openemr/openemr/blob/master... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [119, 252, 57, 694], "buggy_code_start_loc": [118, 251, 56, 683], "filenames": ["interface/main/messages/messages.php", "interface/main/messages/save.php", "interface/patient_file/front_payment_cc.php", "library/classes/TreeMenu.php"], "fixing_code_end_loc": [119, 252, 57, 694], "fixing_code_star... | 365 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Front Payment CC and Terminal Readers support.\n *\n * @package OpenEMR\n * @link http://www.open-emr.org\n * @author Jerry Padgett <sjpadgett@gmail.com>\n * @copyright Copyright (c) 2021 Jerry Padgett <sjpadgett@gmail.com>\n * @license https://github.com/openemr/openemr/blob/master... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [119, 252, 57, 694], "buggy_code_start_loc": [118, 251, 56, 683], "filenames": ["interface/main/messages/messages.php", "interface/main/messages/save.php", "interface/patient_file/front_payment_cc.php", "library/classes/TreeMenu.php"], "fixing_code_end_loc": [119, 252, 57, 694], "fixing_code_star... | 365 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"// +-----------------------------------------------------------------------+\n// | Copyright (c) 2002-2003, Richard Heyes, Harald Radi |\n// | All rights reserved. |\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": [119, 252, 57, 694], "buggy_code_start_loc": [118, 251, 56, 683], "filenames": ["interface/main/messages/messages.php", "interface/main/messages/save.php", "interface/patient_file/front_payment_cc.php", "library/classes/TreeMenu.php"], "fixing_code_end_loc": [119, 252, 57, 694], "fixing_code_star... | 365 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"// +-----------------------------------------------------------------------+\n// | Copyright (c) 2002-2003, Richard Heyes, Harald Radi |\n// | All rights reserved. |\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": [119, 252, 57, 694], "buggy_code_start_loc": [118, 251, 56, 683], "filenames": ["interface/main/messages/messages.php", "interface/main/messages/save.php", "interface/patient_file/front_payment_cc.php", "library/classes/TreeMenu.php"], "fixing_code_end_loc": [119, 252, 57, 694], "fixing_code_star... | 365 |
Determine whether the {function_name} code is vulnerable or not. | [
"# This file is automatically @generated by Cargo.\n# It is not intended for manual editing.\nversion = 3",
"[[package]]\nname = \"Simple-Wayland-HotKey-Daemon\"\nversion = \"1.1.7\"\ndependencies = [\n \"clap\",\n \"env_logger\",\n \"evdev\",\n \"itertools\",\n \"log\",\n \"nix\",\n \"signal-hook\",\n \"signal-h... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [516, 31, 401], "buggy_code_start_loc": [107, 25, 87], "filenames": ["Cargo.lock", "Cargo.toml", "src/daemon.rs"], "fixing_code_end_loc": [517, 32, 414], "fixing_code_start_loc": [107, 26, 88], "message": "SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but th... | 366 |
Determine whether the {function_name} code is vulnerable or not. | [
"# This file is automatically @generated by Cargo.\n# It is not intended for manual editing.\nversion = 3",
"[[package]]\nname = \"Simple-Wayland-HotKey-Daemon\"\nversion = \"1.1.7\"\ndependencies = [\n \"clap\",\n \"env_logger\",\n \"evdev\",\n \"itertools\",\n \"log\",\n \"nix\",\n \"signal-hook\",\n \"signal-h... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [516, 31, 401], "buggy_code_start_loc": [107, 25, 87], "filenames": ["Cargo.lock", "Cargo.toml", "src/daemon.rs"], "fixing_code_end_loc": [517, 32, 414], "fixing_code_start_loc": [107, 26, 88], "message": "SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but th... | 366 |
Determine whether the {function_name} code is vulnerable or not. | [
"[package]\ndescription = \"Sxhkd clone for Wayland (works on TYY and X11 too)\"\nedition = \"2021\"\nkeywords = [\"wayland\", \"hotkey\", \"evdev\"]\nlicense = \"BSD-2-Clause\"\nname = \"Simple-Wayland-HotKey-Daemon\"\nrepository = \"https://git.sr.ht/~shinyzenith/swhkd\"\nversion = \"1.1.7\"\nauthors = [\n\t\"Shi... | [
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [516, 31, 401], "buggy_code_start_loc": [107, 25, 87], "filenames": ["Cargo.lock", "Cargo.toml", "src/daemon.rs"], "fixing_code_end_loc": [517, 32, 414], "fixing_code_start_loc": [107, 26, 88], "message": "SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but th... | 366 |
Determine whether the {function_name} code is vulnerable or not. | [
"[package]\ndescription = \"Sxhkd clone for Wayland (works on TYY and X11 too)\"\nedition = \"2021\"\nkeywords = [\"wayland\", \"hotkey\", \"evdev\"]\nlicense = \"BSD-2-Clause\"\nname = \"Simple-Wayland-HotKey-Daemon\"\nrepository = \"https://git.sr.ht/~shinyzenith/swhkd\"\nversion = \"1.1.7\"\nauthors = [\n\t\"Shi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [516, 31, 401], "buggy_code_start_loc": [107, 25, 87], "filenames": ["Cargo.lock", "Cargo.toml", "src/daemon.rs"], "fixing_code_end_loc": [517, 32, 414], "fixing_code_start_loc": [107, 26, 88], "message": "SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but th... | 366 |
Determine whether the {function_name} code is vulnerable or not. | [
"use clap::{arg, Command};\nuse evdev::{AttributeSet, Device, InputEventKind, Key};\nuse nix::unistd::{Group, Uid};\nuse signal_hook_tokio::Signals;\nuse std::{\n collections::{HashMap, HashSet},\n env, fs,\n io::prelude::*,\n os::unix::net::UnixStream,\n path::Path,\n process::{exit, id},\n};\nus... | [
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,
1,
1,
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [516, 31, 401], "buggy_code_start_loc": [107, 25, 87], "filenames": ["Cargo.lock", "Cargo.toml", "src/daemon.rs"], "fixing_code_end_loc": [517, 32, 414], "fixing_code_start_loc": [107, 26, 88], "message": "SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but th... | 366 |
Determine whether the {function_name} code is vulnerable or not. | [
"use clap::{arg, Command};\nuse evdev::{AttributeSet, Device, InputEventKind, Key};\nuse nix::unistd::{Group, Uid};\nuse signal_hook_tokio::Signals;\nuse std::{\n collections::{HashMap, HashSet},\n env, fs,\n io::prelude::*,\n os::unix::net::UnixStream,\n path::Path,\n process::{exit, id},\n};\nus... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [516, 31, 401], "buggy_code_start_loc": [107, 25, 87], "filenames": ["Cargo.lock", "Cargo.toml", "src/daemon.rs"], "fixing_code_end_loc": [517, 32, 414], "fixing_code_start_loc": [107, 26, 88], "message": "SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but th... | 366 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\tAn async IO implementation for Linux\n *\tWritten by Benjamin LaHaise <bcrl@kvack.org>\n *\n *\tImplements an efficient asynchronous io interface.\n *\n *\tCopyright 2000, 2001, 2002 Red Hat, Inc. All Rights Reserved.\n *\n *\tSee ../COPYING for licensing terms.\n */\n#include <linux/kernel.h>\n#include <... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1746], "buggy_code_start_loc": [479], "filenames": ["fs/aio.c"], "fixing_code_end_loc": [1753], "fixing_code_start_loc": [479], "message": "The kiocb_batch_free function in fs/aio.c in the Linux kernel before 3.2.2 allows local users to cause a denial of service (OOPS) via vectors that trigger i... | 367 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\tAn async IO implementation for Linux\n *\tWritten by Benjamin LaHaise <bcrl@kvack.org>\n *\n *\tImplements an efficient asynchronous io interface.\n *\n *\tCopyright 2000, 2001, 2002 Red Hat, Inc. All Rights Reserved.\n *\n *\tSee ../COPYING for licensing terms.\n */\n#include <linux/kernel.h>\n#include <... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1746], "buggy_code_start_loc": [479], "filenames": ["fs/aio.c"], "fixing_code_end_loc": [1753], "fixing_code_start_loc": [479], "message": "The kiocb_batch_free function in fs/aio.c in the Linux kernel before 3.2.2 allows local users to cause a denial of service (OOPS) via vectors that trigger i... | 367 |
Determine whether the {function_name} code is vulnerable or not. | [
"#encoding=utf-8\n# test for flask",
"import MySQLdb\nimport time\nfrom flask import Flask\nfrom flask import render_template\nfrom flask import request, jsonify",
"\nCOLOR_CHART = [\"#F7464A\",\"#46BFBD\",\"#FDB45C\",\"#949FB1\",\"#C7604C\",\\\n\t\t\t\t\"#4D5360\",\"#7D4F6D\",\"#9D9B7F\",\"#21323D\",\"#1874CD\... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [126, 65], "buggy_code_start_loc": [39, 28], "filenames": ["app.py", "templates/show.html"], "fixing_code_end_loc": [124, 66], "fixing_code_start_loc": [38, 28], "message": "A vulnerability was found in mapoor voteapp. It has been rated as critical. Affected by this issue is the function create_p... | 368 |
Determine whether the {function_name} code is vulnerable or not. | [
"#encoding=utf-8\n# test for flask",
"import MySQLdb\nimport time\nfrom flask import Flask\nfrom flask import render_template\nfrom flask import request, jsonify",
"\nCOLOR_CHART = [\"#F7464A\",\"#46BFBD\",\"#FDB45C\",\"#949FB1\",\"#C7604C\",\\\n\t\t\t\t\"#4D5360\",\"#7D4F6D\",\"#9D9B7F\",\"#21323D\",\"#1874CD\... | [
1,
1,
1,
1,
1,
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": [126, 65], "buggy_code_start_loc": [39, 28], "filenames": ["app.py", "templates/show.html"], "fixing_code_end_loc": [124, 66], "fixing_code_start_loc": [38, 28], "message": "A vulnerability was found in mapoor voteapp. It has been rated as critical. Affected by this issue is the function create_p... | 368 |
Determine whether the {function_name} code is vulnerable or not. | [
"<!DOCTYPE html>\n<html>\n <head>\n <title></title>\n <link rel=\"stylesheet\" href=\"static/uikit/css/uikit.min.css\" />\n <script src=\"static/uikit/js/jquery-1.11.1.min.js\"></script>\n <script src=\"static/uikit/js/uikit.min.js\"></script>\n <script src=\"static/uikit/js/Ch... | [
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [126, 65], "buggy_code_start_loc": [39, 28], "filenames": ["app.py", "templates/show.html"], "fixing_code_end_loc": [124, 66], "fixing_code_start_loc": [38, 28], "message": "A vulnerability was found in mapoor voteapp. It has been rated as critical. Affected by this issue is the function create_p... | 368 |
Determine whether the {function_name} code is vulnerable or not. | [
"<!DOCTYPE html>\n<html>\n <head>\n <title></title>\n <link rel=\"stylesheet\" href=\"static/uikit/css/uikit.min.css\" />\n <script src=\"static/uikit/js/jquery-1.11.1.min.js\"></script>\n <script src=\"static/uikit/js/uikit.min.js\"></script>\n <script src=\"static/uikit/js/Ch... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [126, 65], "buggy_code_start_loc": [39, 28], "filenames": ["app.py", "templates/show.html"], "fixing_code_end_loc": [124, 66], "fixing_code_start_loc": [38, 28], "message": "A vulnerability was found in mapoor voteapp. It has been rated as critical. Affected by this issue is the function create_p... | 368 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati... | [
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [67], "buggy_code_start_loc": [31], "filenames": ["framework/modules/core/controllers/expRatingController.php"], "fixing_code_end_loc": [69], "fixing_code_start_loc": [31], "message": "Multiple SQL injection vulnerabilities in the update method in framework/modules/core/controllers/expRatingContr... | 369 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [67], "buggy_code_start_loc": [31], "filenames": ["framework/modules/core/controllers/expRatingController.php"], "fixing_code_end_loc": [69], "fixing_code_start_loc": [31], "message": "Multiple SQL injection vulnerabilities in the update method in framework/modules/core/controllers/expRatingContr... | 369 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tImplementation of the Transmission Control Protocol(TCP).\n *\n * Authors:\tRoss Biro\n *\t\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2322], "buggy_code_start_loc": [2322], "filenames": ["net/ipv4/tcp.c"], "fixing_code_end_loc": [2327], "fixing_code_start_loc": [2323], "message": "The tcp_disconnect function in net/ipv4/tcp.c in the Linux kernel before 4.12 allows local users to cause a denial of service (__tcp_select_window d... | 370 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tImplementation of the Transmission Control Protocol(TCP).\n *\n * Authors:\tRoss Biro\n *\t\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2322], "buggy_code_start_loc": [2322], "filenames": ["net/ipv4/tcp.c"], "fixing_code_end_loc": [2327], "fixing_code_start_loc": [2323], "message": "The tcp_disconnect function in net/ipv4/tcp.c in the Linux kernel before 4.12 allows local users to cause a denial of service (__tcp_select_window d... | 370 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\tHandle firewalling\n *\tLinux ethernet bridge\n *\n *\tAuthors:\n *\tLennert Buytenhek\t\t<buytenh@gnu.org>\n *\tBart De Schuymer\t\t<bdschuym@pandora.be>\n *\n *\tThis program is free software; you can redistribute it and/or\n *\tmodify it under the terms of the GNU General Public License\n *\tas 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,
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": [257], "buggy_code_start_loc": [252], "filenames": ["net/bridge/br_netfilter.c"], "fixing_code_end_loc": [254], "fixing_code_start_loc": [252], "message": "The br_parse_ip_options function in net/bridge/br_netfilter.c in the Linux kernel before 2.6.39 does not properly initialize a certain data s... | 371 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\tHandle firewalling\n *\tLinux ethernet bridge\n *\n *\tAuthors:\n *\tLennert Buytenhek\t\t<buytenh@gnu.org>\n *\tBart De Schuymer\t\t<bdschuym@pandora.be>\n *\n *\tThis program is free software; you can redistribute it and/or\n *\tmodify it under the terms of the GNU General Public License\n *\tas 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": [257], "buggy_code_start_loc": [252], "filenames": ["net/bridge/br_netfilter.c"], "fixing_code_end_loc": [254], "fixing_code_start_loc": [252], "message": "The br_parse_ip_options function in net/bridge/br_netfilter.c in the Linux kernel before 2.6.39 does not properly initialize a certain data s... | 371 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace PFBC;",
"abstract class Base {\n\tpublic function configure(array $properties = null) {\n if(!empty($properties)) {\n\t\t\t$class = get_class($this);",
"\t\t\t/*The property_reference lookup array is created so that properties can be set\n\t\t\tcase-insensitively.*/\n $availa... | [
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [52, 11], "buggy_code_start_loc": [51, 10], "filenames": ["PFBC/Base.php", "PFBC/Element/Textarea.php"], "fixing_code_end_loc": [52, 11], "fixing_code_start_loc": [51, 10], "message": "A vulnerability has been found in manikandan170890 php-form-builder-class and classified as problematic. Affecte... | 372 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace PFBC;",
"abstract class Base {\n\tpublic function configure(array $properties = null) {\n if(!empty($properties)) {\n\t\t\t$class = get_class($this);",
"\t\t\t/*The property_reference lookup array is created so that properties can be set\n\t\t\tcase-insensitively.*/\n $availa... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [52, 11], "buggy_code_start_loc": [51, 10], "filenames": ["PFBC/Base.php", "PFBC/Element/Textarea.php"], "fixing_code_end_loc": [52, 11], "fixing_code_start_loc": [51, 10], "message": "A vulnerability has been found in manikandan170890 php-form-builder-class and classified as problematic. Affecte... | 372 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace PFBC\\Element;",
"class Textarea extends \\PFBC\\Element {\n\tprotected $attributes = array(\"rows\" => \"5\");",
"\tpublic function render() {\n echo \"<textarea\", $this->getAttributes(\"value\"), \">\";\n if(!empty($this->attributes[\"value\"]))",
" echo $this->at... | [
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [52, 11], "buggy_code_start_loc": [51, 10], "filenames": ["PFBC/Base.php", "PFBC/Element/Textarea.php"], "fixing_code_end_loc": [52, 11], "fixing_code_start_loc": [51, 10], "message": "A vulnerability has been found in manikandan170890 php-form-builder-class and classified as problematic. Affecte... | 372 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace PFBC\\Element;",
"class Textarea extends \\PFBC\\Element {\n\tprotected $attributes = array(\"rows\" => \"5\");",
"\tpublic function render() {\n echo \"<textarea\", $this->getAttributes(\"value\"), \">\";\n if(!empty($this->attributes[\"value\"]))",
" echo $this->fi... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [52, 11], "buggy_code_start_loc": [51, 10], "filenames": ["PFBC/Base.php", "PFBC/Element/Textarea.php"], "fixing_code_end_loc": [52, 11], "fixing_code_start_loc": [51, 10], "message": "A vulnerability has been found in manikandan170890 php-form-builder-class and classified as problematic. Affecte... | 372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.