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. | [
"name: 'Git Tag Annotation'\ndescription: 'Get the annotation associated with a git tag'\nauthor: 'Eric Cornelissen'",
"inputs:\n tag:\n description: 'tag of interest (defaults to the GITHUB_REF environment variable)'\n required: false",
"outputs:\n git-tag-annotation:\n description: 'The git tag ann... | [
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 20, 18, 91], "buggy_code_start_loc": [11, 19, 2, 26], "filenames": ["CHANGELOG.md", "action.yml", "src/main.js", "test/main.test.js"], "fixing_code_end_loc": [17, 20, 26, 103], "fixing_code_start_loc": [12, 19, 3, 26], "message": "In the git-tag-annotation-action (open source GitHub Action) ... | 1,593 |
Determine whether the {function_name} code is vulnerable or not. | [
"name: 'Git Tag Annotation'\ndescription: 'Get the annotation associated with a git tag'\nauthor: 'Eric Cornelissen'",
"inputs:\n tag:\n description: 'tag of interest (defaults to the GITHUB_REF environment variable)'\n required: false",
"outputs:\n git-tag-annotation:\n description: 'The git tag ann... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 20, 18, 91], "buggy_code_start_loc": [11, 19, 2, 26], "filenames": ["CHANGELOG.md", "action.yml", "src/main.js", "test/main.test.js"], "fixing_code_end_loc": [17, 20, 26, 103], "fixing_code_start_loc": [12, 19, 3, 26], "message": "In the git-tag-annotation-action (open source GitHub Action) ... | 1,593 |
Determine whether the {function_name} code is vulnerable or not. | [
"const core = require('@actions/core');\nconst { exec } = require('child_process');",
"",
"\nfunction main() {\n try {\n let tag = process.env.GITHUB_REF;\n if (core.getInput('tag')) {\n tag = `refs/tags/${core.getInput('tag')}`;\n }\n",
" exec(`git for-each-ref --format='%(contents)' ${tag}... | [
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 20, 18, 91], "buggy_code_start_loc": [11, 19, 2, 26], "filenames": ["CHANGELOG.md", "action.yml", "src/main.js", "test/main.test.js"], "fixing_code_end_loc": [17, 20, 26, 103], "fixing_code_start_loc": [12, 19, 3, 26], "message": "In the git-tag-annotation-action (open source GitHub Action) ... | 1,593 |
Determine whether the {function_name} code is vulnerable or not. | [
"const core = require('@actions/core');\nconst { exec } = require('child_process');",
"\n// Based on https://stackoverflow.com/a/22827128\nfunction escapeShellArg(arg) {\n return arg.replace(/'/g, `'\\\\''`);\n}",
"\nfunction main() {\n try {\n let tag = process.env.GITHUB_REF;\n if (core.getInput('tag'... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 20, 18, 91], "buggy_code_start_loc": [11, 19, 2, 26], "filenames": ["CHANGELOG.md", "action.yml", "src/main.js", "test/main.test.js"], "fixing_code_end_loc": [17, 20, 26, 103], "fixing_code_start_loc": [12, 19, 3, 26], "message": "In the git-tag-annotation-action (open source GitHub Action) ... | 1,593 |
Determine whether the {function_name} code is vulnerable or not. | [
"const core = require('@actions/core');\nconst child_process = require('child_process');",
"const main = require('../src/main.js');",
"jest.mock('@actions/core');\njest.mock('child_process');",
"beforeEach(() => {\n core.getInput.mockClear();\n core.setFailed.mockClear();\n core.setOutput.mockClear();",
... | [
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,
0
] | PreciseBugs | {"buggy_code_end_loc": [11, 20, 18, 91], "buggy_code_start_loc": [11, 19, 2, 26], "filenames": ["CHANGELOG.md", "action.yml", "src/main.js", "test/main.test.js"], "fixing_code_end_loc": [17, 20, 26, 103], "fixing_code_start_loc": [12, 19, 3, 26], "message": "In the git-tag-annotation-action (open source GitHub Action) ... | 1,593 |
Determine whether the {function_name} code is vulnerable or not. | [
"const core = require('@actions/core');\nconst child_process = require('child_process');",
"const main = require('../src/main.js');",
"jest.mock('@actions/core');\njest.mock('child_process');",
"beforeEach(() => {\n core.getInput.mockClear();\n core.setFailed.mockClear();\n core.setOutput.mockClear();",
... | [
1,
1,
1,
1,
1,
1,
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": [11, 20, 18, 91], "buggy_code_start_loc": [11, 19, 2, 26], "filenames": ["CHANGELOG.md", "action.yml", "src/main.js", "test/main.test.js"], "fixing_code_end_loc": [17, 20, 26, 103], "fixing_code_start_loc": [12, 19, 3, 26], "message": "In the git-tag-annotation-action (open source GitHub Action) ... | 1,593 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\n * drivers/staging/android/ion/ion.c\n *\n * Copyright (C) 2011 Google, Inc.\n *\n * This software is licensed under the terms of the GNU General Public\n * License version 2, as published by the Free Software Foundation, and\n * may be copied, distributed, and modified under those terms.\n *\n * This prog... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0... | PreciseBugs | {"buggy_code_end_loc": [1340], "buggy_code_start_loc": [390], "filenames": ["drivers/staging/android/ion/ion.c"], "fixing_code_end_loc": [1369], "fixing_code_start_loc": [390], "message": "Race condition in the ion_ioctl function in drivers/staging/android/ion/ion.c in the Linux kernel before 4.6 allows local users to ... | 1,594 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\n * drivers/staging/android/ion/ion.c\n *\n * Copyright (C) 2011 Google, Inc.\n *\n * This software is licensed under the terms of the GNU General Public\n * License version 2, as published by the Free Software Foundation, and\n * may be copied, distributed, and modified under those terms.\n *\n * This prog... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1340], "buggy_code_start_loc": [390], "filenames": ["drivers/staging/android/ion/ion.c"], "fixing_code_end_loc": [1369], "fixing_code_start_loc": [390], "message": "Race condition in the ion_ioctl function in drivers/staging/android/ion/ion.c in the Linux kernel before 4.6 allows local users to ... | 1,594 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n * @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $\n -------------------------------------------------------------------------\n Tasklists plugin for GLPI\n Copyright (C) 2003-2016 by the Tasklists Development Team.",
" https://github.com/InfotelGLPI/tasklists\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,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [337, 273, 31, 27], "buggy_code_start_loc": [334, 272, 30, 27], "filenames": ["inc/task.class.php", "inc/tasktype.class.php", "setup.php", "tasklists.xml"], "fixing_code_end_loc": [343, 273, 31, 33], "fixing_code_start_loc": [335, 272, 30, 28], "message": "tasklists is a tasklists plugin for GLPI... | 1,595 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n * @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $\n -------------------------------------------------------------------------\n Tasklists plugin for GLPI\n Copyright (C) 2003-2016 by the Tasklists Development Team.",
" https://github.com/InfotelGLPI/tasklists\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": [337, 273, 31, 27], "buggy_code_start_loc": [334, 272, 30, 27], "filenames": ["inc/task.class.php", "inc/tasktype.class.php", "setup.php", "tasklists.xml"], "fixing_code_end_loc": [343, 273, 31, 33], "fixing_code_start_loc": [335, 272, 30, 28], "message": "tasklists is a tasklists plugin for GLPI... | 1,595 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n * @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $\n -------------------------------------------------------------------------\n Tasklists plugin for GLPI\n Copyright (C) 2003-2016 by the Tasklists Development Team.",
" https://github.com/InfotelGLPI/tasklists\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,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [337, 273, 31, 27], "buggy_code_start_loc": [334, 272, 30, 27], "filenames": ["inc/task.class.php", "inc/tasktype.class.php", "setup.php", "tasklists.xml"], "fixing_code_end_loc": [343, 273, 31, 33], "fixing_code_start_loc": [335, 272, 30, 28], "message": "tasklists is a tasklists plugin for GLPI... | 1,595 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n * @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $\n -------------------------------------------------------------------------\n Tasklists plugin for GLPI\n Copyright (C) 2003-2016 by the Tasklists Development Team.",
" https://github.com/InfotelGLPI/tasklists\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": [337, 273, 31, 27], "buggy_code_start_loc": [334, 272, 30, 27], "filenames": ["inc/task.class.php", "inc/tasktype.class.php", "setup.php", "tasklists.xml"], "fixing_code_end_loc": [343, 273, 31, 33], "fixing_code_start_loc": [335, 272, 30, 28], "message": "tasklists is a tasklists plugin for GLPI... | 1,595 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n * @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $\n -------------------------------------------------------------------------\n Tasklists plugin for GLPI\n Copyright (C) 2003-2016 by the Tasklists Development Team.",
" https://github.com/InfotelGLPI/tasklists\n --------------------------------... | [
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": [337, 273, 31, 27], "buggy_code_start_loc": [334, 272, 30, 27], "filenames": ["inc/task.class.php", "inc/tasktype.class.php", "setup.php", "tasklists.xml"], "fixing_code_end_loc": [343, 273, 31, 33], "fixing_code_start_loc": [335, 272, 30, 28], "message": "tasklists is a tasklists plugin for GLPI... | 1,595 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n * @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $\n -------------------------------------------------------------------------\n Tasklists plugin for GLPI\n Copyright (C) 2003-2016 by the Tasklists Development Team.",
" https://github.com/InfotelGLPI/tasklists\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
] | PreciseBugs | {"buggy_code_end_loc": [337, 273, 31, 27], "buggy_code_start_loc": [334, 272, 30, 27], "filenames": ["inc/task.class.php", "inc/tasktype.class.php", "setup.php", "tasklists.xml"], "fixing_code_end_loc": [343, 273, 31, 33], "fixing_code_start_loc": [335, 272, 30, 28], "message": "tasklists is a tasklists plugin for GLPI... | 1,595 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<root>\n <name>Tasks List (Kanban)</name>\n <key>tasklists</key>\n <state>stable</state>\n <logo>https://raw.githubusercontent.com/InfotelGLPI/tasklists/master/tasklists.png</logo>\n <description>\n <short>\n <fr><![CDATA[Ajout d'une gest... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [337, 273, 31, 27], "buggy_code_start_loc": [334, 272, 30, 27], "filenames": ["inc/task.class.php", "inc/tasktype.class.php", "setup.php", "tasklists.xml"], "fixing_code_end_loc": [343, 273, 31, 33], "fixing_code_start_loc": [335, 272, 30, 28], "message": "tasklists is a tasklists plugin for GLPI... | 1,595 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<root>\n <name>Tasks List (Kanban)</name>\n <key>tasklists</key>\n <state>stable</state>\n <logo>https://raw.githubusercontent.com/InfotelGLPI/tasklists/master/tasklists.png</logo>\n <description>\n <short>\n <fr><![CDATA[Ajout d'une gest... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [337, 273, 31, 27], "buggy_code_start_loc": [334, 272, 30, 27], "filenames": ["inc/task.class.php", "inc/tasktype.class.php", "setup.php", "tasklists.xml"], "fixing_code_end_loc": [343, 273, 31, 33], "fixing_code_start_loc": [335, 272, 30, 28], "message": "tasklists is a tasklists plugin for GLPI... | 1,595 |
Determine whether the {function_name} code is vulnerable or not. | [
"#undef DEBUG",
"/*\n * ARM performance counter support.\n *\n * Copyright (C) 2009 picoChip Designs, Ltd., Jamie Iles\n * Copyright (C) 2010 ARM Ltd., Will Deacon <will.deacon@arm.com>\n *\n * This code is based on the sparc64 perf event code, which is in turn based\n * on the x86 code. Callchain code is based o... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [254], "buggy_code_start_loc": [254], "filenames": ["arch/arm/kernel/perf_event.c"], "fixing_code_end_loc": [258], "fixing_code_start_loc": [255], "message": "The validate_event function in arch/arm/kernel/perf_event.c in the Linux kernel before 3.10.8 on the ARM platform allows local users to ga... | 1,596 |
Determine whether the {function_name} code is vulnerable or not. | [
"#undef DEBUG",
"/*\n * ARM performance counter support.\n *\n * Copyright (C) 2009 picoChip Designs, Ltd., Jamie Iles\n * Copyright (C) 2010 ARM Ltd., Will Deacon <will.deacon@arm.com>\n *\n * This code is based on the sparc64 perf event code, which is in turn based\n * on the x86 code. Callchain code is based o... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [254], "buggy_code_start_loc": [254], "filenames": ["arch/arm/kernel/perf_event.c"], "fixing_code_end_loc": [258], "fixing_code_start_loc": [255], "message": "The validate_event function in arch/arm/kernel/perf_event.c in the Linux kernel before 3.10.8 on the ARM platform allows local users to ga... | 1,596 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2012 Philip Van Hoof <philip@codeminded.be>\n * Copyright (C) 2009 Vic Lee.\n *\n * This 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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [283], "buggy_code_start_loc": [271], "filenames": ["libvncclient/tls_openssl.c"], "fixing_code_end_loc": [285], "fixing_code_start_loc": [271], "message": "An issue was discovered in LibVNCServer before 0.9.13. libvncclient/tls_openssl.c has a NULL pointer dereference.", "other": {"cve": {"cisaA... | 1,597 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2012 Philip Van Hoof <philip@codeminded.be>\n * Copyright (C) 2009 Vic Lee.\n *\n * This 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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [283], "buggy_code_start_loc": [271], "filenames": ["libvncclient/tls_openssl.c"], "fixing_code_end_loc": [285], "fixing_code_start_loc": [271], "message": "An issue was discovered in LibVNCServer before 0.9.13. libvncclient/tls_openssl.c has a NULL pointer dereference.", "other": {"cve": {"cisaA... | 1,597 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude_once('./_common.php');\r\n\r\n//dbconfig파일에 $g5['faq_table'] , $g5['faq_master_table'] 배열변수가 있는지 체크\r\nif( !isset($g5['faq_table']) || !isset($g5['faq_master_table']) ){\r\n die('<meta charset=\"utf-8\">관리자 모드에서 게시판관리->FAQ관리를 먼저 확인해 주세요.');\r\n}\r\n\r\n// FAQ MASTER\r\n$faq_master_list = array(... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [20], "buggy_code_start_loc": [20], "filenames": ["bbs/faq.php"], "fixing_code_end_loc": [22], "fixing_code_start_loc": [21], "message": "A vulnerability was found in gnuboard5. It has been classified as problematic. Affected is an unknown function of the file bbs/faq.php of the component FAQ Key... | 1,598 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude_once('./_common.php');\r\n\r\n//dbconfig파일에 $g5['faq_table'] , $g5['faq_master_table'] 배열변수가 있는지 체크\r\nif( !isset($g5['faq_table']) || !isset($g5['faq_master_table']) ){\r\n die('<meta charset=\"utf-8\">관리자 모드에서 게시판관리->FAQ관리를 먼저 확인해 주세요.');\r\n}\r\n\r\n// FAQ MASTER\r\n$faq_master_list = array(... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [20], "buggy_code_start_loc": [20], "filenames": ["bbs/faq.php"], "fixing_code_end_loc": [22], "fixing_code_start_loc": [21], "message": "A vulnerability was found in gnuboard5. It has been classified as problematic. Affected is an unknown function of the file bbs/faq.php of the component FAQ Key... | 1,598 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * PgBouncer - Lightweight connection pooler for PostgreSQL.\n * \n * Copyright (c) 2007-2009 Marko Kreen, Skype Technologies OÜ\n * \n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [87], "buggy_code_start_loc": [86], "filenames": ["src/client.c"], "fixing_code_end_loc": [85], "fixing_code_start_loc": [85], "message": "PgBouncer 1.6.x before 1.6.1, when configured with auth_user, allows remote attackers to gain login access as auth_user via an unknown username.", "other": {"... | 1,599 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * PgBouncer - Lightweight connection pooler for PostgreSQL.\n * \n * Copyright (c) 2007-2009 Marko Kreen, Skype Technologies OÜ\n * \n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [87], "buggy_code_start_loc": [86], "filenames": ["src/client.c"], "fixing_code_end_loc": [85], "fixing_code_start_loc": [85], "message": "PgBouncer 1.6.x before 1.6.1, when configured with auth_user, allows remote attackers to gain login access as auth_user via an unknown username.", "other": {"... | 1,599 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** codegen.c - mruby code generator\n**\n** See Copyright Notice in mruby.h\n*/",
"#include <mruby.h>\n#include <mruby/compile.h>\n#include <mruby/proc.h>\n#include <mruby/dump.h>\n#include <mruby/numeric.h>\n#include <mruby/string.h>\n#include <mruby/debug.h>\n#include <mruby/presym.h>\n#include \"node.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": [1591], "buggy_code_start_loc": [1554], "filenames": ["mrbgems/mruby-compiler/core/codegen.c"], "fixing_code_end_loc": [1597], "fixing_code_start_loc": [1554], "message": "Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null,... | 1,600 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** codegen.c - mruby code generator\n**\n** See Copyright Notice in mruby.h\n*/",
"#include <mruby.h>\n#include <mruby/compile.h>\n#include <mruby/proc.h>\n#include <mruby/dump.h>\n#include <mruby/numeric.h>\n#include <mruby/string.h>\n#include <mruby/debug.h>\n#include <mruby/presym.h>\n#include \"node.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": [1591], "buggy_code_start_loc": [1554], "filenames": ["mrbgems/mruby-compiler/core/codegen.c"], "fixing_code_end_loc": [1597], "fixing_code_start_loc": [1554], "message": "Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null,... | 1,600 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"# This makes opus an optional dependency\nbegin\n require 'opus-ruby'\n OPUS_AVAILABLE = true\nrescue LoadError\n OPUS_AVAILABLE = false\nend",
"# Discord voice chat support\nmodule Discordrb::Voice\n # This class conveniently abstracts opus and ffmpeg/avconv, for easy impl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [98], "buggy_code_start_loc": [80], "filenames": ["lib/discordrb/voice/encoder.rb"], "fixing_code_end_loc": [107], "fixing_code_start_loc": [80], "message": "discordrb is an implementation of the Discord API using Ruby. In discordrb before commit `91e13043ffa` the `encoder.rb` file unsafely const... | 1,601 |
Determine whether the {function_name} code is vulnerable or not. | [
"# frozen_string_literal: true",
"# This makes opus an optional dependency\nbegin\n require 'opus-ruby'\n OPUS_AVAILABLE = true\nrescue LoadError\n OPUS_AVAILABLE = false\nend",
"# Discord voice chat support\nmodule Discordrb::Voice\n # This class conveniently abstracts opus and ffmpeg/avconv, for easy impl... | [
1,
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": [98], "buggy_code_start_loc": [80], "filenames": ["lib/discordrb/voice/encoder.rb"], "fixing_code_end_loc": [107], "fixing_code_start_loc": [80], "message": "discordrb is an implementation of the Discord API using Ruby. In discordrb before commit `91e13043ffa` the `encoder.rb` file unsafely const... | 1,601 |
Determine whether the {function_name} code is vulnerable or not. | [
"<%--\n/*******************************************************************************\n * This file is part of OpenNMS(R).\n *\n * Copyright (C) 2002-2014 The OpenNMS Group, Inc.\n * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.\n *\n * OpenNMS(R) is a registered trademark of The OpenNMS Group, In... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [137, 194, 90], "buggy_code_start_loc": [38, 41, 31], "filenames": ["opennms-webapp/src/main/webapp/WEB-INF/jsp/admin/notification/noticeWizard/eventNotices.jsp", "opennms-webapp/src/main/webapp/admin/notification/noticeWizard/choosePath.jsp", "smoke-test/src/test/java/org/opennms/smoketest/Notif... | 1,602 |
Determine whether the {function_name} code is vulnerable or not. | [
"<%--\n/*******************************************************************************\n * This file is part of OpenNMS(R).\n *\n * Copyright (C) 2002-2014 The OpenNMS Group, Inc.\n * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.\n *\n * OpenNMS(R) is a registered trademark of The OpenNMS Group, In... | [
1,
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": [137, 194, 90], "buggy_code_start_loc": [38, 41, 31], "filenames": ["opennms-webapp/src/main/webapp/WEB-INF/jsp/admin/notification/noticeWizard/eventNotices.jsp", "opennms-webapp/src/main/webapp/admin/notification/noticeWizard/choosePath.jsp", "smoke-test/src/test/java/org/opennms/smoketest/Notif... | 1,602 |
Determine whether the {function_name} code is vulnerable or not. | [
"<%--\n/*******************************************************************************\n * This file is part of OpenNMS(R).\n *\n * Copyright (C) 2002-2017 The OpenNMS Group, Inc.\n * OpenNMS(R) is Copyright (C) 1999-2017 The OpenNMS Group, Inc.\n *\n * OpenNMS(R) is a registered trademark of The OpenNMS Group, In... | [
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [137, 194, 90], "buggy_code_start_loc": [38, 41, 31], "filenames": ["opennms-webapp/src/main/webapp/WEB-INF/jsp/admin/notification/noticeWizard/eventNotices.jsp", "opennms-webapp/src/main/webapp/admin/notification/noticeWizard/choosePath.jsp", "smoke-test/src/test/java/org/opennms/smoketest/Notif... | 1,602 |
Determine whether the {function_name} code is vulnerable or not. | [
"<%--\n/*******************************************************************************\n * This file is part of OpenNMS(R).\n *\n * Copyright (C) 2002-2017 The OpenNMS Group, Inc.\n * OpenNMS(R) is Copyright (C) 1999-2017 The OpenNMS Group, Inc.\n *\n * OpenNMS(R) is a registered trademark of The OpenNMS Group, In... | [
1,
1,
1,
1,
1,
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": [137, 194, 90], "buggy_code_start_loc": [38, 41, 31], "filenames": ["opennms-webapp/src/main/webapp/WEB-INF/jsp/admin/notification/noticeWizard/eventNotices.jsp", "opennms-webapp/src/main/webapp/admin/notification/noticeWizard/choosePath.jsp", "smoke-test/src/test/java/org/opennms/smoketest/Notif... | 1,602 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*******************************************************************************\n * This file is part of OpenNMS(R).\n *\n * Copyright (C) 2011-2014 The OpenNMS Group, Inc.\n * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.\n *\n * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.\n *... | [
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [137, 194, 90], "buggy_code_start_loc": [38, 41, 31], "filenames": ["opennms-webapp/src/main/webapp/WEB-INF/jsp/admin/notification/noticeWizard/eventNotices.jsp", "opennms-webapp/src/main/webapp/admin/notification/noticeWizard/choosePath.jsp", "smoke-test/src/test/java/org/opennms/smoketest/Notif... | 1,602 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*******************************************************************************\n * This file is part of OpenNMS(R).\n *\n * Copyright (C) 2011-2014 The OpenNMS Group, Inc.\n * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.\n *\n * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [137, 194, 90], "buggy_code_start_loc": [38, 41, 31], "filenames": ["opennms-webapp/src/main/webapp/WEB-INF/jsp/admin/notification/noticeWizard/eventNotices.jsp", "opennms-webapp/src/main/webapp/admin/notification/noticeWizard/choosePath.jsp", "smoke-test/src/test/java/org/opennms/smoketest/Notif... | 1,602 |
Determine whether the {function_name} code is vulnerable or not. | [
"import(\"//brave/browser/translate/buildflags/buildflags.gni\")\nimport(\"//brave/components/brave_referrals/buildflags/buildflags.gni\")\nimport(\"//brave/components/brave_webtorrent/browser/buildflags/buildflags.gni\")\nimport(\"//brave/components/ipfs/buildflags/buildflags.gni\")\nimport(\"//build/config/featur... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [94, 210], "buggy_code_start_loc": [56, 68], "filenames": ["browser/net/BUILD.gn", "browser/net/brave_ad_block_tp_network_delegate_helper.cc"], "fixing_code_end_loc": [92, 217], "fixing_code_start_loc": [57, 68], "message": "Brave is an open source web browser with a focus on privacy and security... | 1,603 |
Determine whether the {function_name} code is vulnerable or not. | [
"import(\"//brave/browser/translate/buildflags/buildflags.gni\")\nimport(\"//brave/components/brave_referrals/buildflags/buildflags.gni\")\nimport(\"//brave/components/brave_webtorrent/browser/buildflags/buildflags.gni\")\nimport(\"//brave/components/ipfs/buildflags/buildflags.gni\")\nimport(\"//build/config/featur... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [94, 210], "buggy_code_start_loc": [56, 68], "filenames": ["browser/net/BUILD.gn", "browser/net/brave_ad_block_tp_network_delegate_helper.cc"], "fixing_code_end_loc": [92, 217], "fixing_code_start_loc": [57, 68], "message": "Brave is an open source web browser with a focus on privacy and security... | 1,603 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright (c) 2019 The Brave Authors. All rights reserved.\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http://mozilla.org/MPL/2.0/. */",
"#include \"brave/browser/net/brave_ad_bl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [94, 210], "buggy_code_start_loc": [56, 68], "filenames": ["browser/net/BUILD.gn", "browser/net/brave_ad_block_tp_network_delegate_helper.cc"], "fixing_code_end_loc": [92, 217], "fixing_code_start_loc": [57, 68], "message": "Brave is an open source web browser with a focus on privacy and security... | 1,603 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright (c) 2019 The Brave Authors. All rights reserved.\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http://mozilla.org/MPL/2.0/. */",
"#include \"brave/browser/net/brave_ad_bl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [94, 210], "buggy_code_start_loc": [56, 68], "filenames": ["browser/net/BUILD.gn", "browser/net/brave_ad_block_tp_network_delegate_helper.cc"], "fixing_code_end_loc": [92, 217], "fixing_code_start_loc": [57, 68], "message": "Brave is an open source web browser with a focus on privacy and security... | 1,603 |
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,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [205], "buggy_code_start_loc": [176], "filenames": ["tensorflow/core/kernels/quantized_batch_norm_op.cc"], "fixing_code_end_loc": [263], "fixing_code_start_loc": [176], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a runtime division by z... | 1,604 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [205], "buggy_code_start_loc": [176], "filenames": ["tensorflow/core/kernels/quantized_batch_norm_op.cc"], "fixing_code_end_loc": [263], "fixing_code_start_loc": [176], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a runtime division by z... | 1,604 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n *\n */\npackage com.salesmanager.shop.store.controller.shoppingCart.facade;",
"import java.util.ArrayList;\nimport java.util.Date;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.UUID;",
"import javax.inject.Inject;\nimport javax.persistence.NoResultException;"... | [
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,
0,
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": [918], "buggy_code_start_loc": [111], "filenames": ["sm-shop/src/main/java/com/salesmanager/shop/store/controller/shoppingCart/facade/ShoppingCartFacadeImpl.java"], "fixing_code_end_loc": [916], "fixing_code_start_loc": [111], "message": "In Shopizer before version 2.11.0, a script can be injecte... | 1,605 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n *\n */\npackage com.salesmanager.shop.store.controller.shoppingCart.facade;",
"import java.util.ArrayList;\nimport java.util.Date;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\nimport java.util.UUID;",
"import javax.inject.Inject;\nimport javax.persistence.NoResultException;"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [918], "buggy_code_start_loc": [111], "filenames": ["sm-shop/src/main/java/com/salesmanager/shop/store/controller/shoppingCart/facade/ShoppingCartFacadeImpl.java"], "fixing_code_end_loc": [916], "fixing_code_start_loc": [111], "message": "In Shopizer before version 2.11.0, a script can be injecte... | 1,605 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 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,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1711], "buggy_code_start_loc": [1692], "filenames": ["tensorflow/core/grappler/optimizers/constant_folding.cc"], "fixing_code_end_loc": [1719], "fixing_code_start_loc": [1692], "message": "Tensorflow is an Open Source Machine Learning Framework. The Grappler optimizer in TensorFlow can be used t... | 1,606 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 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,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1711], "buggy_code_start_loc": [1692], "filenames": ["tensorflow/core/grappler/optimizers/constant_folding.cc"], "fixing_code_end_loc": [1719], "fixing_code_start_loc": [1692], "message": "Tensorflow is an Open Source Machine Learning Framework. The Grappler optimizer in TensorFlow can be used t... | 1,606 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Change Log",
"Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.",
"",
"\n## 7.4.3 - 2022-05-25",
"* Fix cross-domain cookie leakage",
"## 7.4.2 - 2022-03-20",
"### Fixed",
"- Remove curl auth on cross-domain redirects to align with the Authorization HTTP header\n- Re... | [
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,
1... | PreciseBugs | {"buggy_code_end_loc": [3, 214, 287], "buggy_code_start_loc": [3, 145, 275], "filenames": ["CHANGELOG.md", "src/RedirectMiddleware.php", "tests/RedirectMiddlewareTest.php"], "fixing_code_end_loc": [9, 241, 306], "fixing_code_start_loc": [4, 145, 275], "message": "Guzzle is an open source PHP HTTP client. In affected ve... | 1,607 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Change Log",
"Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.",
"\n## 7.4.4 - 2022-06-09",
"* Fix failure to strip Authorization header on HTTP downgrade\n* Fix failure to strip the Cookie header on change in host or HTTP downgrade",
"\n## 7.4.3 - 2022-05-25",
"* Fix 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": [3, 214, 287], "buggy_code_start_loc": [3, 145, 275], "filenames": ["CHANGELOG.md", "src/RedirectMiddleware.php", "tests/RedirectMiddlewareTest.php"], "fixing_code_end_loc": [9, 241, 306], "fixing_code_start_loc": [4, 145, 275], "message": "Guzzle is an open source PHP HTTP client. In affected ve... | 1,607 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace GuzzleHttp;",
"use GuzzleHttp\\Exception\\BadResponseException;\nuse GuzzleHttp\\Exception\\TooManyRedirectsException;\nuse GuzzleHttp\\Promise\\PromiseInterface;\nuse Psr\\Http\\Message\\RequestInterface;\nuse Psr\\Http\\Message\\ResponseInterface;\nuse Psr\\Http\\Message\\UriInterface;",
... | [
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,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [3, 214, 287], "buggy_code_start_loc": [3, 145, 275], "filenames": ["CHANGELOG.md", "src/RedirectMiddleware.php", "tests/RedirectMiddlewareTest.php"], "fixing_code_end_loc": [9, 241, 306], "fixing_code_start_loc": [4, 145, 275], "message": "Guzzle is an open source PHP HTTP client. In affected ve... | 1,607 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace GuzzleHttp;",
"use GuzzleHttp\\Exception\\BadResponseException;\nuse GuzzleHttp\\Exception\\TooManyRedirectsException;\nuse GuzzleHttp\\Promise\\PromiseInterface;\nuse Psr\\Http\\Message\\RequestInterface;\nuse Psr\\Http\\Message\\ResponseInterface;\nuse Psr\\Http\\Message\\UriInterface;",
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [3, 214, 287], "buggy_code_start_loc": [3, 145, 275], "filenames": ["CHANGELOG.md", "src/RedirectMiddleware.php", "tests/RedirectMiddlewareTest.php"], "fixing_code_end_loc": [9, 241, 306], "fixing_code_start_loc": [4, 145, 275], "message": "Guzzle is an open source PHP HTTP client. In affected ve... | 1,607 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace GuzzleHttp\\Tests;",
"use GuzzleHttp\\Client;\nuse GuzzleHttp\\Exception\\BadResponseException;\nuse GuzzleHttp\\Exception\\TooManyRedirectsException;\nuse GuzzleHttp\\Handler\\MockHandler;\nuse GuzzleHttp\\HandlerStack;\nuse GuzzleHttp\\Middleware;\nuse GuzzleHttp\\Psr7\\Request;\nuse Guzzl... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [3, 214, 287], "buggy_code_start_loc": [3, 145, 275], "filenames": ["CHANGELOG.md", "src/RedirectMiddleware.php", "tests/RedirectMiddlewareTest.php"], "fixing_code_end_loc": [9, 241, 306], "fixing_code_start_loc": [4, 145, 275], "message": "Guzzle is an open source PHP HTTP client. In affected ve... | 1,607 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace GuzzleHttp\\Tests;",
"use GuzzleHttp\\Client;\nuse GuzzleHttp\\Exception\\BadResponseException;\nuse GuzzleHttp\\Exception\\TooManyRedirectsException;\nuse GuzzleHttp\\Handler\\MockHandler;\nuse GuzzleHttp\\HandlerStack;\nuse GuzzleHttp\\Middleware;\nuse GuzzleHttp\\Psr7\\Request;\nuse Guzzl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [3, 214, 287], "buggy_code_start_loc": [3, 145, 275], "filenames": ["CHANGELOG.md", "src/RedirectMiddleware.php", "tests/RedirectMiddlewareTest.php"], "fixing_code_end_loc": [9, 241, 306], "fixing_code_start_loc": [4, 145, 275], "message": "Guzzle is an open source PHP HTTP client. In affected ve... | 1,607 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"class Install\n{\n function __construct($ini_file)\n {\n openlog(\"livehelperchat\", LOG_PID | LOG_PERROR, LOG_LOCAL0);\n syslog(LOG_DEBUG, \"Start installation\"); \n $this->settings = parse_ini_file($ini_file, true, INI_SCANNER_TYPED);\n }",
" function __destruct()\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": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"class Install\n{\n function __construct($ini_file)\n {\n openlog(\"livehelperchat\", LOG_PID | LOG_PERROR, LOG_LOCAL0);\n syslog(LOG_DEBUG, \"Start installation\"); \n $this->settings = parse_ini_file($ini_file, true, INI_SCANNER_TYPED);\n }",
" function __destruct()\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": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php \r\n$trackDomain = erLhcoreClassModelChatConfig::fetch('track_domain')->current_value;\r\n$disableHTML5Storage = (int)erLhcoreClassModelChatConfig::fetch('disable_html5_storage')->current_value;\r\n?>\r\n\r\n/*! Cookies.js - 0.4.0; Copyright (c) 2014, Scott Hamper; http://www.opensource.org/licenses/MIT */\r... | [
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php \r\n$trackDomain = erLhcoreClassModelChatConfig::fetch('track_domain')->current_value;\r\n$disableHTML5Storage = (int)erLhcoreClassModelChatConfig::fetch('disable_html5_storage')->current_value;\r\n?>\r\n\r\n/*! Cookies.js - 0.4.0; Copyright (c) 2014, Scott Hamper; http://www.opensource.org/licenses/MIT */\r... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<h1><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','HTML code');?></h1>",
"<div class=\"row\" ng-non-bindable>\n\t<div class=\"col-md-6\">\n\t\t<div class=\"form-group\">\n\t\t\t<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/h... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<h1><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','HTML code');?></h1>",
"<div class=\"row\" ng-non-bindable>\n\t<div class=\"col-md-6\">\n\t\t<div class=\"form-group\">\n\t\t\t<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/h... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if (isset($orderInformation['id']['enabled']) && $orderInformation['id']['enabled'] == true) : ?>\r\n<div class=\"col-6 pb-1\">\r",
" <span class=\"material-icons user-select-none\">vpn_key</span><span><?php echo $chat->id;?></span><button data-success=\"Copied\" class=\"ml-1 btn btn-xs btn-link text-mu... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if (isset($orderInformation['id']['enabled']) && $orderInformation['id']['enabled'] == true) : ?>\r\n<div class=\"col-6 pb-1\">\r",
" <span class=\"material-icons user-select-none\">vpn_key</span><span><?php echo $chat->id;?></span><button data-success=\"Copied\" class=\"ml-1 btn btn-xs btn-link text-mu... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if (isset($reopen_chat)) : ?>\nlh_inst.stopCheckNewMessage();\nlh_inst.addCookieAttribute('hash','<?php echo $reopen_chat->id;?>_<?php echo $reopen_chat->hash?>');\nlh_inst.showStartWindow();\n<?php elseif ($visitor->has_message_from_operator == true && (!isset($dynamic_everytime) || $dynamic_everytime == fa... | [
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if (isset($reopen_chat)) : ?>\nlh_inst.stopCheckNewMessage();\nlh_inst.addCookieAttribute('hash','<?php echo $reopen_chat->id;?>_<?php echo $reopen_chat->hash?>');\nlh_inst.showStartWindow();\n<?php elseif ($visitor->has_message_from_operator == true && (!isset($dynamic_everytime) || $dynamic_everytime == fa... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"align-self-center op-photo\">\n <?php if ($user->has_photo_avatar) : ?>\n <?php if ($user->has_photo) : ?>\n <img width=\"20\" height=\"20\" src=\"<?php echo $user->photo_path?>\" alt=\"<?php echo htmlspecialchars($user->name_support)?>\" />\n <?php else : ?>",
" ... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"align-self-center op-photo\">\n <?php if ($user->has_photo_avatar) : ?>\n <?php if ($user->has_photo) : ?>\n <img width=\"20\" height=\"20\" src=\"<?php echo $user->photo_path?>\" alt=\"<?php echo htmlspecialchars($user->name_support)?>\" />\n <?php else : ?>",
" ... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/position_css.tpl.php')); ?>\n<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/position_css_override.tpl.php')); ?>",
"<?php\n$trackDomain = erLhcoreClassModelChatConfig::fetch('track_domain')->current_value;\n$disableHTML5Storage = (int... | [
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,
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": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/position_css.tpl.php')); ?>\n<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/position_css_override.tpl.php')); ?>",
"<?php\n$trackDomain = erLhcoreClassModelChatConfig::fetch('track_domain')->current_value;\n$disableHTML5Storage = (int... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php \n$iconsStatuses['restore_image_url'] = ($theme !== false && $theme->restore_image_url !== false && strpos($theme->restore_image_url, 'http') !== false);\n$iconsStatuses['minimize_image_url'] = ($theme !== false && $theme->minimize_image_url !== false && strpos($theme->minimize_image_url, 'http') !== false);... | [
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php \n$iconsStatuses['restore_image_url'] = ($theme !== false && $theme->restore_image_url !== false && strpos($theme->restore_image_url, 'http') !== false);\n$iconsStatuses['minimize_image_url'] = ($theme !== false && $theme->minimize_image_url !== false && strpos($theme->minimize_image_url, 'http') !== false);... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php foreach ($dynamic_invitation as $invitation) : ?>",
"<?php if (in_array($invitation->id, $dynamic_processed)) {\n continue; // Skip if particular invitation was already shown\n} ?>",
"<?php if ($invitation->event_type == 1) : ?>\nlh_inst.dynamicAssigned.push(<?php echo $invitation->id?>); \nlh_in... | [
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php foreach ($dynamic_invitation as $invitation) : ?>",
"<?php if (in_array($invitation->id, $dynamic_processed)) {\n continue; // Skip if particular invitation was already shown\n} ?>",
"<?php if ($invitation->event_type == 1) : ?>\nlh_inst.dynamicAssigned.push(<?php echo $invitation->id?>); \nlh_in... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"showSurvey : function() {\r\n if (lh_inst.cookieData.hash && lh_inst.hasSurvey == true && lh_inst.surveyShown == false){\r\n var locationCurrent = encodeURIComponent(window.location.href.substring(window.location.protocol.length));\r\n this.surveyShown = true;\r",
" document.getElementByI... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"showSurvey : function() {\r\n if (lh_inst.cookieData.hash && lh_inst.hasSurvey == true && lh_inst.surveyShown == false){\r\n var locationCurrent = encodeURIComponent(window.location.href.substring(window.location.protocol.length));\r\n this.surveyShown = true;\r",
" document.getElementByI... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"showSurvey : function() {\n if (this.cookieData.hash && this.hasSurvey == true && this.surveyShown == false){\n var locationCurrent = encodeURIComponent(window.location.href.substring(window.location.protocol.length));\n this.surveyShown = true;",
" document.getElementById('<?php echo $ch... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"showSurvey : function() {\n if (this.cookieData.hash && this.hasSurvey == true && this.surveyShown == false){\n var locationCurrent = encodeURIComponent(window.location.href.substring(window.location.protocol.length));\n this.surveyShown = true;",
" document.getElementById('<?php echo $ch... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"isNotificationsSubscribed : false,\r\n\r\nsendNotification : function() {\r\n\r\n <?php $notificationsSettings = erLhcoreClassModelChatConfig::fetch('notifications_settings')->data_value;?>\r\n\r\n <?php if (isset($notificationsSettings['enabled']) && $notificationsSettings['enabled'] == 1) : ?>\r\n\r\n v... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"isNotificationsSubscribed : false,\r\n\r\nsendNotification : function() {\r\n\r\n <?php $notificationsSettings = erLhcoreClassModelChatConfig::fetch('notifications_settings')->data_value;?>\r\n\r\n <?php if (isset($notificationsSettings['enabled']) && $notificationsSettings['enabled'] == 1) : ?>\r\n\r\n v... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"iframePreloaded : false,\niframeCustomUrl : false,",
"preloadWidget : function() {\n <?php if ((int)erLhcoreClassModelChatConfig::fetch('preload_iframes')->current_value == 1) : ?>\n var locationCurrent = encodeURIComponent(window.location.href.substring(window.location.protocol.length));\n var widgetWi... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"iframePreloaded : false,\niframeCustomUrl : false,",
"preloadWidget : function() {\n <?php if ((int)erLhcoreClassModelChatConfig::fetch('preload_iframes')->current_value == 1) : ?>\n var locationCurrent = encodeURIComponent(window.location.href.substring(window.location.protocol.length));\n var widgetWi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"showStatusWidget : function() {\n<?php if ($position == 'original' || $position == '') :\n// You can style bottom HTML whatever you want. ?>\n<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/native_placement.tpl.php')); ?>",
"<?php elseif (in_array($position, array_keys($positionArgument))) : ?>\n\... | [
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"showStatusWidget : function() {\n<?php if ($position == 'original' || $position == '') :\n// You can style bottom HTML whatever you want. ?>\n<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/native_placement.tpl.php')); ?>",
"<?php elseif (in_array($position, array_keys($positionArgument))) : ?>\n\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"var lhc_domain = '';",
"if (typeof LHCChatOptions !== 'undefined' && typeof LHCChatOptions.opt !== 'undefined' && typeof LHCChatOptions.opt.domain !== 'undefined') {\nlhc_domain = LHCChatOptions.opt.domain;\n}",
"if (typeof LHCChatOptionsPage !== 'undefined' && typeof LHCChatOptionsPage.opt !== 'undefined' && ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"var lhc_domain = '';",
"if (typeof LHCChatOptions !== 'undefined' && typeof LHCChatOptions.opt !== 'undefined' && typeof LHCChatOptions.opt.domain !== 'undefined') {\nlhc_domain = LHCChatOptions.opt.domain;\n}",
"if (typeof LHCChatOptionsPage !== 'undefined' && typeof LHCChatOptionsPage.opt !== 'undefined' && ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"document.getElementById('<?php echo $chatCSSPrefix?>_status_container').innerHTML = '<p class=\"<?php echo $chatCSSPrefix?>-status-native-'+(this.isOnline == true ? 'online' : 'offline')+'\"><a href=\"#\" onclick=\"return lh_inst.lh_openchatWindow()\">'+(this.isOnline == true ? '<img src=\"<?php if ($theme !== fal... | [
0
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"document.getElementById('<?php echo $chatCSSPrefix?>_status_container').innerHTML = '<p class=\"<?php echo $chatCSSPrefix?>-status-native-'+(this.isOnline == true ? 'online' : 'offline')+'\"><a href=\"#\" onclick=\"return lh_inst.lh_openchatWindow()\">'+(this.isOnline == true ? '<img src=\"<?php if ($theme !== fal... | [
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"var titleText = (typeof <?php echo $chatOptionsVariable;?>.opt.nh_title_text != 'undefined') ? <?php echo $chatOptionsVariable;?>.opt.nh_title_text : <?php if ($theme !== false && $theme->need_help_header !== '') : print json_encode($theme->need_help_header); else : ?><?php echo json_encode(htmlspecialchars_decode... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"var titleText = (typeof <?php echo $chatOptionsVariable;?>.opt.nh_title_text != 'undefined') ? <?php echo $chatOptionsVariable;?>.opt.nh_title_text : <?php if ($theme !== false && $theme->need_help_header !== '') : print json_encode($theme->need_help_header); else : ?><?php echo json_encode(htmlspecialchars_decode... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/is_online_help.tpl.php')); ?>",
"<?php",
"// Perhaps user does not want to show live help when it's offline\nif ( !($isOnlineHelp == false && $hide_offline == 'true') ) : ?>",
"/*! Cookies.js - 0.4.0; Copyright (c) 2014, Scott Hamper; http://www.... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php include(erLhcoreClassDesign::designtpl('lhchat/getstatus/is_online_help.tpl.php')); ?>",
"<?php",
"// Perhaps user does not want to show live help when it's offline\nif ( !($isOnlineHelp == false && $hide_offline == 'true') ) : ?>",
"/*! Cookies.js - 0.4.0; Copyright (c) 2014, Scott Hamper; http://www.... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<span class=\"usr-tit<?php echo $msg['user_id'] == 0 ? ' vis-tit' : ' op-tit'?>\">\n <?php if (\n isset($theme) && $theme !== false && isset($theme->bot_configuration_array['bubble_style_profile']) &&\n $theme->bot_configuration_array['bubble_style_profile'] == 1 &&\n $msg['user_id'] == -2 ... | [
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<span class=\"usr-tit<?php echo $msg['user_id'] == 0 ? ' vis-tit' : ' op-tit'?>\">\n <?php if (\n isset($theme) && $theme !== false && isset($theme->bot_configuration_array['bubble_style_profile']) &&\n $theme->bot_configuration_array['bubble_style_profile'] == 1 &&\n $msg['user_id'] == -2 ... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($user->has_photo) : ?>\n<img width=\"48\" height=\"48\" src=\"<?php echo $user->photo_path?>\" alt=\"<?php echo htmlspecialchars($user->name_support)?>\" />\n<?php else : ?>",
"<img width=\"48\" height=\"48\" src=\"<?php echo erLhcoreClassModelChatConfig::fetch('explicit_http_mode')->current_value?>//<... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($user->has_photo) : ?>\n<img width=\"48\" height=\"48\" src=\"<?php echo $user->photo_path?>\" alt=\"<?php echo htmlspecialchars($user->name_support)?>\" />\n<?php else : ?>",
"<img width=\"48\" height=\"48\" src=\"<?php echo erLhcoreClassSystem::getHost()?><?php echo erLhcoreClassDesign::baseurldirect... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"operator-info d-flex\">\r\n\t<div>\r\n \t<?php if ($theme !== false && $theme->operator_image_avatar !== false) : ?>\r\n\r\n <?php if ($theme->operator_image_url !== false) : ?>\r\n \t\t\t<img width=\"48\" height=\"48\" src=\"<?php echo $theme->operator_image_url?>\" alt=\"\" />\r\n ... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"operator-info d-flex\">\r\n\t<div>\r\n \t<?php if ($theme !== false && $theme->operator_image_avatar !== false) : ?>\r\n\r\n <?php if ($theme->operator_image_url !== false) : ?>\r\n \t\t\t<img width=\"48\" height=\"48\" src=\"<?php echo $theme->operator_image_url?>\" alt=\"\" />\r\n ... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($theme === false || $theme->show_copyright == 1) : ?><span id=\"lhc_chatbox_title\"><a title=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print '' : print 'Powered by Live Helper Chat' ?>\" href=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print htmlspecialchars($t... | [
0
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($theme === false || $theme->show_copyright == 1) : ?><span id=\"lhc_chatbox_title\"><a title=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print '' : print 'Powered by Live Helper Chat' ?>\" href=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print htmlspecialchars($t... | [
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($theme === false || $theme->show_copyright == 1) : ?><span id=\"lhc_faq_title\"><a title=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print '' : print 'Powered by Live Helper Chat' ?>\" href=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print htmlspecialchars($theme... | [
0
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($theme === false || $theme->show_copyright == 1) : ?><span id=\"lhc_faq_title\"><a title=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print '' : print 'Powered by Live Helper Chat' ?>\" href=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print htmlspecialchars($theme... | [
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php $iconsStatuses['copyright_image_url'] = ($theme !== false && $theme->copyright_image_url !== false && strpos($theme->copyright_image_url, 'http') !== false); \t \t\r",
"if ($theme === false || $theme->show_copyright == 1) : ?><span id=\"lhc_title\"><a title=\"<?php $theme !== false && $th... | [
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php $iconsStatuses['copyright_image_url'] = ($theme !== false && $theme->copyright_image_url !== false && strpos($theme->copyright_image_url, 'http') !== false); \t \t\r",
"if ($theme === false || $theme->show_copyright == 1) : ?><span id=\"lhc_title\"><a title=\"<?php $theme !== false && $th... | [
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($theme === false || $theme->show_copyright == 1) : ?><span id=\"lhc_questionary_title\"><a rel=\"noreferrer\" title=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print '' : print 'Powered by Live Helper Chat' ?>\" href=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? pr... | [
0
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($theme === false || $theme->show_copyright == 1) : ?><span id=\"lhc_questionary_title\"><a rel=\"noreferrer\" title=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? print '' : print 'Powered by Live Helper Chat' ?>\" href=\"<?php $theme !== false && $theme->widget_copyright_url != '' ? pr... | [
1
] | PreciseBugs | {"buggy_code_end_loc": [1273, 106, 100, 4, 59, 7, 1049, 22, 40, 6, 6, 146, 81, 35, 49, 2, 5, 182, 32, 5, 9, 2, 2, 3, 2, 13, 59, 297, 130, 2, 2, 3, 6, 7, 53, 188, 92, 10, 7, 58, 11, 59, 7, 48, 191, 119, 111, 291, 408, 13, 110, 24, 113, 810, 846, 60, 502, 847, 473, 14, 639, 389, 717, 324, 71, 331, 93, 54, 124, 33, 8, 8, ... | 1,608 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.