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",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\PageNotFoundException;",
"/**\n * Category Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass CategoryController extends BaseController\n{",
" /**\n * Get the category (common method b... | [
1,
1,
1,
1,
0,
0,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\PageNotFoundException;",
"/**\n * Category Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass CategoryController extends BaseController\n{",
"",
" /**\n * List of categories for a gi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\AccessForbiddenException;",
"/**\n * Column Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass ColumnController extends BaseController\n{\n /**\n * Display columns list\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\AccessForbiddenException;",
"/**\n * Column Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass ColumnController extends BaseController\n{\n /**\n * Display columns list\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\AccessForbiddenException;\nuse Kanboard\\Core\\Security\\Role;",
"/**\n * Custom Filter Controller\n *\n * @package Kanboard\\Controller\n * @author Timo Litzbarski\n * @author Frederic Guillot\n */\nclass CustomFilterController ex... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\AccessForbiddenException;\nuse Kanboard\\Core\\Security\\Role;",
"/**\n * Custom Filter Controller\n *\n * @package Kanboard\\Controller\n * @author Timo Litzbarski\n * @author Frederic Guillot\n */\nclass CustomFilterController ex... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"/**\n * Project Edit Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass ProjectEditController extends BaseController\n{\n /**\n * Edit project\n *\n * @access public\n * @param array $values\n * @param ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"/**\n * Project Edit Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass ProjectEditController extends BaseController\n{\n /**\n * Edit project\n *\n * @access public\n * @param array $values\n * @param ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"\nuse Kanboard\\Core\\Controller\\AccessForbiddenException;",
"\n/**\n * Class ProjectTagController\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass ProjectTagController extends BaseController\n{\n public function index()\n {\n ... | [
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
0,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"",
"\n/**\n * Class ProjectTagController\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass ProjectTagController extends BaseController\n{\n public function index()\n {\n $project = $this->getProject();",
" $this->... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\AccessForbiddenException;",
"use Kanboard\\Core\\Controller\\PageNotFoundException;\nuse Kanboard\\Model\\SwimlaneModel;",
"\n/**\n * Swimlanes Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\ncl... | [
1,
1,
1,
0,
1,
0,
0,
0,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
0,
0,
1,
1,
1,
0,
0,
1,
1,
1,
0,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\AccessForbiddenException;",
"",
"\n/**\n * Swimlanes Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass SwimlaneController extends BaseController\n{\n /**",
"",
" * List of swimlan... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\PageNotFoundException;",
"/**\n * Task Creation Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass TaskCreationController extends BaseController\n{\n /**\n * Display a form to create a... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace Kanboard\\Controller;",
"use Kanboard\\Core\\Controller\\PageNotFoundException;",
"/**\n * Task Creation Controller\n *\n * @package Kanboard\\Controller\n * @author Frederic Guillot\n */\nclass TaskCreationController extends BaseController\n{\n /**\n * Display a form to create a... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add an action') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('ActionCreationController', 'event', array('project_id' => $project['id'])) ?>\">\n <?= $this->form->csrf() ?>",
" <?= $this->form->hidden('project_id', $values) ?>",
"\n <?... | [
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add an action') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('ActionCreationController', 'event', array('project_id' => $project['id'])) ?>\">\n <?= $this->form->csrf() ?>",
"",
"\n <?= $this->form->label(t('Action'), 'action_name') ?>\n... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Choose an event') ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('ActionCreationController', 'params', array('project_id' => $project['id'])) ?>\">\n <?= $this->form->csrf() ?>\n",
" <?= $this->form->hidden('project_id', $values) ?>",
... | [
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Choose an event') ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('ActionCreationController', 'params', array('project_id' => $project['id'])) ?>\">\n <?= $this->form->csrf() ?>\n",
"",
" <?= $this->form->hidden('action_name', $values) ... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Define action parameters') ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('ActionCreationController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>\n",
" <?= $this->form->hidden('p... | [
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Define action parameters') ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('ActionCreationController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>\n",
"",
" <?= $this->form->hid... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add a new category') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('CategoryController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
" <?= $this->form->hidden('project_id', $value... | [
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add a new category') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('CategoryController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
"",
"\n <?= $this->form->label(t('Category N... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Category modification for the project \"%s\"', $project['name']) ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('CategoryController', 'update', array('project_id' => $project['id'], 'category_id' => $values['id'])) ?>\" autocomplete=\"off\">\n ... | [
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Category modification for the project \"%s\"', $project['name']) ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('CategoryController', 'update', array('project_id' => $project['id'], 'category_id' => $values['id'])) ?>\" autocomplete=\"off\">\n ... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add a new column') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('ColumnController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
"\n <?= $this->form->hidden('project_id', $values)... | [
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add a new column') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('ColumnController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
"",
"\n <?= $this->form->label(t('Title'), 'titl... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Edit column \"%s\"', $column['title']) ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('ColumnController', 'update', array('project_id' => $project['id'], 'column_id' => $column['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",... | [
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Edit column \"%s\"', $column['title']) ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('ColumnController', 'update', array('project_id' => $project['id'], 'column_id' => $column['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add a new filter') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('CustomFilterController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
" <?= $this->form->hidden('project_id', $val... | [
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add a new filter') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('CustomFilterController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
"",
"\n <?= $this->form->label(t('Name'), ... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Edit custom filter') ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('CustomFilterController', 'update', array('project_id' => $filter['project_id'], 'filter_id' => $filter['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>\n",
... | [
1,
1,
0,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Edit custom filter') ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('CustomFilterController', 'update', array('project_id' => $filter['project_id'], 'filter_id' => $filter['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>\n",
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($this->app->isAjax()): ?>\n <div class=\"page-header\">\n <h2><?= $this->text->e($project['name']) ?> > <?= t('Edit project') ?></h2>\n </div>\n<?php else: ?>\n <div class=\"page-header\">\n <h2><?= t('Edit project') ?></h2>\n </div>\n<?php endif ?>\n<form method=\"post\" act... | [
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if ($this->app->isAjax()): ?>\n <div class=\"page-header\">\n <h2><?= $this->text->e($project['name']) ?> > <?= t('Edit project') ?></h2>\n </div>\n<?php else: ?>\n <div class=\"page-header\">\n <h2><?= t('Edit project') ?></h2>\n </div>\n<?php endif ?>\n<form method=\"post\" act... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add new tag') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('ProjectTagController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
" <?= $this->form->hidden('project_id', $values) ?>... | [
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add new tag') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('ProjectTagController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
"",
"\n <?= $this->form->label(t('Name'), 'name')... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Edit a tag') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('ProjectTagController', 'update', array('tag_id' => $tag['id'], 'project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
" <?= $this->form->hidden(... | [
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Edit a tag') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('ProjectTagController', 'update', array('tag_id' => $tag['id'], 'project_id' => $project['id'])) ?>\" autocomplete=\"off\">\n <?= $this->form->csrf() ?>",
"",
"\n <?= $this->form-... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add a new swimlane') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('SwimlaneController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">",
"",
" <?= $this->form->csrf() ?>",
" <?= $this->form->hidden('project_i... | [
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Add a new swimlane') ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('SwimlaneController', 'save', array('project_id' => $project['id'])) ?>\" autocomplete=\"off\">",
"",
" <?= $this->form->csrf() ?>",
"",
"\n <?= $this->form->label(t('... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Swimlane modification for the project \"%s\"', $project['name']) ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('SwimlaneController', 'update', array('project_id' => $project['id'], 'swimlane_id' => $values['id'])) ?>\" autocomplete=\"off\">",
... | [
1,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= t('Swimlane modification for the project \"%s\"', $project['name']) ?></h2>\n</div>",
"<form method=\"post\" action=\"<?= $this->url->href('SwimlaneController', 'update', array('project_id' => $project['id'], 'swimlane_id' => $values['id'])) ?>\" autocomplete=\"off\">",
... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= $this->text->e($project['name']) ?> > <?= t('New task') ?><?= $this->task->getNewTaskDropdown($project['id'], $values['swimlane_id'], $values['column_id']) ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('TaskCreationController', 'save', array('proje... | [
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<div class=\"page-header\">\n <h2><?= $this->text->e($project['name']) ?> > <?= t('New task') ?><?= $this->task->getNewTaskDropdown($project['id'], $values['swimlane_id'], $values['column_id']) ?></h2>\n</div>\n<form method=\"post\" action=\"<?= $this->url->href('TaskCreationController', 'save', array('proje... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 69, 111, 157, 162, 186, 155, 67, 127, 208, 51, 7, 9, 9, 7, 10, 8, 10, 7, 11, 13, 7, 8, 8, 11, 7], "buggy_code_start_loc": [6, 48, 37, 157, 15, 63, 61, 67, 4, 6, 51, 6, 8, 8, 6, 7, 6, 7, 6, 8, 12, 6, 6, 5, 6, 6], "filenames": ["ChangeLog", "app/Controller/ActionController.php", "app/Controller... | 650 |
Determine whether the {function_name} code is vulnerable or not. | [
"C Break\\sout\\sthe\\stest\\sfor\\swritable\\sshadow\\stables\\sinto\\sa\\sseparate\\ssubroutine.\nD 2019-11-16T13:51:31.727",
"F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1\nF .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21... | [
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"C Do\\snot\\sallow\\sCREATE\\sTABLE\\sor\\sCREATE\\sVIEW\\sof\\san\\sobject\\swith\\sa\\sname\\sthat\\slooks\\nlike\\sa\\sshadow\\stable\\sname.\nD 2019-11-16T14:15:19.202",
"F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1\nF .fossil-settings/ignore-glob 35175cdfcf5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"8ad34d36a141fa8f5d9bd784dfeb892c983897a6dc6b867607cc668508acf944"
] | [
0
] | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"6aef58b629d89955f85f65191ba2be67b2adfac4f0327fe9a7141cb2705dbc00"
] | [
1
] | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** 2001 September 15\n**\n** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.\n**\n****... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** 2001 September 15\n**\n** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.\n**\n****... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** 2001 September 15\n**\n** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.\n**\n****... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** 2001 September 15\n**\n** The author disclaims copyright to this source code. In place of\n** a legal notice, here is a blessing:\n**\n** May you do good and not evil.\n** May you find forgiveness for yourself and forgive others.\n** May you share freely, never taking more than you give.\n**\n****... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"# 2018 August 24\n#\n# The author disclaims copyright to this source code. In place of\n# a legal notice, here is a blessing:\n#\n# May you do good and not evil.\n# May you find forgiveness for yourself and forgive others.\n# May you share freely, never taking more than you give.\n#\n#*******************... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"# 2018 August 24\n#\n# The author disclaims copyright to this source code. In place of\n# a legal notice, here is a blessing:\n#\n# May you do good and not evil.\n# May you find forgiveness for yourself and forgive others.\n# May you share freely, never taking more than you give.\n#\n#*******************... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1859, 2, 2194, 4550, 556], "buggy_code_start_loc": [1, 1, 859, 4550, 549], "filenames": ["manifest", "manifest.uuid", "src/build.c", "src/sqliteInt.h", "test/altertab.test"], "fixing_code_end_loc": [1856, 2, 2193, 4556, 572], "fixing_code_start_loc": [1, 1, 859, 4551, 550], "message": "SQLite 3.... | 651 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net>\n * Distributed under the terms of either:\n * - the common development and distribution license (CDDL), v1.0; or\n * - the GNU Lesser General Public License, v2.1 or later\n */\npackage winstone;",
"import java.io.IOException;\nim... | [
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [46, 52, 809], "buggy_code_start_loc": [45, 52, 808], "filenames": ["src/java/winstone/ErrorServlet.java", "src/java/winstone/URIUtil.java", "src/java/winstone/WinstoneResponse.java"], "fixing_code_end_loc": [46, 70, 809], "fixing_code_start_loc": [45, 53, 808], "message": "Cross-site scripting (... | 652 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net>\n * Distributed under the terms of either:\n * - the common development and distribution license (CDDL), v1.0; or\n * - the GNU Lesser General Public License, v2.1 or later\n */\npackage winstone;",
"import java.io.IOException;\nim... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [46, 52, 809], "buggy_code_start_loc": [45, 52, 808], "filenames": ["src/java/winstone/ErrorServlet.java", "src/java/winstone/URIUtil.java", "src/java/winstone/WinstoneResponse.java"], "fixing_code_end_loc": [46, 70, 809], "fixing_code_start_loc": [45, 53, 808], "message": "Cross-site scripting (... | 652 |
Determine whether the {function_name} code is vulnerable or not. | [
"package winstone;",
"import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Iterator;\nimport java.util.List;",
"/**\n * @author Kohsuke Kawaguchi\n */\npublic class URIUtil {\n /**\n * Eliminates \".\" and \"..\" in the path.\n * So that this method can be used for any string that ... | [
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [46, 52, 809], "buggy_code_start_loc": [45, 52, 808], "filenames": ["src/java/winstone/ErrorServlet.java", "src/java/winstone/URIUtil.java", "src/java/winstone/WinstoneResponse.java"], "fixing_code_end_loc": [46, 70, 809], "fixing_code_start_loc": [45, 53, 808], "message": "Cross-site scripting (... | 652 |
Determine whether the {function_name} code is vulnerable or not. | [
"package winstone;",
"import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Iterator;\nimport java.util.List;",
"/**\n * @author Kohsuke Kawaguchi\n */\npublic class URIUtil {\n /**\n * Eliminates \".\" and \"..\" in the path.\n * So that this method can be used for any string that ... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [46, 52, 809], "buggy_code_start_loc": [45, 52, 808], "filenames": ["src/java/winstone/ErrorServlet.java", "src/java/winstone/URIUtil.java", "src/java/winstone/WinstoneResponse.java"], "fixing_code_end_loc": [46, 70, 809], "fixing_code_start_loc": [45, 53, 808], "message": "Cross-site scripting (... | 652 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net>\n * Distributed under the terms of either:\n * - the common development and distribution license (CDDL), v1.0; or\n * - the GNU Lesser General Public License, v2.1 or later\n */\npackage winstone;",
"import java.io.IOException;\nim... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [46, 52, 809], "buggy_code_start_loc": [45, 52, 808], "filenames": ["src/java/winstone/ErrorServlet.java", "src/java/winstone/URIUtil.java", "src/java/winstone/WinstoneResponse.java"], "fixing_code_end_loc": [46, 70, 809], "fixing_code_start_loc": [45, 53, 808], "message": "Cross-site scripting (... | 652 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net>\n * Distributed under the terms of either:\n * - the common development and distribution license (CDDL), v1.0; or\n * - the GNU Lesser General Public License, v2.1 or later\n */\npackage winstone;",
"import java.io.IOException;\nim... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [46, 52, 809], "buggy_code_start_loc": [45, 52, 808], "filenames": ["src/java/winstone/ErrorServlet.java", "src/java/winstone/URIUtil.java", "src/java/winstone/WinstoneResponse.java"], "fixing_code_end_loc": [46, 70, 809], "fixing_code_start_loc": [45, 53, 808], "message": "Cross-site scripting (... | 652 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * This file is part of FacturaScripts\n * Copyright (C) 2017-2021 Carlos Garcia Gomez <carlos@facturascripts.com>\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundatio... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [291], "buggy_code_start_loc": [290], "filenames": ["Core/App/AppController.php"], "fixing_code_end_loc": [291], "fixing_code_start_loc": [290], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository neorazorx/facturascripts prior to 2022.06.", "other": {"cve": {"cisaActionDue": ... | 653 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * This file is part of FacturaScripts\n * Copyright (C) 2017-2021 Carlos Garcia Gomez <carlos@facturascripts.com>\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundatio... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [291], "buggy_code_start_loc": [290], "filenames": ["Core/App/AppController.php"], "fixing_code_end_loc": [291], "fixing_code_start_loc": [290], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository neorazorx/facturascripts prior to 2022.06.", "other": {"cve": {"cisaActionDue": ... | 653 |
Determine whether the {function_name} code is vulnerable or not. | [
"function AddonText_Selection_create() {",
" var presenter = function() {};",
" presenter.eventBus = null;\n presenter.playerController = null;\n presenter.textParser = null;\n presenter.selected_elements = null;\n presenter.isWorkMode = true;\n presenter.markedMathJaxContent = [];\n pre... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1651, 11], "buggy_code_start_loc": [1561, 11], "filenames": ["addons/Text_Selection/src/presenter.js", "changelog.txt"], "fixing_code_end_loc": [1653, 13], "fixing_code_start_loc": [1561, 12], "message": "A vulnerability was found in icplayer up to 0.819. It has been declared as problematic. Aff... | 654 |
Determine whether the {function_name} code is vulnerable or not. | [
"function AddonText_Selection_create() {",
" var presenter = function() {};",
" presenter.eventBus = null;\n presenter.playerController = null;\n presenter.textParser = null;\n presenter.selected_elements = null;\n presenter.isWorkMode = true;\n presenter.markedMathJaxContent = [];\n pre... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1651, 11], "buggy_code_start_loc": [1561, 11], "filenames": ["addons/Text_Selection/src/presenter.js", "changelog.txt"], "fixing_code_end_loc": [1653, 13], "fixing_code_start_loc": [1561, 12], "message": "A vulnerability was found in icplayer up to 0.819. It has been declared as problematic. Aff... | 654 |
Determine whether the {function_name} code is vulnerable or not. | [
"2022-12-13 Added hover class to TextAudio to help with styling\n2022-12-09 Added GSA to the Graph addon\n2022-12-09 Fixed failing to get correct scroll value in some contexts\n2022-12-09 Fixed XSS vulnerabilities in Table and tts-utils\n2022-12-09 Fixed XSS vulnerabilities in some addons\n2022-12-08 Fixed script a... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1651, 11], "buggy_code_start_loc": [1561, 11], "filenames": ["addons/Text_Selection/src/presenter.js", "changelog.txt"], "fixing_code_end_loc": [1653, 13], "fixing_code_start_loc": [1561, 12], "message": "A vulnerability was found in icplayer up to 0.819. It has been declared as problematic. Aff... | 654 |
Determine whether the {function_name} code is vulnerable or not. | [
"2022-12-13 Added hover class to TextAudio to help with styling\n2022-12-09 Added GSA to the Graph addon\n2022-12-09 Fixed failing to get correct scroll value in some contexts\n2022-12-09 Fixed XSS vulnerabilities in Table and tts-utils\n2022-12-09 Fixed XSS vulnerabilities in some addons\n2022-12-08 Fixed script a... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1651, 11], "buggy_code_start_loc": [1561, 11], "filenames": ["addons/Text_Selection/src/presenter.js", "changelog.txt"], "fixing_code_end_loc": [1653, 13], "fixing_code_start_loc": [1561, 12], "message": "A vulnerability was found in icplayer up to 0.819. It has been declared as problematic. Aff... | 654 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 2000-2005 Silicon Graphics, Inc.\n * All Rights Reserved.\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the hope that... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1454], "buggy_code_start_loc": [1363], "filenames": ["fs/xfs/xfs_aops.c"], "fixing_code_end_loc": [1471], "fixing_code_start_loc": [1364], "message": "In the Linux kernel before 4.9.3, fs/xfs/xfs_aops.c allows local users to cause a denial of service (system crash) because there is a race condit... | 655 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 2000-2005 Silicon Graphics, Inc.\n * All Rights Reserved.\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the hope that... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1454], "buggy_code_start_loc": [1363], "filenames": ["fs/xfs/xfs_aops.c"], "fixing_code_end_loc": [1471], "fixing_code_start_loc": [1364], "message": "In the Linux kernel before 4.9.3, fs/xfs/xfs_aops.c allows local users to cause a denial of service (system crash) because there is a race condit... | 655 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"// Visibility is the type of a visibility.\ntype Visibility string",
"const (\n\t// Public is the PUBLIC visibility.\n\tPublic Visibility = \"PUBLIC\"\n\t// Protected is the PROTECTED visibility.\n\tProtected Visibility = \"PROTECTED\"\n\t// Private is the PRIVATE visibility.\n\tPrivate Visibili... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"// Visibility is the type of a visibility.\ntype Visibility string",
"const (\n\t// Public is the PUBLIC visibility.\n\tPublic Visibility = \"PUBLIC\"\n\t// Protected is the PROTECTED visibility.\n\tProtected Visibility = \"PROTECTED\"\n\t// Private is the PRIVATE visibility.\n\tPrivate Visibili... | [
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": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type MemoOrganizer struct {\n\tID int",
"\t// Domain specific fields\n\tMemoID int\n\tUserID int\n\tPinned bool\n}\n",
"",
"type MemoOrganizerFind struct {\n\tMemoID int\n\tUserID int",
"}",
"type MemoOrganizerUpsert struct {\n\tMemoID int\n\tUserID int\n\tPinned bool `json:\"pinned\"`",... | [
1,
1,
1,
0,
1,
0,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type MemoOrganizer struct {\n\tID int",
"\t// Domain specific fields\n\tMemoID int\n\tUserID int\n\tPinned bool\n}\n",
"type MemoOrganizerUpsert struct {\n\tMemoID int `json:\"-\"`\n\tUserID int `json:\"-\"`\n\tPinned bool `json:\"pinned\"`\n}\n",
"type MemoOrganizerFind struct {\n\tMemoID... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type MemoResource struct {\n\tMemoID int\n\tResourceID int\n\tCreatedTs int64\n\tUpdatedTs int64\n}",
"type MemoResourceUpsert struct {",
"\tMemoID int",
"\tResourceID int\n\tUpdatedTs *int64\n}",
"type MemoResourceFind struct {\n\tMemoID *int\n\tResourceID *int\n}",
"type... | [
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type MemoResource struct {\n\tMemoID int\n\tResourceID int\n\tCreatedTs int64\n\tUpdatedTs int64\n}",
"type MemoResourceUpsert struct {",
"\tMemoID int `json:\"-\"`",
"\tResourceID int\n\tUpdatedTs *int64\n}",
"type MemoResourceFind struct {\n\tMemoID *int\n\tResourceID *int... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type Resource struct {\n\tID int `json:\"id\"`",
"\t// Standard fields\n\tCreatorID int `json:\"creatorId\"`\n\tCreatedTs int64 `json:\"createdTs\"`\n\tUpdatedTs int64 `json:\"updatedTs\"`",
"\t// Domain specific fields\n\tFilename string `json:\"filename\"`\n\tBlob []byte `json:\"-\"`\n... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type Resource struct {\n\tID int `json:\"id\"`",
"\t// Standard fields\n\tCreatorID int `json:\"creatorId\"`\n\tCreatedTs int64 `json:\"createdTs\"`\n\tUpdatedTs int64 `json:\"updatedTs\"`",
"\t// Domain specific fields\n\tFilename string `json:\"filename\"`\n\tBlob []byte `json:\"-\"`\n... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type Shortcut struct {\n\tID int `json:\"id\"`",
"\t// Standard fields\n\tRowStatus RowStatus `json:\"rowStatus\"`\n\tCreatorID int `json:\"creatorId\"`\n\tCreatedTs int64 `json:\"createdTs\"`\n\tUpdatedTs int64 `json:\"updatedTs\"`",
"\t// Domain specific fields\n\tTitle strin... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type Shortcut struct {\n\tID int `json:\"id\"`",
"\t// Standard fields\n\tRowStatus RowStatus `json:\"rowStatus\"`\n\tCreatorID int `json:\"creatorId\"`\n\tCreatedTs int64 `json:\"createdTs\"`\n\tUpdatedTs int64 `json:\"updatedTs\"`",
"\t// Domain specific fields\n\tTitle strin... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type Tag struct {\n\tName string\n\tCreatorID int\n}",
"type TagUpsert struct {\n\tName string",
"\tCreatorID int",
"}",
"type TagFind struct {\n\tCreatorID int\n}",
"type TagDelete struct {\n\tName string\n\tCreatorID int\n}"
] | [
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"type Tag struct {\n\tName string\n\tCreatorID int\n}",
"type TagUpsert struct {\n\tName string",
"\tCreatorID int `json:\"-\"`",
"}",
"type TagFind struct {\n\tCreatorID int\n}",
"type TagDelete struct {\n\tName string\n\tCreatorID int\n}"
] | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"import (\n\t\"encoding/json\"\n\t\"fmt\"",
"\t\"golang.org/x/exp/slices\"\n)",
"type UserSettingKey string",
"const (\n\t// UserSettingLocaleKey is the key type for user locale.\n\tUserSettingLocaleKey UserSettingKey = \"locale\"\n\t// UserSettingAppearanceKey is the key type for user appear... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package api",
"import (\n\t\"encoding/json\"\n\t\"fmt\"",
"\t\"golang.org/x/exp/slices\"\n)",
"type UserSettingKey string",
"const (\n\t// UserSettingLocaleKey is the key type for user locale.\n\tUserSettingLocaleKey UserSettingKey = \"locale\"\n\t// UserSettingAppearanceKey is the key type for user appear... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n\t\"golang.org/x/crypto/bcrypt\"\n)",
"func (s *Server) regi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n\t\"golang.org/x/crypto/bcrypt\"\n)",
"func (s *Server) regi... | [
1,
1,
1,
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": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"sort\"\n\t\"strconv\"\n\t\"strings\"\n\t\"time\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"f... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
0,
0,
0,
0,
0... | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"sort\"\n\t\"strconv\"\n\t\"strings\"\n\t\"time\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"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": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n\t\"net/url\"\n\t\"strconv\"\n\t\"time\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"con... | [
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,
0,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n\t\"net/url\"\n\t\"strconv\"\n\t\"time\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"con... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"strconv\"\n\t\"time\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"func (s *Server) registerSho... | [
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
0,
0,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"strconv\"\n\t\"time\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"func (s *Server) registerSho... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"net/http\"\n\t\"os\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"func (s *Server) registerSystemRoutes(g *echo.Group) {\n... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"net/http\"\n\t\"os\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"func (s *Server) registerSystemRoutes(g *echo.Group) {\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
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"regexp\"\n\t\"sort\"\n\t\"strconv\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"func (s *Serve... | [
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"regexp\"\n\t\"sort\"\n\t\"strconv\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n)",
"func (s *Serve... | [
1,
1,
1,
1,
1,
1,
1,
1,
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": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"strconv\"\n\t\"time\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n\t\"golang.org/x/crypto/bcrypt\"\n)... | [
1,
1,
1,
1,
1,
0,
0,
1,
0,
1,
0,
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,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"strconv\"\n\t\"time\"",
"\t\"github.com/usememos/memos/api\"\n\t\"github.com/usememos/memos/common\"\n\tmetric \"github.com/usememos/memos/plugin/metrics\"",
"\t\"github.com/labstack/echo/v4\"\n\t\"golang.org/x/crypto/bcrypt\"\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
] | PreciseBugs | {"buggy_code_end_loc": [81, 21, 12, 24, 20, 11, 54, 118, 545, 229, 127, 131, 108, 203], "buggy_code_start_loc": [49, 11, 11, 23, 19, 10, 53, 87, 27, 58, 24, 79, 26, 32], "filenames": ["api/memo.go", "api/memo_organizer.go", "api/memo_resource.go", "api/resource.go", "api/shortcut.go", "api/tag.go", "api/user_setting.go... | 656 |
Determine whether the {function_name} code is vulnerable or not. | [
"from django.core.exceptions import SuspiciousOperation",
"\nclass DisallowedModelAdminLookup(SuspiciousOperation):\n \"\"\"Invalid filter was passed to admin view via URL querystring\"\"\"\n pass",
""
] | [
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx... | 657 |
Determine whether the {function_name} code is vulnerable or not. | [
"from django.core.exceptions import SuspiciousOperation",
"\nclass DisallowedModelAdminLookup(SuspiciousOperation):\n \"\"\"Invalid filter was passed to admin view via URL querystring\"\"\"\n pass",
"",
"class DisallowedModelAdminToField(SuspiciousOperation):\n \"\"\"Invalid to_field was passed to ad... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx... | 657 |
Determine whether the {function_name} code is vulnerable or not. | [
"from collections import OrderedDict\nimport copy\nimport operator\nfrom functools import partial, reduce, update_wrapper\nimport warnings",
"from django import forms\nfrom django.conf import settings\nfrom django.contrib import messages\nfrom django.contrib.admin import widgets, helpers\nfrom django.contrib.admi... | [
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx... | 657 |
Determine whether the {function_name} code is vulnerable or not. | [
"from collections import OrderedDict\nimport copy\nimport operator\nfrom functools import partial, reduce, update_wrapper\nimport warnings",
"from django import forms\nfrom django.conf import settings\nfrom django.contrib import messages\nfrom django.contrib.admin import widgets, helpers\nfrom django.contrib.admi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [6, 1402, 93, 58, 49, 49, 50, 2317], "buggy_code_start_loc": [6, 13, 17, 58, 49, 49, 50, 20], "filenames": ["django/contrib/admin/exceptions.py", "django/contrib/admin/options.py", "django/contrib/admin/views/main.py", "docs/ref/exceptions.txt", "docs/releases/1.4.14.txt", "docs/releases/1.5.9.tx... | 657 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.