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 * Model for users for the Auth Module\n *\n * $Id: user.php 3352 2008-08-18 09:43:56BST atomless $\n *\n * PHP version 5\n * LICENSE: This source file is subject to LGPL license\n * that is available through the world-wide-web at the following URI:\n * http://www.gnu.org/copyleft/lesser.html\n * @auth... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [875, 62, 362], "buggy_code_start_loc": [323, 62, 362], "filenames": ["application/controllers/login.php", "application/hooks/2_settings.php", "application/models/user.php"], "fixing_code_end_loc": [870, 72, 398], "fixing_code_start_loc": [323, 63, 363], "message": "Ushahidi before 2.6.1 has insu... | 1,447 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Model for users for the Auth Module\n *\n * $Id: user.php 3352 2008-08-18 09:43:56BST atomless $\n *\n * PHP version 5\n * LICENSE: This source file is subject to LGPL license\n * that is available through the world-wide-web at the following URI:\n * http://www.gnu.org/copyleft/lesser.html\n * @auth... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [875, 62, 362], "buggy_code_start_loc": [323, 62, 362], "filenames": ["application/controllers/login.php", "application/hooks/2_settings.php", "application/models/user.php"], "fixing_code_end_loc": [870, 72, 398], "fixing_code_start_loc": [323, 63, 363], "message": "Ushahidi before 2.6.1 has insu... | 1,447 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n misc.c : irssi",
" Copyright (C) 1999 Timo Sirainen",
" 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 2 of the License, or\n (at your option) any late... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [558, 72], "buggy_code_start_loc": [558, 57], "filenames": ["src/core/misc.c", "src/core/nicklist.c"], "fixing_code_end_loc": [562, 76], "fixing_code_start_loc": [559, 57], "message": "An issue was discovered in Irssi before 1.0.4. When receiving messages with invalid time stamps, Irssi would try... | 1,448 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n misc.c : irssi",
" Copyright (C) 1999 Timo Sirainen",
" 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 2 of the License, or\n (at your option) any late... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [558, 72], "buggy_code_start_loc": [558, 57], "filenames": ["src/core/misc.c", "src/core/nicklist.c"], "fixing_code_end_loc": [562, 76], "fixing_code_start_loc": [559, 57], "message": "An issue was discovered in Irssi before 1.0.4. When receiving messages with invalid time stamps, Irssi would try... | 1,448 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n nicklist.c : irssi",
" Copyright (C) 1999-2000 Timo Sirainen",
" 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 2 of the License, or\n (at your option)... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [558, 72], "buggy_code_start_loc": [558, 57], "filenames": ["src/core/misc.c", "src/core/nicklist.c"], "fixing_code_end_loc": [562, 76], "fixing_code_start_loc": [559, 57], "message": "An issue was discovered in Irssi before 1.0.4. When receiving messages with invalid time stamps, Irssi would try... | 1,448 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n nicklist.c : irssi",
" Copyright (C) 1999-2000 Timo Sirainen",
" 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 2 of the License, or\n (at your option)... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [558, 72], "buggy_code_start_loc": [558, 57], "filenames": ["src/core/misc.c", "src/core/nicklist.c"], "fixing_code_end_loc": [562, 76], "fixing_code_start_loc": [559, 57], "message": "An issue was discovered in Irssi before 1.0.4. When receiving messages with invalid time stamps, Irssi would try... | 1,448 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [326], "buggy_code_start_loc": [325], "filenames": ["coders/inline.c"], "fixing_code_end_loc": [329], "fixing_code_start_loc": [325], "message": "ImageMagick 7.0.6-2 has a memory leak vulnerability in WriteINLINEImage in coders/inline.c.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd"... | 1,449 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [326], "buggy_code_start_loc": [325], "filenames": ["coders/inline.c"], "fixing_code_end_loc": [329], "fixing_code_start_loc": [325], "message": "ImageMagick 7.0.6-2 has a memory leak vulnerability in WriteINLINEImage in coders/inline.c.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd"... | 1,449 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* pngrutil.c - utilities to read a PNG file\n *\n * Last changed in libpng 1.6.35 [(PENDING RELEASE)]\n * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson\n * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)\n * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)\n *\n * Th... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [3174], "buggy_code_start_loc": [3170], "filenames": ["pngrutil.c"], "fixing_code_end_loc": [3177], "fixing_code_start_loc": [3170], "message": "In libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may trigger an integer overflow and resultant di... | 1,450 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* pngrutil.c - utilities to read a PNG file\n *\n * Last changed in libpng 1.6.35 [(PENDING RELEASE)]\n * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson\n * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)\n * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)\n *\n * Th... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [3174], "buggy_code_start_loc": [3170], "filenames": ["pngrutil.c"], "fixing_code_end_loc": [3177], "fixing_code_start_loc": [3170], "message": "In libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may trigger an integer overflow and resultant di... | 1,450 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
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,
0,
1,
1,
1,
0... | PreciseBugs | {"buggy_code_end_loc": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
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,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
1,
1,
1,
1,
1,
1,
1,
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": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright 2016 Russell Haering et al.\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// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [53, 417, 207, 79, 357], "buggy_code_start_loc": [52, 24, 28, 77, 356], "filenames": ["decode_logout_request.go", "decode_response.go", "decode_response_test.go", "saml.go", "saml_test.go"], "fixing_code_end_loc": [53, 432, 230, 85, 357], "fixing_code_start_loc": [52, 24, 28, 77, 356], "message":... | 1,451 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: BSD-2-Clause\n/*\n * Copyright (c) 2014, STMicroelectronics International N.V.\n */",
"#include <assert.h>\n#include <compiler.h>\n#include <crypto/crypto.h>\n#include <kernel/tee_ta_manager.h>\n#include <mm/tee_mmu.h>\n#include <stdlib_ext.h>\n#include <string_ext.h>\n#include <strin... | [
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [3185], "buggy_code_start_loc": [33], "filenames": ["core/tee/tee_svc_cryp.c"], "fixing_code_end_loc": [3222], "fixing_code_start_loc": [34], "message": "In Linaro OP-TEE before 3.7.0, by using inconsistent or malformed data, it is possible to call update and final cryptographic functions directl... | 1,452 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: BSD-2-Clause\n/*\n * Copyright (c) 2014, STMicroelectronics International N.V.\n */",
"#include <assert.h>\n#include <compiler.h>\n#include <crypto/crypto.h>\n#include <kernel/tee_ta_manager.h>\n#include <mm/tee_mmu.h>\n#include <stdlib_ext.h>\n#include <string_ext.h>\n#include <strin... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [3185], "buggy_code_start_loc": [33], "filenames": ["core/tee/tee_svc_cryp.c"], "fixing_code_end_loc": [3222], "fixing_code_start_loc": [34], "message": "In Linaro OP-TEE before 3.7.0, by using inconsistent or malformed data, it is possible to call update and final cryptographic functions directl... | 1,452 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * RAW MPEG-4 video demuxer\n * Copyright (c) 2006 Thijs Vermeir <thijs.vermeir@barco.com>\n *\n * This file is part of Libav.\n *\n * Libav 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;... | [
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [46], "buggy_code_start_loc": [36], "filenames": ["libavformat/m4vdec.c"], "fixing_code_end_loc": [48], "fixing_code_start_loc": [36], "message": "The get_vlc2 function in get_bits.h in Libav before 11.9 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via... | 1,453 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * RAW MPEG-4 video demuxer\n * Copyright (c) 2006 Thijs Vermeir <thijs.vermeir@barco.com>\n *\n * This file is part of Libav.\n *\n * Libav 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;... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [46], "buggy_code_start_loc": [36], "filenames": ["libavformat/m4vdec.c"], "fixing_code_end_loc": [48], "fixing_code_start_loc": [36], "message": "The get_vlc2 function in get_bits.h in Libav before 11.9 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via... | 1,453 |
Determine whether the {function_name} code is vulnerable or not. | [
"$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.3 $ $NHDT-Date: 1578996303 2020/01/14 10:05:03 $",
"fixes36.5 contains a terse summary of changes made to 3.6.4 in order to\nproduce 3.6.5 as well as any post-release fixes in binaries.",
"\nGeneral Fixes and Modified Features\n-----------------------------------\n... | [
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [15, 1002, 295, 455], "buggy_code_start_loc": [15, 1002, 246, 357], "filenames": ["doc/fixes36.5", "src/topten.c", "src/windows.c", "sys/unix/unixmain.c"], "fixing_code_end_loc": [18, 1004, 312, 455], "fixing_code_start_loc": [16, 1003, 246, 358], "message": "In NetHack before 3.6.5, unknown opti... | 1,454 |
Determine whether the {function_name} code is vulnerable or not. | [
"$NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.3 $ $NHDT-Date: 1578996303 2020/01/14 10:05:03 $",
"fixes36.5 contains a terse summary of changes made to 3.6.4 in order to\nproduce 3.6.5 as well as any post-release fixes in binaries.",
"\nGeneral Fixes and Modified Features\n-----------------------------------\n... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [15, 1002, 295, 455], "buggy_code_start_loc": [15, 1002, 246, 357], "filenames": ["doc/fixes36.5", "src/topten.c", "src/windows.c", "sys/unix/unixmain.c"], "fixing_code_end_loc": [18, 1004, 312, 455], "fixing_code_start_loc": [16, 1003, 246, 358], "message": "In NetHack before 3.6.5, unknown opti... | 1,454 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* NetHack 3.6\ttopten.c\t$NHDT-Date: 1450451497 2015/12/18 15:11:37 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.44 $ */\n/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */\n/*-Copyright (c) Robert Patrick Rankin, 2012. */\n/* NetHack may be freely redistributed. See license for details. ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [15, 1002, 295, 455], "buggy_code_start_loc": [15, 1002, 246, 357], "filenames": ["doc/fixes36.5", "src/topten.c", "src/windows.c", "sys/unix/unixmain.c"], "fixing_code_end_loc": [18, 1004, 312, 455], "fixing_code_start_loc": [16, 1003, 246, 358], "message": "In NetHack before 3.6.5, unknown opti... | 1,454 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* NetHack 3.6\ttopten.c\t$NHDT-Date: 1450451497 2015/12/18 15:11:37 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.44 $ */\n/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */\n/*-Copyright (c) Robert Patrick Rankin, 2012. */\n/* NetHack may be freely redistributed. See license for details. ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [15, 1002, 295, 455], "buggy_code_start_loc": [15, 1002, 246, 357], "filenames": ["doc/fixes36.5", "src/topten.c", "src/windows.c", "sys/unix/unixmain.c"], "fixing_code_end_loc": [18, 1004, 312, 455], "fixing_code_start_loc": [16, 1003, 246, 358], "message": "In NetHack before 3.6.5, unknown opti... | 1,454 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* NetHack 3.6\twindows.c\t$NHDT-Date: 1575245096 2019/12/02 00:04:56 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.60 $ */\n/* Copyright (c) D. Cohrs, 1993. */\n/* NetHack may be freely redistributed. See license for details. */",
"#include \"hack.h\"\n#ifdef TTY_GRAPHICS\n#include \"wintty.h\"\n#endif\n#if... | [
1,
1,
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,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [15, 1002, 295, 455], "buggy_code_start_loc": [15, 1002, 246, 357], "filenames": ["doc/fixes36.5", "src/topten.c", "src/windows.c", "sys/unix/unixmain.c"], "fixing_code_end_loc": [18, 1004, 312, 455], "fixing_code_start_loc": [16, 1003, 246, 358], "message": "In NetHack before 3.6.5, unknown opti... | 1,454 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* NetHack 3.6\twindows.c\t$NHDT-Date: 1575245096 2019/12/02 00:04:56 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.60 $ */\n/* Copyright (c) D. Cohrs, 1993. */\n/* NetHack may be freely redistributed. See license for details. */",
"#include \"hack.h\"\n#ifdef TTY_GRAPHICS\n#include \"wintty.h\"\n#endif\n#if... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [15, 1002, 295, 455], "buggy_code_start_loc": [15, 1002, 246, 357], "filenames": ["doc/fixes36.5", "src/topten.c", "src/windows.c", "sys/unix/unixmain.c"], "fixing_code_end_loc": [18, 1004, 312, 455], "fixing_code_start_loc": [16, 1003, 246, 358], "message": "In NetHack before 3.6.5, unknown opti... | 1,454 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* NetHack 3.6\tunixmain.c\t$NHDT-Date: 1570408210 2019/10/07 00:30:10 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.70 $ */\n/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */\n/*-Copyright (c) Robert Patrick Rankin, 2011. */\n/* NetHack may be freely redistributed. See license for details. ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [15, 1002, 295, 455], "buggy_code_start_loc": [15, 1002, 246, 357], "filenames": ["doc/fixes36.5", "src/topten.c", "src/windows.c", "sys/unix/unixmain.c"], "fixing_code_end_loc": [18, 1004, 312, 455], "fixing_code_start_loc": [16, 1003, 246, 358], "message": "In NetHack before 3.6.5, unknown opti... | 1,454 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* NetHack 3.6\tunixmain.c\t$NHDT-Date: 1570408210 2019/10/07 00:30:10 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.70 $ */\n/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */\n/*-Copyright (c) Robert Patrick Rankin, 2011. */\n/* NetHack may be freely redistributed. See license for details. ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [15, 1002, 295, 455], "buggy_code_start_loc": [15, 1002, 246, 357], "filenames": ["doc/fixes36.5", "src/topten.c", "src/windows.c", "sys/unix/unixmain.c"], "fixing_code_end_loc": [18, 1004, 312, 455], "fixing_code_start_loc": [16, 1003, 246, 358], "message": "In NetHack before 3.6.5, unknown opti... | 1,454 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* userfunc.c */\nvoid func_init(void);\nhashtab_T *func_tbl_get(void);\nchar_u *get_lambda_name(void);\nchar_u *register_cfunc(cfunc_T cb, cfunc_free_T cb_free, void *state);\nint get_lambda_tv(char_u **arg, typval_T *rettv, int types_optional, evalarg_T *evalarg);\nchar_u *deref_func_name(char_u *name, int *lenp... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* userfunc.c */\nvoid func_init(void);\nhashtab_T *func_tbl_get(void);\nchar_u *get_lambda_name(void);\nchar_u *register_cfunc(cfunc_T cb, cfunc_free_T cb_free, void *state);\nint get_lambda_tv(char_u **arg, typval_T *rettv, int types_optional, evalarg_T *evalarg);\nchar_u *deref_func_name(char_u *name, int *lenp... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"\" Test various aspects of the Vim9 script language.",
"source check.vim\nsource term_util.vim\nsource view_util.vim\nsource vim9.vim\nsource screendump.vim",
"func Test_def_basic()\n def SomeFunc(): string\n return 'yes'\n enddef\n call SomeFunc()->assert_equal('yes')\nendfunc",
"func Test_compiling_e... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"\" Test various aspects of the Vim9 script language.",
"source check.vim\nsource term_util.vim\nsource view_util.vim\nsource vim9.vim\nsource screendump.vim",
"func Test_def_basic()\n def SomeFunc(): string\n return 'yes'\n enddef\n call SomeFunc()->assert_equal('yes')\nendfunc",
"func Test_compiling_e... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * userfunc.c: Use... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * userfunc.c: Use... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"#include \"vim.h\"",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"#include \"vim.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
] | PreciseBugs | {"buggy_code_end_loc": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * vim9compile.c: ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * vim9compile.c: ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * vim9execute.c: ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * vim9execute.c: ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [42, 1669, 4680, 751, 2865, 3352], "buggy_code_start_loc": [41, 1669, 723, 751, 815, 3347], "filenames": ["src/proto/userfunc.pro", "src/testdir/test_vim9_func.vim", "src/userfunc.c", "src/version.c", "src/vim9compile.c", "src/vim9execute.c"], "fixing_code_end_loc": [42, 1690, 4686, 754, 2871, 33... | 1,455 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0-only\n/*\n * File: pep.c\n *\n * Phonet pipe protocol end point socket\n *\n * Copyright (C) 2008 Nokia Corporation.\n *\n * Author: Rémi Denis-Courmont\n */",
"#include <linux/kernel.h>\n#include <linux/sched/signal.h>\n#include <linux/slab.h>\n#include <linux/socket.h>\n#inc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [870], "buggy_code_start_loc": [870], "filenames": ["net/phonet/pep.c"], "fixing_code_end_loc": [872], "fixing_code_start_loc": [871], "message": "pep_sock_accept in net/phonet/pep.c in the Linux kernel through 5.15.8 has a refcount leak.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd... | 1,456 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0-only\n/*\n * File: pep.c\n *\n * Phonet pipe protocol end point socket\n *\n * Copyright (C) 2008 Nokia Corporation.\n *\n * Author: Rémi Denis-Courmont\n */",
"#include <linux/kernel.h>\n#include <linux/sched/signal.h>\n#include <linux/slab.h>\n#include <linux/socket.h>\n#inc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [870], "buggy_code_start_loc": [870], "filenames": ["net/phonet/pep.c"], "fixing_code_end_loc": [872], "fixing_code_start_loc": [871], "message": "pep_sock_accept in net/phonet/pep.c in the Linux kernel through 5.15.8 has a refcount leak.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd... | 1,456 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2003-2004 The FFmpeg project\n * Copyright (C) 2019 Peter Ross\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\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": [2683], "buggy_code_start_loc": [2682], "filenames": ["libavcodec/vp3.c"], "fixing_code_end_loc": [2689], "fixing_code_start_loc": [2682], "message": "An issue was discovered in the FFmpeg package, where vp3_decode_frame in libavcodec/vp3.c lacks check of the return value of av_malloc() and will ... | 1,457 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2003-2004 The FFmpeg project\n * Copyright (C) 2019 Peter Ross\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\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": [2683], "buggy_code_start_loc": [2682], "filenames": ["libavcodec/vp3.c"], "fixing_code_end_loc": [2689], "fixing_code_start_loc": [2682], "message": "An issue was discovered in the FFmpeg package, where vp3_decode_frame in libavcodec/vp3.c lacks check of the return value of av_malloc() and will ... | 1,457 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 2014,2015 DeNA Co., Ltd., Kazuho Oku, Masahiro Nagano\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation t... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [866], "buggy_code_start_loc": [168], "filenames": ["lib/core/proxy.c"], "fixing_code_end_loc": [869], "fixing_code_start_loc": [168], "message": "H2O is an HTTP server. In versions 2.3.0-beta2 and prior, when the reverse proxy handler tries to processes a certain type of invalid HTTP request, it... | 1,458 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 2014,2015 DeNA Co., Ltd., Kazuho Oku, Masahiro Nagano\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation 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": [866], "buggy_code_start_loc": [168], "filenames": ["lib/core/proxy.c"], "fixing_code_end_loc": [869], "fixing_code_start_loc": [168], "message": "H2O is an HTTP server. In versions 2.3.0-beta2 and prior, when the reverse proxy handler tries to processes a certain type of invalid HTTP request, it... | 1,458 |
Determine whether the {function_name} code is vulnerable or not. | [
"import express from 'express'\nimport { MVideoCaption } from '@server/types/models'\nimport { HttpStatusCode } from '../../../../shared/models/http/http-error-codes'\nimport { moveAndProcessCaptionFile } from '../../../helpers/captions-utils'\nimport { createReqFiles } from '../../../helpers/express-utils'\nimport... | [
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": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import express from 'express'\nimport { MVideoCaption } from '@server/types/models'\nimport { HttpStatusCode } from '../../../../shared/models/http/http-error-codes'\nimport { moveAndProcessCaptionFile } from '../../../helpers/captions-utils'\nimport { createReqFiles } from '../../../helpers/express-utils'\nimport... | [
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": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import express from 'express'\nimport toInt from 'validator/lib/toInt'\nimport { logger, loggerTagsFactory } from '@server/helpers/logger'\nimport { federateVideoIfNeeded } from '@server/lib/activitypub/videos'\nimport { VideoFileModel } from '@server/models/video/video-file'\nimport { HttpStatusCode, UserRight } ... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import express from 'express'\nimport toInt from 'validator/lib/toInt'\nimport { logger, loggerTagsFactory } from '@server/helpers/logger'\nimport { federateVideoIfNeeded } from '@server/lib/activitypub/videos'\nimport { VideoFileModel } from '@server/models/video/video-file'\nimport { HttpStatusCode, UserRight } ... | [
1,
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": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import { Response } from 'express'",
"import { loadVideo, VideoLoadType } from '@server/lib/model-loaders'",
"",
"import { VideoChannelModel } from '@server/models/video/video-channel'\nimport { VideoFileModel } from '@server/models/video/video-file'\nimport {\n MUser,\n MUserAccountId,",
"",
" MVideo... | [
0,
1,
0,
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,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import { Request, Response } from 'express'",
"import { loadVideo, VideoLoadType } from '@server/lib/model-loaders'",
"import { authenticatePromiseIfNeeded } from '@server/middlewares/auth'\nimport { VideoModel } from '@server/models/video/video'",
"import { VideoChannelModel } from '@server/models/video/vid... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import express from 'express'\nimport { body, param } from 'express-validator'",
"import { UserRight } from '../../../../shared'",
"import { isVideoCaptionFile, isVideoCaptionLanguageValid } from '../../../helpers/custom-validators/video-captions'\nimport { cleanUpReqFiles } from '../../../helpers/express-util... | [
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import express from 'express'\nimport { body, param } from 'express-validator'",
"import { HttpStatusCode, UserRight } from '../../../../shared'",
"import { isVideoCaptionFile, isVideoCaptionLanguageValid } from '../../../helpers/custom-validators/video-captions'\nimport { cleanUpReqFiles } from '../../../help... | [
1,
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": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import express from 'express'\nimport { body, header, param, query, ValidationChain } from 'express-validator'\nimport { isTestInstance } from '@server/helpers/core-utils'\nimport { getResumableUploadPath } from '@server/helpers/upload'\nimport { Redis } from '@server/lib/redis'\nimport { isAbleToUploadVideo } fro... | [
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"import express from 'express'\nimport { body, header, param, query, ValidationChain } from 'express-validator'\nimport { isTestInstance } from '@server/helpers/core-utils'\nimport { getResumableUploadPath } from '@server/helpers/upload'\nimport { Redis } from '@server/lib/redis'\nimport { isAbleToUploadVideo } fro... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */",
"import 'mocha'\nimport {\n buildAbsoluteFixturePath,\n cleanupTests,\n createSingleServer,\n makeDeleteRequest,\n makeGetRequest,\n makeUploadRequest,\n PeerTubeServer,\n setAccessTokensToServers\n} from '@s... | [
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,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */",
"import 'mocha'\nimport {\n buildAbsoluteFixturePath,\n cleanupTests,\n createSingleServer,\n makeDeleteRequest,\n makeGetRequest,\n makeUploadRequest,\n PeerTubeServer,\n setAccessTokensToServers\n} from '@s... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [52, 19, 124, 68, 333, 208], "buggy_code_start_loc": [51, 13, 1, 3, 54, 14], "filenames": ["server/controllers/api/videos/captions.ts", "server/controllers/api/videos/files.ts", "server/middlewares/validators/shared/videos.ts", "server/middlewares/validators/videos/video-captions.ts", "server/mid... | 1,459 |
Determine whether the {function_name} code is vulnerable or not. | [
"PHP NEWS\n|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||\n?? ??? 2014, PHP 5.4.29",
"- COM:\n . Fixed bug #66431 (Special Character via COM Interface (CP_UTF8)). (Anatol)",
"- Core:\n . Fixed bug #65701 (c... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [57, 39, 173], "buggy_code_start_loc": [28, 38, 169], "filenames": ["NEWS", "sapi/fpm/fpm/fpm_unix.c", "sapi/fpm/php-fpm.conf.in"], "fixing_code_end_loc": [60, 39, 173], "fixing_code_start_loc": [28, 38, 169], "message": "sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before ... | 1,460 |
Determine whether the {function_name} code is vulnerable or not. | [
"PHP NEWS\n|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||\n?? ??? 2014, PHP 5.4.29",
"- COM:\n . Fixed bug #66431 (Special Character via COM Interface (CP_UTF8)). (Anatol)",
"- Core:\n . Fixed bug #65701 (c... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [57, 39, 173], "buggy_code_start_loc": [28, 38, 169], "filenames": ["NEWS", "sapi/fpm/fpm/fpm_unix.c", "sapi/fpm/php-fpm.conf.in"], "fixing_code_end_loc": [60, 39, 173], "fixing_code_start_loc": [28, 38, 169], "message": "sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before ... | 1,460 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* $Id: fpm_unix.c,v 1.25.2.1 2008/12/13 03:18:23 anight Exp $ */\n\t/* (c) 2007,2008 Andrei Nigmatulin */",
"#include \"fpm_config.h\"",
"#include <string.h>\n#include <sys/time.h>\n#include <sys/resource.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <sys/types.h>\n#include <pwd.h>\n#include <grp.h>"... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [57, 39, 173], "buggy_code_start_loc": [28, 38, 169], "filenames": ["NEWS", "sapi/fpm/fpm/fpm_unix.c", "sapi/fpm/php-fpm.conf.in"], "fixing_code_end_loc": [60, 39, 173], "fixing_code_start_loc": [28, 38, 169], "message": "sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before ... | 1,460 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* $Id: fpm_unix.c,v 1.25.2.1 2008/12/13 03:18:23 anight Exp $ */\n\t/* (c) 2007,2008 Andrei Nigmatulin */",
"#include \"fpm_config.h\"",
"#include <string.h>\n#include <sys/time.h>\n#include <sys/resource.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <sys/types.h>\n#include <pwd.h>\n#include <grp.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
] | PreciseBugs | {"buggy_code_end_loc": [57, 39, 173], "buggy_code_start_loc": [28, 38, 169], "filenames": ["NEWS", "sapi/fpm/fpm/fpm_unix.c", "sapi/fpm/php-fpm.conf.in"], "fixing_code_end_loc": [60, 39, 173], "fixing_code_start_loc": [28, 38, 169], "message": "sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before ... | 1,460 |
Determine whether the {function_name} code is vulnerable or not. | [
";;;;;;;;;;;;;;;;;;;;;\n; FPM Configuration ;\n;;;;;;;;;;;;;;;;;;;;;",
"; All relative paths in this configuration file are relative to PHP's install\n; prefix (@prefix@). This prefix can be dynamically changed by using the\n; '-p' argument from the command line.",
"; Include one or more files. If glob(3) exist... | [
1,
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": [57, 39, 173], "buggy_code_start_loc": [28, 38, 169], "filenames": ["NEWS", "sapi/fpm/fpm/fpm_unix.c", "sapi/fpm/php-fpm.conf.in"], "fixing_code_end_loc": [60, 39, 173], "fixing_code_start_loc": [28, 38, 169], "message": "sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before ... | 1,460 |
Determine whether the {function_name} code is vulnerable or not. | [
";;;;;;;;;;;;;;;;;;;;;\n; FPM Configuration ;\n;;;;;;;;;;;;;;;;;;;;;",
"; All relative paths in this configuration file are relative to PHP's install\n; prefix (@prefix@). This prefix can be dynamically changed by using the\n; '-p' argument from the command line.",
"; Include one or more files. If glob(3) exist... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [57, 39, 173], "buggy_code_start_loc": [28, 38, 169], "filenames": ["NEWS", "sapi/fpm/fpm/fpm_unix.c", "sapi/fpm/php-fpm.conf.in"], "fixing_code_end_loc": [60, 39, 173], "fixing_code_start_loc": [28, 38, 169], "message": "sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before ... | 1,460 |
Determine whether the {function_name} code is vulnerable or not. | [
"package discord",
"import (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"fmt\"",
"",
"\t\"github.com/containrrr/shoutrrr/pkg/format\"\n\t\"github.com/containrrr/shoutrrr/pkg/services/standard\"\n\t\"github.com/containrrr/shoutrrr/pkg/types\"\n\t\"github.com/containrrr/shoutrrr/pkg/util\"",
"\t\"net/http\"\n\t\"n... | [
1,
1,
0,
1,
0,
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,
0,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package discord",
"import (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"fmt\"",
"\t\"net/http\"\n\t\"net/url\"\n",
"\t\"github.com/containrrr/shoutrrr/pkg/format\"\n\t\"github.com/containrrr/shoutrrr/pkg/services/standard\"\n\t\"github.com/containrrr/shoutrrr/pkg/types\"\n\t\"github.com/containrrr/shoutrrr/pkg/ut... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package discord",
"import (\n\t\"fmt\"",
"",
"\t\"github.com/containrrr/shoutrrr/pkg/types\"\n\t\"github.com/containrrr/shoutrrr/pkg/util\"",
"\t\"time\"",
")",
"// WebhookPayload is the webhook endpoint payload\ntype WebhookPayload struct {",
"\tEmbeds []embedItem `json:\"embeds\"`\n\tUsername str... | [
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package discord",
"import (\n\t\"fmt\"",
"\t\"time\"\n",
"\t\"github.com/containrrr/shoutrrr/pkg/types\"\n\t\"github.com/containrrr/shoutrrr/pkg/util\"",
"",
")",
"// WebhookPayload is the webhook endpoint payload\ntype WebhookPayload struct {",
"\tEmbeds []embedItem `json:\"embeds\"`\n\tUsername ... | [
1,
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": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package discord_test",
"import (",
"",
"\t\"log\"\n\t\"time\"",
"\t\"github.com/containrrr/shoutrrr/internal/testutils\"\n\t. \"github.com/containrrr/shoutrrr/pkg/services/discord\"\n\t\"github.com/containrrr/shoutrrr/pkg/types\"\n\t\"github.com/jarcoal/httpmock\"",
"\t\"net/url\"\n\t\"os\"\n\t\"strings\... | [
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,
1,
1,
1,
0,
1,
0,
1,
0,
0,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package discord_test",
"import (",
"\t\"fmt\"",
"\t\"log\"\n\t\"time\"",
"\t\"github.com/containrrr/shoutrrr/internal/testutils\"\n\t. \"github.com/containrrr/shoutrrr/pkg/services/discord\"\n\t\"github.com/containrrr/shoutrrr/pkg/types\"\n\t\"github.com/jarcoal/httpmock\"",
"\t\"net/url\"\n\t\"os\"\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
] | PreciseBugs | {"buggy_code_end_loc": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package util",
"import (\n\tt \"github.com/containrrr/shoutrrr/pkg/types\"",
"\t\"strings\"\n)",
"const ellipsis = \" [...]\"",
"// PartitionMessage splits a string into chunks that is at most chunkSize runes, it will search the last distance runes\n// for a whitespace to make the split appear nicer. It wi... | [
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": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package util",
"import (\n\tt \"github.com/containrrr/shoutrrr/pkg/types\"",
"\t\"strings\"\n)",
"const ellipsis = \" [...]\"",
"// PartitionMessage splits a string into chunks that is at most chunkSize runes, it will search the last distance runes\n// for a whitespace to make the split appear nicer. It wi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package util",
"import (",
"",
"\t\"github.com/containrrr/shoutrrr/pkg/types\"\n\t. \"github.com/onsi/ginkgo\"\n\t. \"github.com/onsi/gomega\"",
"\t\"strings\"",
")",
"var _ = Describe(\"Partition Message\", func() {",
"\tDescribe(\"creating a json payload\", func() {\n\t\tlimits := types.MessageLimi... | [
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"package util",
"import (",
"\t\"strings\"\n",
"\t\"github.com/containrrr/shoutrrr/pkg/types\"\n\t. \"github.com/onsi/ginkgo\"\n\t. \"github.com/onsi/gomega\"",
"",
")",
"var _ = Describe(\"Partition Message\", func() {",
"\tlimits := types.MessageLimit{\n\t\tChunkSize: 2000,\n\t\tTotalChunkSize:... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [129, 72, 230, 26, 82], "buggy_code_start_loc": [6, 4, 3, 20, 3], "filenames": ["pkg/services/discord/discord.go", "pkg/services/discord/discord_json.go", "pkg/services/discord/discord_test.go", "pkg/util/partition_message.go", "pkg/util/partition_message_test.go"], "fixing_code_end_loc": [131, 8... | 1,461 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [129], "buggy_code_start_loc": [129], "filenames": ["tensorflow/core/kernels/conv_grad_shape_utils.cc"], "fixing_code_end_loc": [134], "fixing_code_start_loc": [130], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a division by 0 in `tf.... | 1,462 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [129], "buggy_code_start_loc": [129], "filenames": ["tensorflow/core/kernels/conv_grad_shape_utils.cc"], "fixing_code_end_loc": [134], "fixing_code_start_loc": [130], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a division by 0 in `tf.... | 1,462 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * EverestForms Entry Functions\n *\n * @package EverestForms\\Functions\n * @since 1.1.0\n */",
"defined( 'ABSPATH' ) || exit;",
"/**\n * Get entry.\n *\n * @param int|EVF_Entry $id Entry ID or object.\n * @return EVF_Entry|null\n */\nfunction evf_get_entry( $id ) {\n\tglobal $wpdb;",
"\t$ent... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
0,
1,
0,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [127], "buggy_code_start_loc": [77], "filenames": ["includes/evf-entry-functions.php"], "fixing_code_end_loc": [117], "fixing_code_start_loc": [78], "message": "A SQL injection vulnerability exists in WPEverest Everest Forms plugin for WordPress through 1.4.9. Successful exploitation of this vuln... | 1,463 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * EverestForms Entry Functions\n *\n * @package EverestForms\\Functions\n * @since 1.1.0\n */",
"defined( 'ABSPATH' ) || exit;",
"/**\n * Get entry.\n *\n * @param int|EVF_Entry $id Entry ID or object.\n * @return EVF_Entry|null\n */\nfunction evf_get_entry( $id ) {\n\tglobal $wpdb;",
"\t$ent... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [127], "buggy_code_start_loc": [77], "filenames": ["includes/evf-entry-functions.php"], "fixing_code_end_loc": [117], "fixing_code_start_loc": [78], "message": "A SQL injection vulnerability exists in WPEverest Everest Forms plugin for WordPress through 1.4.9. Successful exploitation of this vuln... | 1,463 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire 'core/access.php';\n",
"echo '<h3>System</h3>';",
"\necho '<div class=\"row\">';",
"echo '<div class=\"col-md-4\">';",
"echo '<h5>Config</h5>';\necho '<dl class=\"dl-horizontal\">';\necho '<dt>Server:</dt><dd>' . $_SERVER['SERVER_NAME'] . ' (PHP '.phpversi... | [
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
0,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire 'core/access.php';\n",
"\necho '<hr class=\"shadow\" style=\"margin-top:0;\">';",
"\necho '<div class=\"row\">';",
"echo '<div class=\"col-md-4\">';",
"\necho '<div class=\"panel panel-default\">';",
"echo '<div class=\"panel-heading\">Config</div>';\nec... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire 'core/access.php';",
"\nif(isset($_POST['saveDesign'])) {",
"\t// all incoming data -> strip_tags\n\tforeach($_POST as $key => $val) {\n\t\t$$key = @strip_tags($val); \n\t}\n\t\n\t// template\n\t$select_template = explode(\"<|-|>\", $_POST['select_template']);... | [
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": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire 'core/access.php';",
"\nif(isset($_POST['saveDesign'])) {",
"\t// all incoming data -> strip_tags\n\tforeach($_POST as $key => $val) {\n\t\t$$key = @strip_tags($val); \n\t}\n\t\n\t// template\n\t$select_template = explode(\"<|-|>\", $_POST['select_template']);... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n//prohibit unauthorized access\nrequire 'core/access.php';",
"",
"echo\"\\n <form id='editpage' action='$_SERVER[PHP_SELF]?tn=pages&sub=edit&editpage=$editpage' class='form-horizontal' method='POST'>\\n\";",
"\n$custom_fields = get_custom_fields();\nsort($custom_fields);\n$cnt_custom_fields = count($c... | [
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,
0,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
0,
0,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n//prohibit unauthorized access\nrequire 'core/access.php';",
"",
"echo '<form id=\"editpage\" action=\"acp.php?tn=pages&sub=edit&editpage='.$editpage.'\" class=\"form-horizontal\" method=\"POST\">';",
"\n$custom_fields = get_custom_fields();\nsort($custom_fields);\n$cnt_custom_fields = count($custom_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": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire(\"core/access.php\");",
"$system_snippets = array('footer_text', 'extra_content_text', 'agreement_text', 'account_confirm', 'account_confirm_mail', 'no_access');\n$modus = 'new';",
"\nif(isset($_REQUEST['suggest_name'])) {\n\t$textlib_name = clean_filename($_R... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire(\"core/access.php\");",
"$system_snippets = array('footer_text', 'extra_content_text', 'agreement_text', 'account_confirm', 'account_confirm_mail', 'no_access');\n$modus = 'new';",
"\nif(isset($_REQUEST['suggest_name'])) {\n\t$textlib_name = clean_filename($_R... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"$time_s = microtime(true);",
"//prohibit unauthorized access\nrequire(\"core/access.php\");",
"\n// defaults",
"$entries_per_page = 200;",
"if($_SESSION['start'] == \"\") {\n\t$_SESSION['start'] = 0;\n}",
"if($_REQUEST['start'] != \"\") {\n\t$_SESSION['start'] = (int) ($_REQUEST['start']*$entr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"$time_s = microtime(true);",
"//prohibit unauthorized access\nrequire(\"core/access.php\");",
"\n// defaults",
"$entries_per_page = 200;",
"if($_SESSION['start'] == \"\") {\n\t$_SESSION['start'] = 0;\n}",
"if($_REQUEST['start'] != \"\") {\n\t$_SESSION['start'] = (int) ($_REQUEST['start']*$entr... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire(\"core/access.php\");",
"$array_group_user = array();",
"$submit_button = '<input type=\"submit\" class=\"btn btn-success\" name=\"saveGroup\" value=\"'.$lang['save'].'\">';\n$delete_button = '';",
"\n/**\n * Update existing group\n */",
"if($_POST['update... | [
1,
1,
1,
1,
1,
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,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire(\"core/access.php\");",
"$array_group_user = array();",
"$submit_button = '<input type=\"submit\" class=\"btn btn-success\" name=\"saveGroup\" value=\"'.$lang['save'].'\">';\n$delete_button = '';",
"\n/**\n * Update existing group\n */",
"if($_POST['update... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire(\"core/access.php\");",
"\n// sort by reference\nswitch ($_GET['sort']) {\ncase \"1\":\n $order_by = \"user_nick\";\n break;\ncase \"2\":\n $order_by = \"user_registerdate\";\n break;\ncase \"3\":\n $order_by = \"user_lastname\";\n break;\ncase... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"//prohibit unauthorized access\nrequire(\"core/access.php\");",
"\n// sort by reference\nswitch ($_GET['sort']) {\ncase \"1\":\n $order_by = \"user_nick\";\n break;\ncase \"2\":\n $order_by = \"user_registerdate\";\n break;\ncase \"3\":\n $order_by = \"user_lastname\";\n break;\ncase... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [84, 51, 267, 186, 49, 235, 200], "buggy_code_start_loc": [6, 50, 6, 185, 48, 164, 199], "filenames": ["acp/core/dashboard.system.php", "acp/core/list.themes.php", "acp/core/pages.edit_form.php", "acp/core/pages.snippets.php", "acp/core/system.stats.php", "acp/core/user.groups.php", "acp/core/use... | 1,464 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the \"License\").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n * or http:... | [
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": [58, 70, 394], "buggy_code_start_loc": [58, 69, 47], "filenames": ["lib/libshare/libshare.c", "lib/libshare/libshare_impl.h", "lib/libshare/nfs.c"], "fixing_code_end_loc": [118, 74, 331], "fixing_code_start_loc": [59, 70, 46], "message": "sharenfs 0.6.4, when built with commits bcdd594 and 7d0888... | 1,465 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the \"License\").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n * or http:... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [58, 70, 394], "buggy_code_start_loc": [58, 69, 47], "filenames": ["lib/libshare/libshare.c", "lib/libshare/libshare_impl.h", "lib/libshare/nfs.c"], "fixing_code_end_loc": [118, 74, 331], "fixing_code_start_loc": [59, 70, 46], "message": "sharenfs 0.6.4, when built with commits bcdd594 and 7d0888... | 1,465 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the \"License\").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n * or http:... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [58, 70, 394], "buggy_code_start_loc": [58, 69, 47], "filenames": ["lib/libshare/libshare.c", "lib/libshare/libshare_impl.h", "lib/libshare/nfs.c"], "fixing_code_end_loc": [118, 74, 331], "fixing_code_start_loc": [59, 70, 46], "message": "sharenfs 0.6.4, when built with commits bcdd594 and 7d0888... | 1,465 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the \"License\").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n * or http:... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [58, 70, 394], "buggy_code_start_loc": [58, 69, 47], "filenames": ["lib/libshare/libshare.c", "lib/libshare/libshare_impl.h", "lib/libshare/nfs.c"], "fixing_code_end_loc": [118, 74, 331], "fixing_code_start_loc": [59, 70, 46], "message": "sharenfs 0.6.4, when built with commits bcdd594 and 7d0888... | 1,465 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.