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. | [
"/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tPACKET - implements raw packet sockets.\n *\n * Authors:\tRoss Biro\n *\t\tFred N. van Kempe... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1763], "buggy_code_start_loc": [1687], "filenames": ["net/packet/af_packet.c"], "fixing_code_end_loc": [1770], "fixing_code_start_loc": [1686], "message": "net/packet/af_packet.c in the Linux kernel before 4.13.6 allows local users to gain privileges via crafted system calls that trigger mishand... | 940 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tPACKET - implements raw packet sockets.\n *\n * Authors:\tRoss Biro\n *\t\tFred N. van Kempe... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1763], "buggy_code_start_loc": [1687], "filenames": ["net/packet/af_packet.c"], "fixing_code_end_loc": [1770], "fixing_code_start_loc": [1686], "message": "net/packet/af_packet.c in the Linux kernel before 4.13.6 allows local users to gain privileges via crafted system calls that trigger mishand... | 940 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* $Id$ $Revision$ */\n/* vim:set shiftwidth=4 ts=8: */",
"/*************************************************************************\n * Copyright (c) 2011 AT&T Intellectual Property \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Publi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [205], "buggy_code_start_loc": [204], "filenames": ["lib/cgraph/scan.l"], "fixing_code_end_loc": [206], "fixing_code_start_loc": [204], "message": "Stack-based buffer overflow in the \"yyerror\" function in Graphviz 2.34.0 allows remote attackers to execute arbitrary code or cause a denial of ser... | 941 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* $Id$ $Revision$ */\n/* vim:set shiftwidth=4 ts=8: */",
"/*************************************************************************\n * Copyright (c) 2011 AT&T Intellectual Property \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Publi... | [
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": [204], "filenames": ["lib/cgraph/scan.l"], "fixing_code_end_loc": [206], "fixing_code_start_loc": [204], "message": "Stack-based buffer overflow in the \"yyerror\" function in Graphviz 2.34.0 allows remote attackers to execute arbitrary code or cause a denial of ser... | 941 |
Determine whether the {function_name} code is vulnerable or not. | [
"// express is set like: app.engine('html', require('eta').renderFile)",
"import EtaErr from \"./err.ts\";\nimport compile from \"./compile.ts\";\nimport { getConfig } from \"./config.ts\";\nimport { getPath, readFile } from \"./file-utils.ts\";",
"import { copyProps } from \"./utils.ts\";",
"import { promise... | [
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
0,
0,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [306, 272, 124], "buggy_code_start_loc": [7, 7, 70], "filenames": ["deno_dist/file-handlers.ts", "src/file-handlers.ts", "test/file-handlers.spec.ts"], "fixing_code_end_loc": [277, 243, 106], "fixing_code_start_loc": [6, 6, 70], "message": "Eta is an embedded JS templating engine that works insid... | 942 |
Determine whether the {function_name} code is vulnerable or not. | [
"// express is set like: app.engine('html', require('eta').renderFile)",
"import EtaErr from \"./err.ts\";\nimport compile from \"./compile.ts\";\nimport { getConfig } from \"./config.ts\";\nimport { getPath, readFile } from \"./file-utils.ts\";",
"",
"import { promiseImpl } from \"./polyfills.ts\";",
"/* T... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [306, 272, 124], "buggy_code_start_loc": [7, 7, 70], "filenames": ["deno_dist/file-handlers.ts", "src/file-handlers.ts", "test/file-handlers.spec.ts"], "fixing_code_end_loc": [277, 243, 106], "fixing_code_start_loc": [6, 6, 70], "message": "Eta is an embedded JS templating engine that works insid... | 942 |
Determine whether the {function_name} code is vulnerable or not. | [
"// express is set like: app.engine('html', require('eta').renderFile)",
"import EtaErr from \"./err.js\";\nimport compile from \"./compile.js\";\nimport { getConfig } from \"./config.js\";\nimport { getPath, readFile } from \"./file-utils.js\";",
"import { copyProps } from \"./utils.js\";",
"import { promise... | [
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
0,
0,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [306, 272, 124], "buggy_code_start_loc": [7, 7, 70], "filenames": ["deno_dist/file-handlers.ts", "src/file-handlers.ts", "test/file-handlers.spec.ts"], "fixing_code_end_loc": [277, 243, 106], "fixing_code_start_loc": [6, 6, 70], "message": "Eta is an embedded JS templating engine that works insid... | 942 |
Determine whether the {function_name} code is vulnerable or not. | [
"// express is set like: app.engine('html', require('eta').renderFile)",
"import EtaErr from \"./err.js\";\nimport compile from \"./compile.js\";\nimport { getConfig } from \"./config.js\";\nimport { getPath, readFile } from \"./file-utils.js\";",
"",
"import { promiseImpl } from \"./polyfills.js\";",
"/* T... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [306, 272, 124], "buggy_code_start_loc": [7, 7, 70], "filenames": ["deno_dist/file-handlers.ts", "src/file-handlers.ts", "test/file-handlers.spec.ts"], "fixing_code_end_loc": [277, 243, 106], "fixing_code_start_loc": [6, 6, 70], "message": "Eta is an embedded JS templating engine that works insid... | 942 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* global it, expect, describe */",
"import { renderFile, renderFileAsync, __express, templates, compile } from \"../src/index\";",
"import { buildRegEx } from \"./err.spec\";",
"const path = require(\"path\"),\n filePath = path.join(__dirname, \"templates/simple.eta\"),\n errFilePath = path.join(__dirname... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
0,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [306, 272, 124], "buggy_code_start_loc": [7, 7, 70], "filenames": ["deno_dist/file-handlers.ts", "src/file-handlers.ts", "test/file-handlers.spec.ts"], "fixing_code_end_loc": [277, 243, 106], "fixing_code_start_loc": [6, 6, 70], "message": "Eta is an embedded JS templating engine that works insid... | 942 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* global it, expect, describe */",
"import { renderFile, renderFileAsync, __express, templates, compile } from \"../src/index\";",
"import { buildRegEx } from \"./err.spec\";",
"const path = require(\"path\"),\n filePath = path.join(__dirname, \"templates/simple.eta\"),\n errFilePath = path.join(__dirname... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [306, 272, 124], "buggy_code_start_loc": [7, 7, 70], "filenames": ["deno_dist/file-handlers.ts", "src/file-handlers.ts", "test/file-handlers.spec.ts"], "fixing_code_end_loc": [277, 243, 106], "fixing_code_start_loc": [6, 6, 70], "message": "Eta is an embedded JS templating engine that works insid... | 942 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [937], "buggy_code_start_loc": [241], "filenames": ["tensorflow/core/kernels/conv_grad_ops_3d.cc"], "fixing_code_end_loc": [980], "fixing_code_start_loc": [242], "message": "TensorFlow is an end-to-end open source platform for machine learning. The `tf.raw_ops.Conv3DBackprop*` operations fail to ... | 943 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [937], "buggy_code_start_loc": [241], "filenames": ["tensorflow/core/kernels/conv_grad_ops_3d.cc"], "fixing_code_end_loc": [980], "fixing_code_start_loc": [242], "message": "TensorFlow is an end-to-end open source platform for machine learning. The `tf.raw_ops.Conv3DBackprop*` operations fail to ... | 943 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2006-2014 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>\n * Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>\n *\n* This program is free software; you can redistribute it and/or modify\n* it un... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [38, 871, 328], "buggy_code_start_loc": [37, 869, 247], "filenames": ["htdocs/admin/tools/export_files.php", "htdocs/core/lib/functions.lib.php", "test/phpunit/SecurityTest.php"], "fixing_code_end_loc": [38, 872, 352], "fixing_code_start_loc": [37, 869, 247], "message": "Dolibarr 12.0.3 is vulner... | 944 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2006-2014 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>\n * Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>\n *\n* This program is free software; you can redistribute it and/or modify\n* it un... | [
1,
1,
1,
1,
1,
1,
1,
1,
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": [38, 871, 328], "buggy_code_start_loc": [37, 869, 247], "filenames": ["htdocs/admin/tools/export_files.php", "htdocs/core/lib/functions.lib.php", "test/phpunit/SecurityTest.php"], "fixing_code_end_loc": [38, 872, 352], "fixing_code_start_loc": [37, 869, 247], "message": "Dolibarr 12.0.3 is vulner... | 944 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2000-2007\tRodolphe Quiedeville\t\t<rodolphe@quiedeville.org>\n * Copyright (C) 2003\t\tJean-Louis Bergamo\t\t\t<jlb@j1b.org>\n * Copyright (C) 2004-2018\tLaurent Destailleur\t\t\t<eldy@users.sourceforge.net>\n * Copyright (C) 2004\t\tSebastien Di Cintio\t\t\t<sdicintio@ressource-toi.org>\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,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [38, 871, 328], "buggy_code_start_loc": [37, 869, 247], "filenames": ["htdocs/admin/tools/export_files.php", "htdocs/core/lib/functions.lib.php", "test/phpunit/SecurityTest.php"], "fixing_code_end_loc": [38, 872, 352], "fixing_code_start_loc": [37, 869, 247], "message": "Dolibarr 12.0.3 is vulner... | 944 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2000-2007\tRodolphe Quiedeville\t\t<rodolphe@quiedeville.org>\n * Copyright (C) 2003\t\tJean-Louis Bergamo\t\t\t<jlb@j1b.org>\n * Copyright (C) 2004-2018\tLaurent Destailleur\t\t\t<eldy@users.sourceforge.net>\n * Copyright (C) 2004\t\tSebastien Di Cintio\t\t\t<sdicintio@ressource-toi.org>\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": [38, 871, 328], "buggy_code_start_loc": [37, 869, 247], "filenames": ["htdocs/admin/tools/export_files.php", "htdocs/core/lib/functions.lib.php", "test/phpunit/SecurityTest.php"], "fixing_code_end_loc": [38, 872, 352], "fixing_code_start_loc": [37, 869, 247], "message": "Dolibarr 12.0.3 is vulner... | 944 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 3 of the License, or\n * (at your opt... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [38, 871, 328], "buggy_code_start_loc": [37, 869, 247], "filenames": ["htdocs/admin/tools/export_files.php", "htdocs/core/lib/functions.lib.php", "test/phpunit/SecurityTest.php"], "fixing_code_end_loc": [38, 872, 352], "fixing_code_start_loc": [37, 869, 247], "message": "Dolibarr 12.0.3 is vulner... | 944 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 3 of the License, or\n * (at your opt... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [38, 871, 328], "buggy_code_start_loc": [37, 869, 247], "filenames": ["htdocs/admin/tools/export_files.php", "htdocs/core/lib/functions.lib.php", "test/phpunit/SecurityTest.php"], "fixing_code_end_loc": [38, 872, 352], "fixing_code_start_loc": [37, 869, 247], "message": "Dolibarr 12.0.3 is vulner... | 944 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* A Bison parser, made by GNU Bison 3.0.4. */",
"/* Bison implementation for Yacc-like parsers in C",
" Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.",
" This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public Licen... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1886, 69, 348], "buggy_code_start_loc": [95, 63, 53], "filenames": ["libyara/hex_grammar.c", "libyara/hex_grammar.h", "libyara/hex_grammar.y"], "fixing_code_end_loc": [1900, 69, 363], "fixing_code_start_loc": [96, 63, 54], "message": "libyara/re.c in the regexp module in YARA 3.5.0 allows remote... | 945 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* A Bison parser, made by GNU Bison 3.0.4. */",
"/* Bison implementation for Yacc-like parsers in C",
" Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.",
" This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public Licen... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1886, 69, 348], "buggy_code_start_loc": [95, 63, 53], "filenames": ["libyara/hex_grammar.c", "libyara/hex_grammar.h", "libyara/hex_grammar.y"], "fixing_code_end_loc": [1900, 69, 363], "fixing_code_start_loc": [96, 63, 54], "message": "libyara/re.c in the regexp module in YARA 3.5.0 allows remote... | 945 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* A Bison parser, made by GNU Bison 3.0.4. */",
"/* Bison interface for Yacc-like parsers in C",
" Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.",
" This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1886, 69, 348], "buggy_code_start_loc": [95, 63, 53], "filenames": ["libyara/hex_grammar.c", "libyara/hex_grammar.h", "libyara/hex_grammar.y"], "fixing_code_end_loc": [1900, 69, 363], "fixing_code_start_loc": [96, 63, 54], "message": "libyara/re.c in the regexp module in YARA 3.5.0 allows remote... | 945 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* A Bison parser, made by GNU Bison 3.0.4. */",
"/* Bison interface for Yacc-like parsers in C",
" Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.",
" This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as... | [
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": [1886, 69, 348], "buggy_code_start_loc": [95, 63, 53], "filenames": ["libyara/hex_grammar.c", "libyara/hex_grammar.h", "libyara/hex_grammar.y"], "fixing_code_end_loc": [1900, 69, 363], "fixing_code_start_loc": [96, 63, 54], "message": "libyara/re.c in the regexp module in YARA 3.5.0 allows remote... | 945 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\nCopyright (c) 2013. The YARA Authors. All Rights Reserved.",
"Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:",
"1. Redistributions of source code must retain the above copyright notice, this\nlist of conditions... | [
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,
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": [1886, 69, 348], "buggy_code_start_loc": [95, 63, 53], "filenames": ["libyara/hex_grammar.c", "libyara/hex_grammar.h", "libyara/hex_grammar.y"], "fixing_code_end_loc": [1900, 69, 363], "fixing_code_start_loc": [96, 63, 54], "message": "libyara/re.c in the regexp module in YARA 3.5.0 allows remote... | 945 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\nCopyright (c) 2013. The YARA Authors. All Rights Reserved.",
"Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:",
"1. Redistributions of source code must retain the above copyright notice, this\nlist of conditions... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1886, 69, 348], "buggy_code_start_loc": [95, 63, 53], "filenames": ["libyara/hex_grammar.c", "libyara/hex_grammar.h", "libyara/hex_grammar.y"], "fixing_code_end_loc": [1900, 69, 363], "fixing_code_start_loc": [96, 63, 54], "message": "libyara/re.c in the regexp module in YARA 3.5.0 allows remote... | 945 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<%@ page contentType=\"text/html; charset=utf-8\" pageEncoding=\"utf-8\" %>\n<%--\n -\n - cilla - Blog Management System\n -\n - Copyright (C)... | [
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [45], "buggy_code_start_loc": [28], "filenames": ["cilla-xample/src/main/webapp/WEB-INF/jsp/view/search.jsp"], "fixing_code_end_loc": [46], "fixing_code_start_loc": [29], "message": "A vulnerability was found in shred cilla. It has been classified as problematic. Affected is an unknown function o... | 946 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<%@ page contentType=\"text/html; charset=utf-8\" pageEncoding=\"utf-8\" %>\n<%--\n -\n - cilla - Blog Management System\n -\n - Copyright (C)... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [45], "buggy_code_start_loc": [28], "filenames": ["cilla-xample/src/main/webapp/WEB-INF/jsp/view/search.jsp"], "fixing_code_end_loc": [46], "fixing_code_start_loc": [29], "message": "A vulnerability was found in shred cilla. It has been classified as problematic. Affected is an unknown function o... | 946 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2009 Voice Sistem SRL\n * Copyright (C) 2009 Andrei Dragus\n *\n * This file is part of opensips, a free SIP server.\n *\n * opensips 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 Foundatio... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [563], "buggy_code_start_loc": [562], "filenames": ["modules/sipmsgops/codecs.c"], "fixing_code_end_loc": [563], "fixing_code_start_loc": [562], "message": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.8 and 3.2.5, OpenSIPS crashes when a malformed ... | 947 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2009 Voice Sistem SRL\n * Copyright (C) 2009 Andrei Dragus\n *\n * This file is part of opensips, a free SIP server.\n *\n * opensips 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 Foundatio... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [563], "buggy_code_start_loc": [562], "filenames": ["modules/sipmsgops/codecs.c"], "fixing_code_end_loc": [563], "fixing_code_start_loc": [562], "message": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.8 and 3.2.5, OpenSIPS crashes when a malformed ... | 947 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"SELECT galleria FROM tblprodotti WHERE codiceprodotto='%s'\", $_... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"SELECT galleria FROM tblprodotti WHERE codiceprodotto='%s'\", re... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r",
" $query = sprintf(\"SELECT codiceprodotto, nomeprodotto FROM tblprodotti WHERE c... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r",
" $query = sprintf(\"SELECT codiceprodotto, nomeprodotto FROM tblprodotti WHERE c... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\nprint '<script type=\"text/javascript\" src=\"'.HOME_WEB.'js/funzioni.js\"></script>';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\nprint '<script type=\"text/javascript\" src=\"'.HOME_WEB.'js/funzioni.js\"></script>';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\nprint '<script type=\"text/javascript\" src=\"'.HOME_WEB.'js/funzioni.js\"></script>';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\nprint '<script type=\"text/javascript\" src=\"'.HOME_WEB.'js/funzioni.js\"></script>';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\nprint '<script type=\"text/javascript\" src=\"'.HOME_WEB.'js/funzioni.js\"></script>';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\nprint '<script type=\"text/javascript\" src=\"'.HOME_WEB.'js/funzioni.js\"></script>';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ninclude '../settings/configurazione.inc';\ninclude HOME_ROOT . '/script/funzioni.php';\ninclude HOME_ROOT . '/html/testa.php';",
"if (isset($_SESSION['collegato'])){\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);",
" $query = sprintf(\"SELECT * FROM tblutenti WHERE user='\" ... | [
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ninclude '../settings/configurazione.inc';\ninclude HOME_ROOT . '/script/funzioni.php';\ninclude HOME_ROOT . '/html/testa.php';",
"if (isset($_SESSION['collegato'])){\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);",
" $query = sprintf(\"SELECT * FROM tblutenti WHERE user='\" ... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/html/testa.php';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif (isset($_SESSION['collegato'])) {\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n $query = sprintf(\"SELECT u.codicefiscale... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/html/testa.php';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif (isset($_SESSION['collegato'])) {\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n $query = sprintf(\"SELECT u.codicefiscale... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\ninclude HOME_ROOT . '/html/testa.php';\r\n\r\n$connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n$query = sprintf(\"SELECT * FROM tblprodotti AS p LEFT JOIN tblprodotticonsole AS pc ON p.codicep... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\ninclude HOME_ROOT . '/html/testa.php';\r\n\r\n$connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n$query = sprintf(\"SELECT * FROM tblprodotti AS p LEFT JOIN tblprodotticonsole AS pc ON p.codicep... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER,UTENTE,PASSWORD,DATABASE);\r",
" $query = sprintf(\"SELECT p.codiceprodotto, p.nomeprodotto, c.quantita, p.prezzo FROM ... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER,UTENTE,PASSWORD,DATABASE);\r",
" $query = sprintf(\"SELECT p.codiceprodotto, p.nomeprodotto, c.quantita, p.prezzo FROM ... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<!DOCTYPE html>\r\n<head>\r\n <title>Games Commerce</title>\r\n <script type=\"text/javascript\" src=\"<?php print HOME_WEB; ?>js/jquery.min.js\"></script>\r\n <script type=\"text/javascript\" src=\"<?php print HOME_WEB; ?>js/jquery-ui.min.js\"></script>\r\n <script type=\"text/javascript\" src=\"<?php... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<!DOCTYPE html>\r\n<head>\r\n <title>Games Commerce</title>\r\n <script type=\"text/javascript\" src=\"<?php print HOME_WEB; ?>js/jquery.min.js\"></script>\r\n <script type=\"text/javascript\" src=\"<?php print HOME_WEB; ?>js/jquery-ui.min.js\"></script>\r\n <script type=\"text/javascript\" src=\"<?php... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\n\r\nfunction creaConnessione($server,$utente,$password,$database) {\r\n $connessione = mysqli_connect($server, $utente, $password);\r\n mysqli_select_db($connessione,$database) or die(mostraErrore($connessione));\r\n return $connessione;\r\n}\r\n\r\nfunction eseguiQuery($connessione,$query){\r\n ... | [
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\n\r\nfunction creaConnessione($server,$utente,$password,$database) {\r\n $connessione = mysqli_connect($server, $utente, $password);\r\n mysqli_select_db($connessione,$database) or die(mostraErrore($connessione));\r\n return $connessione;\r\n}\r\n\r\nfunction eseguiQuery($connessione,$query){\r\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/html/testa.php';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n for($i = 0; $i < count($_POST['user']... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/html/testa.php';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n for($i = 0; $i < count($_POST['user']... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER,UTENTE,PASSWORD,DATABASE);\r\n\r\n /* Il codice fiscale viene salvato per poter recuperare le tuple presenti nella ta... | [
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER,UTENTE,PASSWORD,DATABASE);\r\n\r\n /* Il codice fiscale viene salvato per poter recuperare le tuple presenti nella ta... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"SELECT user, psw, dirittoamministratore FROM tblutenti WHERE... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"SELECT user, psw, dirittoamministratore FROM tblutenti WHERE... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n $utente = $_SESSION['username'];\r\n $quantitaEliminazione = $_POST['quantitaEli... | [
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n $utente = $_SESSION['username'];\r\n $quantitaEliminazione = $_POST['quantitaEli... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r",
" $query = sprintf(\"SELECT COUNT(codiceprodotto) FROM tblprodotti WHERE cate... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r",
" $query = sprintf(\"SELECT COUNT(codiceprodotto) FROM tblprodotti WHERE cate... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r",
" $query = sprintf(\"SELECT COUNT(console) FROM tblprodotticonsole WHERE cons... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r",
" $query = sprintf(\"SELECT COUNT(console) FROM tblprodotticonsole WHERE cons... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r",
" $query = sprintf(\"DELETE FROM tblcarrelli WHERE codiceprodotto='%s'\", $_P... | [
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r",
" $query = sprintf(\"DELETE FROM tblcarrelli WHERE codiceprodotto='%s'\", ren... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n $utente = $_SESSION['username'];\r\n\r\n $quantitaInserimento = $_POST['quan... | [
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n $utente = $_SESSION['username'];\r\n\r\n $quantitaInserimento = $_POST['quan... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"INSERT INTO tblcategorie(nome) VALUE ('%s')\", $_POST['nome'... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"INSERT INTO tblcategorie(nome) VALUE ('%s')\", rendiSicuro($... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n if (trim($_POST['produttore']) == '') {\r",
" $query = sprintf(\"INSERT IN... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n if (trim($_POST['produttore']) == '') {\r",
" $query = sprintf(\"INSERT IN... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\ninclude HOME_ROOT . '/html/testa.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"SELECT galleria FR... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\ninclude HOME_ROOT . '/html/testa.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"SELECT galleria FR... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\ninclude HOME_ROOT . '/html/testa.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n $percorsoCartella = '../img/' . trim($_PO... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\ninclude HOME_ROOT . '/html/testa.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n $percorsoCartella = '../img/' . trim($_PO... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ninclude '../settings/configurazione.inc';\ninclude HOME_ROOT . '/script/funzioni.php';",
"if($_SERVER['REQUEST_METHOD'] != 'GET'){",
" $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);",
" $query = sprintf(\"INSERT INTO tblUtenti(codicefiscale, nome, cognome, datanascita, citta... | [
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ninclude '../settings/configurazione.inc';\ninclude HOME_ROOT . '/script/funzioni.php';",
"if($_SERVER['REQUEST_METHOD'] != 'GET'){",
" $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);",
" $query = sprintf(\"INSERT INTO tblUtenti(codicefiscale, nome, cognome, datanascita, citta... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"UPDATE tblcategorie SET nome='%s' WHERE nome='%s'\", $_POST[... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r",
" $query = sprintf(\"UPDATE tblcategorie SET nome='%s' WHERE nome='%s'\", rendiSi... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n if (trim($_POST['produttore']) == '') {\r",
" $query = sprintf(\"UPDAT... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n if (trim($_POST['produttore']) == '') {\r",
" $query = sprintf(\"UPDAT... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/html/testa.php';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n//Se l'indice è -1 indica che viene caric... | [
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\ninclude '../settings/configurazione.inc';\r\ninclude HOME_ROOT . '/html/testa.php';\r\ninclude HOME_ROOT . '/script/funzioni.php';\r\n\r\nif($_SERVER['REQUEST_METHOD'] != 'GET'){\r\n\r\n $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);\r\n\r\n//Se l'indice è -1 indica che viene caric... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ninclude '../settings/configurazione.inc';\ninclude HOME_ROOT . '/script/funzioni.php';",
"if($_SERVER['REQUEST_METHOD'] != 'GET'){",
" $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);",
" $query = sprintf(\"UPDATE tblutenti SET codicefiscale='%s', nome='%s', cognome='%s', data... | [
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ninclude '../settings/configurazione.inc';\ninclude HOME_ROOT . '/script/funzioni.php';",
"if($_SERVER['REQUEST_METHOD'] != 'GET'){",
" $connessione = creaConnessione(SERVER, UTENTE, PASSWORD, DATABASE);",
" $query = sprintf(\"UPDATE tblutenti SET codicefiscale='%s', nome='%s', cognome='%s', data... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\n/* CONFIGURAZIONE NON NON NECESSARIA */\r\n\r\n/* HOME_ROOT indica il percorso assoluto della cartella del file in cui viene inclusa; non necessita di ulteriore configurazione. Questa\r\ncostante è necessaria per poter includere file in maniera assoluta da qualsiasi punto del sito*/\r\ndefine('HOME_ROOT'... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\r\n/* CONFIGURAZIONE NON NON NECESSARIA */\r\n\r\n/* HOME_ROOT indica il percorso assoluto della cartella del file in cui viene inclusa; non necessita di ulteriore configurazione. Questa\r\ncostante è necessaria per poter includere file in maniera assoluta da qualsiasi punto del sito*/\r\ndefine('HOME_ROOT'... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8, 9, 10, 10, 9, 9, 14, 25, 8, 16, 238, 12, 33, 9, 39, 16, 16, 51, 41, 9, 12, 10, 21, 9, 9, 13, 48, 9, 21], "buggy_code_start_loc": [7, 8, 9, 9, 8, 8, 13, 24, 7, 10, 20, 11, 11, 8, 15, 9, 9, 9, 14, 8, 9, 9, 17, 8, 8, 10, 17, 8, 16], "filenames": ["html/moduloEliminazioneImmagineIntermedio.php", ... | 948 |
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,
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": [77], "buggy_code_start_loc": [77], "filenames": ["tensorflow/lite/kernels/internal/common.h"], "fixing_code_end_loc": [79], "fixing_code_start_loc": [78], "message": "Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would trigger a division by ze... | 949 |
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": [77], "buggy_code_start_loc": [77], "filenames": ["tensorflow/lite/kernels/internal/common.h"], "fixing_code_end_loc": [79], "fixing_code_start_loc": [78], "message": "Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would trigger a division by ze... | 949 |
Determine whether the {function_name} code is vulnerable or not. | [
"Starlette includes a `Request` class that gives you a nicer interface onto\nthe incoming request, rather than accessing the ASGI scope and receive channel directly.",
"### Request",
"Signature: `Request(scope, receive=None)`",
"```python\nfrom starlette.requests import Request\nfrom starlette.responses impor... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [116, 254, 272, 462], "buggy_code_start_loc": [116, 1, 247, 98], "filenames": ["docs/requests.md", "starlette/formparsers.py", "starlette/requests.py", "tests/test_formparsers.py"], "fixing_code_end_loc": [129, 268, 289, 685], "fixing_code_start_loc": [117, 2, 247, 99], "message": "There Multipar... | 950 |
Determine whether the {function_name} code is vulnerable or not. | [
"Starlette includes a `Request` class that gives you a nicer interface onto\nthe incoming request, rather than accessing the ASGI scope and receive channel directly.",
"### Request",
"Signature: `Request(scope, receive=None)`",
"```python\nfrom starlette.requests import Request\nfrom starlette.responses impor... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [116, 254, 272, 462], "buggy_code_start_loc": [116, 1, 247, 98], "filenames": ["docs/requests.md", "starlette/formparsers.py", "starlette/requests.py", "tests/test_formparsers.py"], "fixing_code_end_loc": [129, 268, 289, 685], "fixing_code_start_loc": [117, 2, 247, 99], "message": "There Multipar... | 950 |
Determine whether the {function_name} code is vulnerable or not. | [
"import typing",
"",
"from enum import Enum\nfrom tempfile import SpooledTemporaryFile\nfrom urllib.parse import unquote_plus",
"from starlette.datastructures import FormData, Headers, UploadFile",
"try:\n import multipart\n from multipart.multipart import parse_options_header\nexcept ImportError: # ... | [
1,
0,
1,
1,
1,
1,
1,
0,
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,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
0,
1,
0,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [116, 254, 272, 462], "buggy_code_start_loc": [116, 1, 247, 98], "filenames": ["docs/requests.md", "starlette/formparsers.py", "starlette/requests.py", "tests/test_formparsers.py"], "fixing_code_end_loc": [129, 268, 289, 685], "fixing_code_start_loc": [117, 2, 247, 99], "message": "There Multipar... | 950 |
Determine whether the {function_name} code is vulnerable or not. | [
"import typing",
"from dataclasses import dataclass, field",
"from enum import Enum\nfrom tempfile import SpooledTemporaryFile\nfrom urllib.parse import unquote_plus",
"from starlette.datastructures import FormData, Headers, UploadFile",
"try:\n import multipart\n from multipart.multipart import parse... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [116, 254, 272, 462], "buggy_code_start_loc": [116, 1, 247, 98], "filenames": ["docs/requests.md", "starlette/formparsers.py", "starlette/requests.py", "tests/test_formparsers.py"], "fixing_code_end_loc": [129, 268, 289, 685], "fixing_code_start_loc": [117, 2, 247, 99], "message": "There Multipar... | 950 |
Determine whether the {function_name} code is vulnerable or not. | [
"import json\nimport typing\nfrom http import cookies as http_cookies",
"import anyio",
"from starlette._utils import AwaitableOrContextManager, AwaitableOrContextManagerWrapper\nfrom starlette.datastructures import URL, Address, FormData, Headers, QueryParams, State\nfrom starlette.exceptions import HTTPExcept... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [116, 254, 272, 462], "buggy_code_start_loc": [116, 1, 247, 98], "filenames": ["docs/requests.md", "starlette/formparsers.py", "starlette/requests.py", "tests/test_formparsers.py"], "fixing_code_end_loc": [129, 268, 289, 685], "fixing_code_start_loc": [117, 2, 247, 99], "message": "There Multipar... | 950 |
Determine whether the {function_name} code is vulnerable or not. | [
"import json\nimport typing\nfrom http import cookies as http_cookies",
"import anyio",
"from starlette._utils import AwaitableOrContextManager, AwaitableOrContextManagerWrapper\nfrom starlette.datastructures import URL, Address, FormData, Headers, QueryParams, State\nfrom starlette.exceptions import HTTPExcept... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [116, 254, 272, 462], "buggy_code_start_loc": [116, 1, 247, 98], "filenames": ["docs/requests.md", "starlette/formparsers.py", "starlette/requests.py", "tests/test_formparsers.py"], "fixing_code_end_loc": [129, 268, 289, 685], "fixing_code_start_loc": [117, 2, 247, 99], "message": "There Multipar... | 950 |
Determine whether the {function_name} code is vulnerable or not. | [
"import os\nimport typing\nfrom contextlib import nullcontext as does_not_raise",
"import pytest",
"from starlette.applications import Starlette\nfrom starlette.formparsers import MultiPartException, UploadFile, _user_safe_decode\nfrom starlette.requests import Request\nfrom starlette.responses import JSONRespo... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [116, 254, 272, 462], "buggy_code_start_loc": [116, 1, 247, 98], "filenames": ["docs/requests.md", "starlette/formparsers.py", "starlette/requests.py", "tests/test_formparsers.py"], "fixing_code_end_loc": [129, 268, 289, 685], "fixing_code_start_loc": [117, 2, 247, 99], "message": "There Multipar... | 950 |
Determine whether the {function_name} code is vulnerable or not. | [
"import os\nimport typing\nfrom contextlib import nullcontext as does_not_raise",
"import pytest",
"from starlette.applications import Starlette\nfrom starlette.formparsers import MultiPartException, UploadFile, _user_safe_decode\nfrom starlette.requests import Request\nfrom starlette.responses import JSONRespo... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [116, 254, 272, 462], "buggy_code_start_loc": [116, 1, 247, 98], "filenames": ["docs/requests.md", "starlette/formparsers.py", "starlette/requests.py", "tests/test_formparsers.py"], "fixing_code_end_loc": [129, 268, 289, 685], "fixing_code_start_loc": [117, 2, 247, 99], "message": "There Multipar... | 950 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2012,2013 - ARM Ltd\n * Author: Marc Zyngier <marc.zyngier@arm.com>\n *\n * Derived from arch/arm/kvm/guest.c:\n * Copyright (C) 2012 - Virtual Open Systems and Columbia University\n * Author: Christoffer Dall <c.dall@virtualopensystems.com>\n *\n * This program is free software; you can redis... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [165], "buggy_code_start_loc": [155], "filenames": ["arch/arm64/kvm/guest.c"], "fixing_code_end_loc": [174], "fixing_code_start_loc": [155], "message": "arch/arm64/kvm/guest.c in KVM in the Linux kernel before 4.18.12 on the arm64 platform mishandles the KVM_SET_ON_REG ioctl. This is exploitable ... | 951 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2012,2013 - ARM Ltd\n * Author: Marc Zyngier <marc.zyngier@arm.com>\n *\n * Derived from arch/arm/kvm/guest.c:\n * Copyright (C) 2012 - Virtual Open Systems and Columbia University\n * Author: Christoffer Dall <c.dall@virtualopensystems.com>\n *\n * This program is free software; you can redis... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [165], "buggy_code_start_loc": [155], "filenames": ["arch/arm64/kvm/guest.c"], "fixing_code_end_loc": [174], "fixing_code_start_loc": [155], "message": "arch/arm64/kvm/guest.c in KVM in the Linux kernel before 4.18.12 on the arm64 platform mishandles the KVM_SET_ON_REG ioctl. This is exploitable ... | 951 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"return [",
"\t'appVersion' => '6.3.2',\n\t'patchVersion' => '2021.12.12',",
"\t'lib_roundcube' => '0.2.3',\n];"
] | [
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 5173, 78, 33, 1225, 140, 86, 1030], "buggy_code_start_loc": [4, 3585, 12, 4, 592, 30, 30, 1026], "filenames": ["config/version.php", "install/install_schema/data.sql", "layouts/basic/modules/Vtiger/Edit/CurrenciesModal.tpl", "layouts/basic/modules/Vtiger/Edit/Field/MultiCurrency.tpl", "module... | 952 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"return [",
"\t'appVersion' => '6.3.3',\n\t'patchVersion' => '2021.12.13',",
"\t'lib_roundcube' => '0.2.3',\n];"
] | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6, 5173, 78, 33, 1225, 140, 86, 1030], "buggy_code_start_loc": [4, 3585, 12, 4, 592, 30, 30, 1026], "filenames": ["config/version.php", "install/install_schema/data.sql", "layouts/basic/modules/Vtiger/Edit/CurrenciesModal.tpl", "layouts/basic/modules/Vtiger/Edit/Field/MultiCurrency.tpl", "module... | 952 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.