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 * Copyright (C) 2010 IBM Corporation\n *\n * Author:\n * David Safford <safford@us.ibm.com>\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, version 2 of the License.\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": [367, 228, 283, 858, 155, 991, 905, 603, 250, 734, 602, 77, 1070, 166], "buggy_code_start_loc": [138, 227, 250, 857, 131, 404, 769, 417, 184, 733, 598, 76, 1069, 117], "filenames": ["include/linux/key.h", "net/dns_resolver/dns_key.c", "security/keys/big_key.c", "security/keys/encrypted-keys/encry...
836
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2010 IBM Corporation\n *\n * Author:\n * David Safford <safford@us.ibm.com>\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, version 2 of the License.\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": [367, 228, 283, 858, 155, 991, 905, 603, 250, 734, 602, 77, 1070, 166], "buggy_code_start_loc": [138, 227, 250, 857, 131, 404, 769, 417, 184, 733, 598, 76, 1069, 117], "filenames": ["include/linux/key.h", "net/dns_resolver/dns_key.c", "security/keys/big_key.c", "security/keys/encrypted-keys/encry...
836
Determine whether the {function_name} code is vulnerable or not.
[ "/* user_defined.c: user defined key type\n *\n * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.\n * Written by David Howells (dhowells@redhat.com)\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\n * as published by the Fre...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [367, 228, 283, 858, 155, 991, 905, 603, 250, 734, 602, 77, 1070, 166], "buggy_code_start_loc": [138, 227, 250, 857, 131, 404, 769, 417, 184, 733, 598, 76, 1069, 117], "filenames": ["include/linux/key.h", "net/dns_resolver/dns_key.c", "security/keys/big_key.c", "security/keys/encrypted-keys/encry...
836
Determine whether the {function_name} code is vulnerable or not.
[ "/* user_defined.c: user defined key type\n *\n * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.\n * Written by David Howells (dhowells@redhat.com)\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\n * as published by the Fre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [367, 228, 283, 858, 155, 991, 905, 603, 250, 734, 602, 77, 1070, 166], "buggy_code_start_loc": [138, 227, 250, 857, 131, 404, 769, 417, 184, 733, 598, 76, 1069, 117], "filenames": ["include/linux/key.h", "net/dns_resolver/dns_key.c", "security/keys/big_key.c", "security/keys/encrypted-keys/encry...
836
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"\nForm Widget classes specific to the Django admin site.\n\"\"\"\nfrom __future__ import unicode_literals", "import copy", "from django import forms\nfrom django.contrib.admin.templatetags.admin_static import static\nfrom django.core.urlresolvers import reverse\nfrom django.forms.widgets import RadioFiel...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [316, 314], "buggy_code_start_loc": [313, 302], "filenames": ["django/contrib/admin/widgets.py", "tests/regressiontests/admin_widgets/tests.py"], "fixing_code_end_loc": [316, 320], "fixing_code_start_loc": [313, 302], "message": "Cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget...
837
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"\nForm Widget classes specific to the Django admin site.\n\"\"\"\nfrom __future__ import unicode_literals", "import copy", "from django import forms\nfrom django.contrib.admin.templatetags.admin_static import static\nfrom django.core.urlresolvers import reverse\nfrom django.forms.widgets import RadioFiel...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [316, 314], "buggy_code_start_loc": [313, 302], "filenames": ["django/contrib/admin/widgets.py", "tests/regressiontests/admin_widgets/tests.py"], "fixing_code_end_loc": [316, 320], "fixing_code_start_loc": [313, 302], "message": "Cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget...
837
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8\nfrom __future__ import absolute_import, unicode_literals", "from datetime import datetime", "from django import forms\nfrom django.conf import settings\nfrom django.contrib import admin\nfrom django.contrib.admin import widgets\nfrom django.contrib.admin.tests import AdminSeleniumWebDriverTe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [316, 314], "buggy_code_start_loc": [313, 302], "filenames": ["django/contrib/admin/widgets.py", "tests/regressiontests/admin_widgets/tests.py"], "fixing_code_end_loc": [316, 320], "fixing_code_start_loc": [313, 302], "message": "Cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget...
837
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8\nfrom __future__ import absolute_import, unicode_literals", "from datetime import datetime", "from django import forms\nfrom django.conf import settings\nfrom django.contrib import admin\nfrom django.contrib.admin import widgets\nfrom django.contrib.admin.tests import AdminSeleniumWebDriverTe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [316, 314], "buggy_code_start_loc": [313, 302], "filenames": ["django/contrib/admin/widgets.py", "tests/regressiontests/admin_widgets/tests.py"], "fixing_code_end_loc": [316, 320], "fixing_code_start_loc": [313, 302], "message": "Cross-site scripting (XSS) vulnerability in the AdminURLFieldWidget...
837
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2004-2007, Sara Golemon <sarag@libssh2.org>\n * Copyright (c) 2005,2006 Mikhail Gusarov\n * Copyright (c) 2009-2014 by Daniel Stenberg\n * Copyright (c) 2010 Simon Josefsson\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms,\n * with or without modification, are pe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [583], "buggy_code_start_loc": [422], "filenames": ["src/packet.c"], "fixing_code_end_loc": [573], "fixing_code_start_loc": [422], "message": "In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specif...
838
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2004-2007, Sara Golemon <sarag@libssh2.org>\n * Copyright (c) 2005,2006 Mikhail Gusarov\n * Copyright (c) 2009-2014 by Daniel Stenberg\n * Copyright (c) 2010 Simon Josefsson\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms,\n * with or without modification, are pe...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [583], "buggy_code_start_loc": [422], "filenames": ["src/packet.c"], "fixing_code_end_loc": [573], "fixing_code_start_loc": [422], "message": "In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specif...
838
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */", "( function() {\n\tvar removeReservedKeywords;", "\t/**\n\t * Represents an HTML data processor, which is responsible for transl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [1109], "buggy_code_start_loc": [53], "filenames": ["core/htmldataprocessor.js"], "fixing_code_end_loc": [1122], "fixing_code_start_loc": [53], "message": "CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A vulnerability has been discovered in the core HTML processing module ...
839
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */", "( function() {\n\tvar removeReservedKeywords;", "\t/**\n\t * Represents an HTML data processor, which is responsible for transl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1109], "buggy_code_start_loc": [53], "filenames": ["core/htmldataprocessor.js"], "fixing_code_end_loc": [1122], "fixing_code_start_loc": [53], "message": "CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A vulnerability has been discovered in the core HTML processing module ...
839
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n\tgd_bmp.c", "\tBitmap format support for libgd", "\t* Written 2007, Scott MacVicar\n\t---------------------------------------------------------------------------", "\tTodo:", "\tBitfield encoding", "\t----------------------------------------------------------------------------\n */", "/**\n * File...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [339, 231], "buggy_code_start_loc": [32, 230], "filenames": ["src/gd_bmp.c", "src/gd_webp.c"], "fixing_code_end_loc": [347, 237], "fixing_code_start_loc": [33, 230], "message": "The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and...
840
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n\tgd_bmp.c", "\tBitmap format support for libgd", "\t* Written 2007, Scott MacVicar\n\t---------------------------------------------------------------------------", "\tTodo:", "\tBitfield encoding", "\t----------------------------------------------------------------------------\n */", "/**\n * File...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [339, 231], "buggy_code_start_loc": [32, 230], "filenames": ["src/gd_bmp.c", "src/gd_webp.c"], "fixing_code_end_loc": [347, 237], "fixing_code_start_loc": [33, 230], "message": "The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and...
840
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * File: WebP IO\n *\n * Read and write WebP images.\n */", "#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif /* HAVE_CONFIG_H */", "\n#include <stdio.h>\n#include <math.h>\n#include <string.h>\n#include <stdlib.h>\n#include \"gd.h\"\n#include \"gd_errors.h\"\n#include \"gdhelpers.h\"", "#ifdef HAVE_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [339, 231], "buggy_code_start_loc": [32, 230], "filenames": ["src/gd_bmp.c", "src/gd_webp.c"], "fixing_code_end_loc": [347, 237], "fixing_code_start_loc": [33, 230], "message": "The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and...
840
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * File: WebP IO\n *\n * Read and write WebP images.\n */", "#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif /* HAVE_CONFIG_H */", "\n#include <stdio.h>\n#include <math.h>\n#include <string.h>\n#include <stdlib.h>\n#include \"gd.h\"\n#include \"gd_errors.h\"\n#include \"gdhelpers.h\"", "#ifdef HAVE_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [339, 231], "buggy_code_start_loc": [32, 230], "filenames": ["src/gd_bmp.c", "src/gd_webp.c"], "fixing_code_end_loc": [347, 237], "fixing_code_start_loc": [33, 230], "message": "The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and...
840
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun...
[ 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foun...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [57, 438, 514, 44, 1504, 34, 29], "buggy_code_start_loc": [56, 279, 512, 38, 1503, 28, 28], "filenames": ["framework/core/controllers/expController.php", "framework/core/expFramework.php", "framework/core/subsystems/expString.php", "framework/modules/file/controllers/fileController.php", "framewo...
841
Determine whether the {function_name} code is vulnerable or not.
[ "/** global: ArrayUtil */\n/** global: Base64Util */\n/** global: DateUtil */\n/** global: FunctionUtil */\n/** global: JSONUtil */\n/** global: MathUtil */\n/** global: ObjectUtil */\n/** global: StringUtil */\n/** global: TypeUtil */\n/** global: URLUtil */", "ObjectUtil = {", " assign: function(obj, other...
[ 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [219, 306], "buggy_code_start_loc": [219, 306], "filenames": ["src/utils/ObjectUtil.js", "test/test_object.js"], "fixing_code_end_loc": [223, 312], "fixing_code_start_loc": [220, 307], "message": "utils.js is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Protot...
842
Determine whether the {function_name} code is vulnerable or not.
[ "/** global: ArrayUtil */\n/** global: Base64Util */\n/** global: DateUtil */\n/** global: FunctionUtil */\n/** global: JSONUtil */\n/** global: MathUtil */\n/** global: ObjectUtil */\n/** global: StringUtil */\n/** global: TypeUtil */\n/** global: URLUtil */", "ObjectUtil = {", " assign: function(obj, other...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [219, 306], "buggy_code_start_loc": [219, 306], "filenames": ["src/utils/ObjectUtil.js", "test/test_object.js"], "fixing_code_end_loc": [223, 312], "fixing_code_start_loc": [220, 307], "message": "utils.js is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Protot...
842
Determine whether the {function_name} code is vulnerable or not.
[ "var utils = require('../dist/utils.js');\nvar test = utils.test;\nvar obj = utils.object;", "describe('object', function() {\n describe('assign', function() {\n var f = obj.assign;\n it('test same instance', function() {\n var o1 = { a:1, b:2, c:3 };\n var r = f(o1, o1);\n ...
[ 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [219, 306], "buggy_code_start_loc": [219, 306], "filenames": ["src/utils/ObjectUtil.js", "test/test_object.js"], "fixing_code_end_loc": [223, 312], "fixing_code_start_loc": [220, 307], "message": "utils.js is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Protot...
842
Determine whether the {function_name} code is vulnerable or not.
[ "var utils = require('../dist/utils.js');\nvar test = utils.test;\nvar obj = utils.object;", "describe('object', function() {\n describe('assign', function() {\n var f = obj.assign;\n it('test same instance', function() {\n var o1 = { a:1, b:2, c:3 };\n var r = f(o1, o1);\n ...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [219, 306], "buggy_code_start_loc": [219, 306], "filenames": ["src/utils/ObjectUtil.js", "test/test_object.js"], "fixing_code_end_loc": [223, 312], "fixing_code_start_loc": [220, 307], "message": "utils.js is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Protot...
842
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 1999-2000 Image Power, Inc. and the University of\n * British Columbia.\n * Copyright (c) 2001-2002 Michael David Adams.\n * All rights reserved.\n */", "/* __START_OF_JASPER_LICENSE__\n * \n * JasPer License Version 2.0\n * \n * Copyright (c) 2001-2006 Michael David Adams\n * Copyright (c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [251, 149], "buggy_code_start_loc": [241, 103], "filenames": ["src/libjasper/base/jas_malloc.c", "src/libjasper/base/jas_seq.c"], "fixing_code_end_loc": [251, 163], "fixing_code_start_loc": [241, 104], "message": "Integer overflow in the jpc_dec_tiledecode function in jpc_dec.c in JasPer before 1...
843
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 1999-2000 Image Power, Inc. and the University of\n * British Columbia.\n * Copyright (c) 2001-2002 Michael David Adams.\n * All rights reserved.\n */", "/* __START_OF_JASPER_LICENSE__\n * \n * JasPer License Version 2.0\n * \n * Copyright (c) 2001-2006 Michael David Adams\n * Copyright (c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [251, 149], "buggy_code_start_loc": [241, 103], "filenames": ["src/libjasper/base/jas_malloc.c", "src/libjasper/base/jas_seq.c"], "fixing_code_end_loc": [251, 163], "fixing_code_start_loc": [241, 104], "message": "Integer overflow in the jpc_dec_tiledecode function in jpc_dec.c in JasPer before 1...
843
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 1999-2000 Image Power, Inc. and the University of\n * British Columbia.\n * Copyright (c) 2001-2002 Michael David Adams.\n * All rights reserved.\n */", "/* __START_OF_JASPER_LICENSE__\n * \n * JasPer License Version 2.0\n * \n * Copyright (c) 2001-2006 Michael David Adams\n * Copyright (c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [251, 149], "buggy_code_start_loc": [241, 103], "filenames": ["src/libjasper/base/jas_malloc.c", "src/libjasper/base/jas_seq.c"], "fixing_code_end_loc": [251, 163], "fixing_code_start_loc": [241, 104], "message": "Integer overflow in the jpc_dec_tiledecode function in jpc_dec.c in JasPer before 1...
843
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 1999-2000 Image Power, Inc. and the University of\n * British Columbia.\n * Copyright (c) 2001-2002 Michael David Adams.\n * All rights reserved.\n */", "/* __START_OF_JASPER_LICENSE__\n * \n * JasPer License Version 2.0\n * \n * Copyright (c) 2001-2006 Michael David Adams\n * Copyright (c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [251, 149], "buggy_code_start_loc": [241, 103], "filenames": ["src/libjasper/base/jas_malloc.c", "src/libjasper/base/jas_seq.c"], "fixing_code_end_loc": [251, 163], "fixing_code_start_loc": [241, 104], "message": "Integer overflow in the jpc_dec_tiledecode function in jpc_dec.c in JasPer before 1...
843
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-jpeg.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "#include \"imagew-config.h\"", "#if IW_SUPPORT_JPEG == 1", "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <math.h>\n#include <setjmp.h>", "#include...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [181], "buggy_code_start_loc": [60], "filenames": ["src/imagew-jpeg.c"], "fixing_code_end_loc": [193], "fixing_code_start_loc": [61], "message": "The iw_get_ui16le function in imagew-util.c:405:23 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial of service (h...
844
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-jpeg.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "#include \"imagew-config.h\"", "#if IW_SUPPORT_JPEG == 1", "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <math.h>\n#include <setjmp.h>", "#include...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [181], "buggy_code_start_loc": [60], "filenames": ["src/imagew-jpeg.c"], "fixing_code_end_loc": [193], "fixing_code_start_loc": [61], "message": "The iw_get_ui16le function in imagew-util.c:405:23 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial of service (h...
844
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * #%L\n * SCIFIO library for reading and converting scientific file formats.\n * %%\n * Copyright (C) 2011 - 2022 SCIFIO developers.\n * %%\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * \n * 1. Redistr...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [161], "buggy_code_start_loc": [161], "filenames": ["src/test/java/io/scif/util/DefaultSampleFilesService.java"], "fixing_code_end_loc": [165], "fixing_code_start_loc": [162], "message": "A vulnerability classified as critical was found in scifio. Affected by this vulnerability is the function do...
845
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * #%L\n * SCIFIO library for reading and converting scientific file formats.\n * %%\n * Copyright (C) 2011 - 2022 SCIFIO developers.\n * %%\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * \n * 1. Redistr...
[ 1, 1, 1, 1, 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": [161], "buggy_code_start_loc": [161], "filenames": ["src/test/java/io/scif/util/DefaultSampleFilesService.java"], "fixing_code_end_loc": [165], "fixing_code_start_loc": [162], "message": "A vulnerability classified as critical was found in scifio. Affected by this vulnerability is the function do...
845
Determine whether the {function_name} code is vulnerable or not.
[ "package content", "import (", "", "\t\"io\"\n\t\"os\"\n\t\"path\"", "", "\n\t\"github.com/hoffie/larasync/helpers/atomic\"\n)", "const (\n\t// default permissions\n\tdefaultFilePerms = 0600\n\tdefaultDirPerms = 0700\n)", "", "\n// FileStorage is the basic implementation of the Storage\n// implemen...
[ 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 72], "buggy_code_start_loc": [3, 22], "filenames": ["repository/content/file_storage.go", "repository/content/file_storage_test.go"], "fixing_code_end_loc": [125, 90], "fixing_code_start_loc": [4, 23], "message": "A vulnerability classified as critical was found in hoffie larasync. This vuln...
846
Determine whether the {function_name} code is vulnerable or not.
[ "package content", "import (", "\t\"errors\"", "\t\"io\"\n\t\"os\"\n\t\"path\"", "\t\"path/filepath\"\n\t\"strings\"", "\n\t\"github.com/hoffie/larasync/helpers/atomic\"\n)", "const (\n\t// default permissions\n\tdefaultFilePerms = 0600\n\tdefaultDirPerms = 0700\n)", "\n// ErrInvalidPath is returned ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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": [92, 72], "buggy_code_start_loc": [3, 22], "filenames": ["repository/content/file_storage.go", "repository/content/file_storage_test.go"], "fixing_code_end_loc": [125, 90], "fixing_code_start_loc": [4, 23], "message": "A vulnerability classified as critical was found in hoffie larasync. This vuln...
846
Determine whether the {function_name} code is vulnerable or not.
[ "package content", "import (\n\t\"bytes\"\n\t\"crypto/sha256\"\n\t\"encoding/hex\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path\"", "\t. \"gopkg.in/check.v1\"\n)", "type FileStorageTests struct {\n\tdir string\n\tstorage *FileStorage\n\tdata []byte\n}", "var _ = Suite(&FileStorageTests{})\n", "",...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 72], "buggy_code_start_loc": [3, 22], "filenames": ["repository/content/file_storage.go", "repository/content/file_storage_test.go"], "fixing_code_end_loc": [125, 90], "fixing_code_start_loc": [4, 23], "message": "A vulnerability classified as critical was found in hoffie larasync. This vuln...
846
Determine whether the {function_name} code is vulnerable or not.
[ "package content", "import (\n\t\"bytes\"\n\t\"crypto/sha256\"\n\t\"encoding/hex\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"os\"\n\t\"path\"", "\t. \"gopkg.in/check.v1\"\n)", "type FileStorageTests struct {\n\tdir string\n\tstorage *FileStorage\n\tdata []byte\n}", "var _ = Suite(&FileStorageTests{})\n", "va...
[ 1, 1, 1, 1, 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": [92, 72], "buggy_code_start_loc": [3, 22], "filenames": ["repository/content/file_storage.go", "repository/content/file_storage_test.go"], "fixing_code_end_loc": [125, 90], "fixing_code_start_loc": [4, 23], "message": "A vulnerability classified as critical was found in hoffie larasync. This vuln...
846
Determine whether the {function_name} code is vulnerable or not.
[ "<?php namespace October\\Rain\\Auth;", "use Cookie;\nuse Session;\nuse Request;\nuse Illuminate\\Contracts\\Auth\\Authenticatable;", "/**\n * Authentication manager\n */\nclass Manager implements \\Illuminate\\Contracts\\Auth\\StatefulGuard\n{\n use \\October\\Rain\\Support\\Traits\\Singleton;", " /**\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [690], "buggy_code_start_loc": [689], "filenames": ["src/Auth/Manager.php"], "fixing_code_end_loc": [690], "fixing_code_start_loc": [689], "message": "An issue was discovered in October through build 471. It reactivates an old session ID (which had been invalid after a logout) once a new login oc...
847
Determine whether the {function_name} code is vulnerable or not.
[ "<?php namespace October\\Rain\\Auth;", "use Cookie;\nuse Session;\nuse Request;\nuse Illuminate\\Contracts\\Auth\\Authenticatable;", "/**\n * Authentication manager\n */\nclass Manager implements \\Illuminate\\Contracts\\Auth\\StatefulGuard\n{\n use \\October\\Rain\\Support\\Traits\\Singleton;", " /**\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [690], "buggy_code_start_loc": [689], "filenames": ["src/Auth/Manager.php"], "fixing_code_end_loc": [690], "fixing_code_start_loc": [689], "message": "An issue was discovered in October through build 471. It reactivates an old session ID (which had been invalid after a logout) once a new login oc...
847
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * Configuration handling.\n *\n * @package PhpMyAdmin\n */", "if (! defined('PHPMYADMIN')) {\n exit;\n}", "/**\n * Load vendor configuration.\n */\nrequire_once './libraries/vendor_config.php';", "/**\n * Indication for error handler (see end of 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, 1, 1, 1, 1, 1, 1, 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": [1374], "buggy_code_start_loc": [1373], "filenames": ["libraries/Config.class.php"], "fixing_code_end_loc": [1374], "fixing_code_start_loc": [1373], "message": "Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.0.x before 4.0.10.15, 4.4.x before 4.4.15.5, and 4.5.x before 4.5.5....
848
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * Configuration handling.\n *\n * @package PhpMyAdmin\n */", "if (! defined('PHPMYADMIN')) {\n exit;\n}", "/**\n * Load vendor configuration.\n */\nrequire_once './libraries/vendor_config.php';", "/**\n * Indication for error handler (see end of 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, 1, 1, 1, 1, 1, 1, 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": [1374], "buggy_code_start_loc": [1373], "filenames": ["libraries/Config.class.php"], "fixing_code_end_loc": [1374], "fixing_code_start_loc": [1373], "message": "Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.0.x before 4.0.10.15, 4.4.x before 4.4.15.5, and 4.5.x before 4.5.5....
848
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2004-2005 Paul Querna\n * Copyright 2008 Nikos Mavrogiannopoulos\n * Copyright 2011 Dash Shendy", " * Copyright 2015-2020 Fiona Klute", " *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You ...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 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": [1007], "buggy_code_start_loc": [5], "filenames": ["src/gnutls_io.c"], "fixing_code_end_loc": [1012], "fixing_code_start_loc": [5], "message": "Mod_gnutls is a TLS module for Apache HTTPD based on GnuTLS. Versions from 0.9.0 to 0.12.0 (including) did not properly fail blocking read operations on ...
849
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2004-2005 Paul Querna\n * Copyright 2008 Nikos Mavrogiannopoulos\n * Copyright 2011 Dash Shendy", " * Copyright 2015-2022 Fiona Klute", " *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1007], "buggy_code_start_loc": [5], "filenames": ["src/gnutls_io.c"], "fixing_code_end_loc": [1012], "fixing_code_start_loc": [5], "message": "Mod_gnutls is a TLS module for Apache HTTPD based on GnuTLS. Versions from 0.9.0 to 0.12.0 (including) did not properly fail blocking read operations on ...
849
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n * \n * Copyright (c) 2004-2012, Sun Microsystems, Inc., Kohsuke Kawaguchi, Erik Ramfelt,\n * Tom Huybrechts, Vincent Latombe\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1080, 2493, 83], "buggy_code_start_loc": [1080, 2488, 28], "filenames": ["core/src/main/java/hudson/model/User.java", "core/src/main/java/jenkins/model/Jenkins.java", "test/src/test/java/jenkins/model/JenkinsTest.java"], "fixing_code_end_loc": [1098, 2493, 107], "fixing_code_start_loc": [1081, 2...
850
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n * \n * Copyright (c) 2004-2012, Sun Microsystems, Inc., Kohsuke Kawaguchi, Erik Ramfelt,\n * Tom Huybrechts, Vincent Latombe\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1080, 2493, 83], "buggy_code_start_loc": [1080, 2488, 28], "filenames": ["core/src/main/java/hudson/model/User.java", "core/src/main/java/jenkins/model/Jenkins.java", "test/src/test/java/jenkins/model/JenkinsTest.java"], "fixing_code_end_loc": [1098, 2493, 107], "fixing_code_start_loc": [1081, 2...
850
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n *\n * Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,\n * Erik Ramfelt, Koichi Fujikawa, Red Hat, Inc., Seiji Sogabe,\n * Stephen Connolly, Tom Huybrechts, Yahoo! Inc., Alan Harder, CloudBees, Inc.,\n * Yahoo!, Inc.\n *\n * Permission is hereby granted, free of charge, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1080, 2493, 83], "buggy_code_start_loc": [1080, 2488, 28], "filenames": ["core/src/main/java/hudson/model/User.java", "core/src/main/java/jenkins/model/Jenkins.java", "test/src/test/java/jenkins/model/JenkinsTest.java"], "fixing_code_end_loc": [1098, 2493, 107], "fixing_code_start_loc": [1081, 2...
850
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n *\n * Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,\n * Erik Ramfelt, Koichi Fujikawa, Red Hat, Inc., Seiji Sogabe,\n * Stephen Connolly, Tom Huybrechts, Yahoo! Inc., Alan Harder, CloudBees, Inc.,\n * Yahoo!, Inc.\n *\n * Permission is hereby granted, free of charge, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1080, 2493, 83], "buggy_code_start_loc": [1080, 2488, 28], "filenames": ["core/src/main/java/hudson/model/User.java", "core/src/main/java/jenkins/model/Jenkins.java", "test/src/test/java/jenkins/model/JenkinsTest.java"], "fixing_code_end_loc": [1098, 2493, 107], "fixing_code_start_loc": [1081, 2...
850
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n *\n * Copyright (c) 2004-2011, Yahoo!, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rig...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1080, 2493, 83], "buggy_code_start_loc": [1080, 2488, 28], "filenames": ["core/src/main/java/hudson/model/User.java", "core/src/main/java/jenkins/model/Jenkins.java", "test/src/test/java/jenkins/model/JenkinsTest.java"], "fixing_code_end_loc": [1098, 2493, 107], "fixing_code_start_loc": [1081, 2...
850
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n *\n * Copyright (c) 2004-2011, Yahoo!, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rig...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1080, 2493, 83], "buggy_code_start_loc": [1080, 2488, 28], "filenames": ["core/src/main/java/hudson/model/User.java", "core/src/main/java/jenkins/model/Jenkins.java", "test/src/test/java/jenkins/model/JenkinsTest.java"], "fixing_code_end_loc": [1098, 2493, 107], "fixing_code_start_loc": [1081, 2...
850
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This code is mix of WP and phpBB :)\n * */\nclass erLhcoreClassBBCode\n{ \n /**\n * Callback to convert URI match to HTML A element.\n *\n * This function was backported from 2.5.0 to 2.3.2. Regex callback for make_clickable().\n *\n * @since 2.3.2\n * @access private\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [625, 624], "buggy_code_start_loc": [620, 619], "filenames": ["lhc_web/lib/core/lhbbcode/lhbbcode.php", "lhc_web/lib/core/lhbbcode/lhbbcode_cleanup.php"], "fixing_code_end_loc": [625, 624], "fixing_code_start_loc": [620, 619], "message": "Live Helper Chat before 3.44v allows reflected XSS via the...
851
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This code is mix of WP and phpBB :)\n * */\nclass erLhcoreClassBBCode\n{ \n /**\n * Callback to convert URI match to HTML A element.\n *\n * This function was backported from 2.5.0 to 2.3.2. Regex callback for make_clickable().\n *\n * @since 2.3.2\n * @access private\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": [625, 624], "buggy_code_start_loc": [620, 619], "filenames": ["lhc_web/lib/core/lhbbcode/lhbbcode.php", "lhc_web/lib/core/lhbbcode/lhbbcode_cleanup.php"], "fixing_code_end_loc": [625, 624], "fixing_code_start_loc": [620, 619], "message": "Live Helper Chat before 3.44v allows reflected XSS via the...
851
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This code is mix of WP and phpBB :)\n * */\nclass erLhcoreClassBBCodePlain\n{\n /**\n * Callback to convert URI match to HTML A element.\n *\n * This function was backported from 2.5.0 to 2.3.2. Regex callback for make_clickable().\n *\n * @since 2.3.2\n * @access priv...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [625, 624], "buggy_code_start_loc": [620, 619], "filenames": ["lhc_web/lib/core/lhbbcode/lhbbcode.php", "lhc_web/lib/core/lhbbcode/lhbbcode_cleanup.php"], "fixing_code_end_loc": [625, 624], "fixing_code_start_loc": [620, 619], "message": "Live Helper Chat before 3.44v allows reflected XSS via the...
851
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This code is mix of WP and phpBB :)\n * */\nclass erLhcoreClassBBCodePlain\n{\n /**\n * Callback to convert URI match to HTML A element.\n *\n * This function was backported from 2.5.0 to 2.3.2. Regex callback for make_clickable().\n *\n * @since 2.3.2\n * @access priv...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [625, 624], "buggy_code_start_loc": [620, 619], "filenames": ["lhc_web/lib/core/lhbbcode/lhbbcode.php", "lhc_web/lib/core/lhbbcode/lhbbcode_cleanup.php"], "fixing_code_end_loc": [625, 624], "fixing_code_start_loc": [620, 619], "message": "Live Helper Chat before 3.44v allows reflected XSS via the...
851
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * 2Moons\n * Copyright (C) 2012 Jan Kröpke\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 option) any later ve...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 199, 56, 59], "buggy_code_start_loc": [44, 195, 50, 58], "filenames": ["includes/pages/game/class.ShowFleetStep1Page.php", "includes/pages/game/class.ShowFleetTablePage.php", "includes/pages/game/class.ShowGalaxyPage.php", "includes/pages/game/class.ShowInformationPage.php"], "fixing_code_en...
852
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * 2Moons\n * Copyright (C) 2012 Jan Kröpke\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 option) any later ve...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 199, 56, 59], "buggy_code_start_loc": [44, 195, 50, 58], "filenames": ["includes/pages/game/class.ShowFleetStep1Page.php", "includes/pages/game/class.ShowFleetTablePage.php", "includes/pages/game/class.ShowGalaxyPage.php", "includes/pages/game/class.ShowInformationPage.php"], "fixing_code_en...
852
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * 2Moons\n * Copyright (C) 2012 Jan Kröpke\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 option) any later ve...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 199, 56, 59], "buggy_code_start_loc": [44, 195, 50, 58], "filenames": ["includes/pages/game/class.ShowFleetStep1Page.php", "includes/pages/game/class.ShowFleetTablePage.php", "includes/pages/game/class.ShowGalaxyPage.php", "includes/pages/game/class.ShowInformationPage.php"], "fixing_code_en...
852
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * 2Moons\n * Copyright (C) 2012 Jan Kröpke\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 option) any later ve...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 199, 56, 59], "buggy_code_start_loc": [44, 195, 50, 58], "filenames": ["includes/pages/game/class.ShowFleetStep1Page.php", "includes/pages/game/class.ShowFleetTablePage.php", "includes/pages/game/class.ShowGalaxyPage.php", "includes/pages/game/class.ShowInformationPage.php"], "fixing_code_en...
852
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * 2Moons\n * Copyright (C) 2012 Jan Kröpke\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 option) any later ve...
[ 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 199, 56, 59], "buggy_code_start_loc": [44, 195, 50, 58], "filenames": ["includes/pages/game/class.ShowFleetStep1Page.php", "includes/pages/game/class.ShowFleetTablePage.php", "includes/pages/game/class.ShowGalaxyPage.php", "includes/pages/game/class.ShowInformationPage.php"], "fixing_code_en...
852
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * 2Moons\n * Copyright (C) 2012 Jan Kröpke\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 option) any later ve...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 199, 56, 59], "buggy_code_start_loc": [44, 195, 50, 58], "filenames": ["includes/pages/game/class.ShowFleetStep1Page.php", "includes/pages/game/class.ShowFleetTablePage.php", "includes/pages/game/class.ShowGalaxyPage.php", "includes/pages/game/class.ShowInformationPage.php"], "fixing_code_en...
852
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * 2Moons\n * Copyright (C) 2012 Jan Kröpke\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 option) any later ve...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 199, 56, 59], "buggy_code_start_loc": [44, 195, 50, 58], "filenames": ["includes/pages/game/class.ShowFleetStep1Page.php", "includes/pages/game/class.ShowFleetTablePage.php", "includes/pages/game/class.ShowGalaxyPage.php", "includes/pages/game/class.ShowInformationPage.php"], "fixing_code_en...
852
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * 2Moons\n * Copyright (C) 2012 Jan Kröpke\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 option) any later ve...
[ 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": [48, 199, 56, 59], "buggy_code_start_loc": [44, 195, 50, 58], "filenames": ["includes/pages/game/class.ShowFleetStep1Page.php", "includes/pages/game/class.ShowFleetTablePage.php", "includes/pages/game/class.ShowGalaxyPage.php", "includes/pages/game/class.ShowInformationPage.php"], "fixing_code_en...
852
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict'\nvar url = require('url')\nvar gitHosts = require('./git-host-info.js')\nvar GitHost = module.exports = require('./git-host.js')", "var protocolToRepresentationMap = {\n 'git+ssh:': 'sshurl',\n 'git+https:': 'https',\n 'ssh:': 'sshurl',\n 'git:': 'git'\n}", "function protocolToRepresentation (...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59], "buggy_code_start_loc": [44], "filenames": ["index.js"], "fixing_code_end_loc": [59], "fixing_code_start_loc": [44], "message": "The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl functi...
853
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict'\nvar url = require('url')\nvar gitHosts = require('./git-host-info.js')\nvar GitHost = module.exports = require('./git-host.js')", "var protocolToRepresentationMap = {\n 'git+ssh:': 'sshurl',\n 'git+https:': 'https',\n 'ssh:': 'sshurl',\n 'git:': 'git'\n}", "function protocolToRepresentation (...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59], "buggy_code_start_loc": [44], "filenames": ["index.js"], "fixing_code_end_loc": [59], "fixing_code_start_loc": [44], "message": "The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl functi...
853
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\tDefinitions for the TCP module.\n *\n * Version:\t@(#)tcp.h\t1.0.5\t05/23/93\n *\n * Authors...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1525], "buggy_code_start_loc": [1525], "filenames": ["include/net/tcp.h"], "fixing_code_end_loc": [1528], "fixing_code_start_loc": [1526], "message": "The tcp_check_send_head function in include/net/tcp.h in the Linux kernel before 4.7.5 does not properly maintain certain SACK state after a fail...
854
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\tDefinitions for the TCP module.\n *\n * Version:\t@(#)tcp.h\t1.0.5\t05/23/93\n *\n * Authors...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1525], "buggy_code_start_loc": [1525], "filenames": ["include/net/tcp.h"], "fixing_code_end_loc": [1528], "fixing_code_start_loc": [1526], "message": "The tcp_check_send_head function in include/net/tcp.h in the Linux kernel before 4.7.5 does not properly maintain certain SACK state after a fail...
854
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The copyright in this software is being made available under the 2-clauses\n * BSD License, included below. This software may be subject to other third\n * party and contributor rights, including patent rights, and no such rights\n * are granted under this license.\n *\n * Copyright (c) 2002-2014, Universit...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6580], "buggy_code_start_loc": [6576], "filenames": ["src/lib/openjp2/j2k.c"], "fixing_code_end_loc": [6586], "fixing_code_start_loc": [6576], "message": "A mishandled zero case was discovered in opj_j2k_set_cinema_parameters in lib/openjp2/j2k.c in OpenJPEG 2.2.0. The vulnerability causes an ou...
855
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The copyright in this software is being made available under the 2-clauses\n * BSD License, included below. This software may be subject to other third\n * party and contributor rights, including patent rights, and no such rights\n * are granted under this license.\n *\n * Copyright (c) 2002-2014, Universit...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6580], "buggy_code_start_loc": [6576], "filenames": ["src/lib/openjp2/j2k.c"], "fixing_code_end_loc": [6586], "fixing_code_start_loc": [6576], "message": "A mishandled zero case was discovered in opj_j2k_set_cinema_parameters in lib/openjp2/j2k.c in OpenJPEG 2.2.0. The vulnerability causes an ou...
855
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2012 Red Hat, Inc. All rights reserved.\n * Author: Alex Williamson <alex.williamson@redhat.com>\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 version 2 as\n * published by the Free Software Foundation...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [858, 260], "buggy_code_start_loc": [831, 259], "filenames": ["drivers/vfio/pci/vfio_pci.c", "drivers/vfio/pci/vfio_pci_intrs.c"], "fixing_code_end_loc": [867, 260], "fixing_code_start_loc": [832, 259], "message": "drivers/vfio/pci/vfio_pci_intrs.c in the Linux kernel through 4.8.11 misuses the k...
856
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2012 Red Hat, Inc. All rights reserved.\n * Author: Alex Williamson <alex.williamson@redhat.com>\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 version 2 as\n * published by the Free Software Foundation...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [858, 260], "buggy_code_start_loc": [831, 259], "filenames": ["drivers/vfio/pci/vfio_pci.c", "drivers/vfio/pci/vfio_pci_intrs.c"], "fixing_code_end_loc": [867, 260], "fixing_code_start_loc": [832, 259], "message": "drivers/vfio/pci/vfio_pci_intrs.c in the Linux kernel through 4.8.11 misuses the k...
856
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * VFIO PCI interrupt handling\n *\n * Copyright (C) 2012 Red Hat, Inc. All rights reserved.\n * Author: Alex Williamson <alex.williamson@redhat.com>\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 version 2 as\n * publi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [858, 260], "buggy_code_start_loc": [831, 259], "filenames": ["drivers/vfio/pci/vfio_pci.c", "drivers/vfio/pci/vfio_pci_intrs.c"], "fixing_code_end_loc": [867, 260], "fixing_code_start_loc": [832, 259], "message": "drivers/vfio/pci/vfio_pci_intrs.c in the Linux kernel through 4.8.11 misuses the k...
856
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * VFIO PCI interrupt handling\n *\n * Copyright (C) 2012 Red Hat, Inc. All rights reserved.\n * Author: Alex Williamson <alex.williamson@redhat.com>\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 version 2 as\n * publi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [858, 260], "buggy_code_start_loc": [831, 259], "filenames": ["drivers/vfio/pci/vfio_pci.c", "drivers/vfio/pci/vfio_pci_intrs.c"], "fixing_code_end_loc": [867, 260], "fixing_code_start_loc": [832, 259], "message": "drivers/vfio/pci/vfio_pci_intrs.c in the Linux kernel through 4.8.11 misuses the k...
856
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [90], "buggy_code_start_loc": [89], "filenames": ["xwiki-platform-core/xwiki-platform-crypto/xwiki-platform-crypto-script/src/main/java/org/xwiki/crypto/script/RSACryptoScriptService.java"], "fixing_code_end_loc": [90], "fixing_code_start_loc": [89], "message": "XWiki Platform is a generic wiki p...
857
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [90], "buggy_code_start_loc": [89], "filenames": ["xwiki-platform-core/xwiki-platform-crypto/xwiki-platform-crypto-script/src/main/java/org/xwiki/crypto/script/RSACryptoScriptService.java"], "fixing_code_end_loc": [90], "fixing_code_start_loc": [89], "message": "XWiki Platform is a generic wiki p...
857
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# Owner(s): [\"oncall: jit\"]", "import torch", "# This is how we include tests located in test/jit/...\n# They are included here so that they are invoked when you call `test_jit.py`,\n# do not run these test files directly.\nfrom jit.test_tracer import TestTracer, TestMixTracingScript...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3953, 320, 166], "buggy_code_start_loc": [3953, 319, 1], "filenames": ["test/test_jit.py", "torch/csrc/jit/frontend/script_type_parser.cpp", "torch/jit/annotations.py"], "fixing_code_end_loc": [3962, 320, 176], "fixing_code_start_loc": [3954, 319, 2], "message": "In PyTorch before trunk/89695, t...
858
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# Owner(s): [\"oncall: jit\"]", "import torch", "# This is how we include tests located in test/jit/...\n# They are included here so that they are invoked when you call `test_jit.py`,\n# do not run these test files directly.\nfrom jit.test_tracer import TestTracer, TestMixTracingScript...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3953, 320, 166], "buggy_code_start_loc": [3953, 319, 1], "filenames": ["test/test_jit.py", "torch/csrc/jit/frontend/script_type_parser.cpp", "torch/jit/annotations.py"], "fixing_code_end_loc": [3962, 320, 176], "fixing_code_start_loc": [3954, 319, 2], "message": "In PyTorch before trunk/89695, t...
858
Determine whether the {function_name} code is vulnerable or not.
[ "#include <torch/csrc/jit/frontend/script_type_parser.h>", "#include <ATen/core/type_factory.h>\n#include <torch/csrc/jit/frontend/parser.h>\n#include <torch/csrc/jit/ir/ir.h>\n#include <torch/custom_class.h>", "namespace torch {\nnamespace jit {\nnamespace {", "bool isTorch(const Expr& expr) {\n return expr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3953, 320, 166], "buggy_code_start_loc": [3953, 319, 1], "filenames": ["test/test_jit.py", "torch/csrc/jit/frontend/script_type_parser.cpp", "torch/jit/annotations.py"], "fixing_code_end_loc": [3962, 320, 176], "fixing_code_start_loc": [3954, 319, 2], "message": "In PyTorch before trunk/89695, t...
858
Determine whether the {function_name} code is vulnerable or not.
[ "#include <torch/csrc/jit/frontend/script_type_parser.h>", "#include <ATen/core/type_factory.h>\n#include <torch/csrc/jit/frontend/parser.h>\n#include <torch/csrc/jit/ir/ir.h>\n#include <torch/custom_class.h>", "namespace torch {\nnamespace jit {\nnamespace {", "bool isTorch(const Expr& expr) {\n return expr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3953, 320, 166], "buggy_code_start_loc": [3953, 319, 1], "filenames": ["test/test_jit.py", "torch/csrc/jit/frontend/script_type_parser.cpp", "torch/jit/annotations.py"], "fixing_code_end_loc": [3962, 320, 176], "fixing_code_start_loc": [3954, 319, 2], "message": "In PyTorch before trunk/89695, t...
858
Determine whether the {function_name} code is vulnerable or not.
[ "import ast", "", "import enum\nimport inspect\nimport re\nimport builtins\nimport torch\nimport warnings\nfrom .._jit_internal import List, Tuple, is_tuple, is_list, Dict, is_dict, Optional, \\\n is_optional, _qualified_name, Any, Future, is_future, is_ignored_fn, Union, is_union\nfrom .._jit_internal impor...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3953, 320, 166], "buggy_code_start_loc": [3953, 319, 1], "filenames": ["test/test_jit.py", "torch/csrc/jit/frontend/script_type_parser.cpp", "torch/jit/annotations.py"], "fixing_code_end_loc": [3962, 320, 176], "fixing_code_start_loc": [3954, 319, 2], "message": "In PyTorch before trunk/89695, t...
858
Determine whether the {function_name} code is vulnerable or not.
[ "import ast", "import dis", "import enum\nimport inspect\nimport re\nimport builtins\nimport torch\nimport warnings\nfrom .._jit_internal import List, Tuple, is_tuple, is_list, Dict, is_dict, Optional, \\\n is_optional, _qualified_name, Any, Future, is_future, is_ignored_fn, Union, is_union\nfrom .._jit_inte...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3953, 320, 166], "buggy_code_start_loc": [3953, 319, 1], "filenames": ["test/test_jit.py", "torch/csrc/jit/frontend/script_type_parser.cpp", "torch/jit/annotations.py"], "fixing_code_end_loc": [3962, 320, 176], "fixing_code_start_loc": [3954, 319, 2], "message": "In PyTorch before trunk/89695, t...
858
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef _LINUX_MM_H\n#define _LINUX_MM_H", "#include <linux/errno.h>", "#ifdef __KERNEL__", "#include <linux/gfp.h>\n#include <linux/bug.h>\n#include <linux/list.h>\n#include <linux/mmzone.h>\n#include <linux/rbtree.h>\n#include <linux/atomic.h>\n#include <linux/debug_locks.h>\n#include <linux/mm_types.h>\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": [1613, 2395], "buggy_code_start_loc": [1613, 2395], "filenames": ["include/linux/mm.h", "mm/memory.c"], "fixing_code_end_loc": [1616, 2443], "fixing_code_start_loc": [1614, 2396], "message": "Integer overflow in the fb_mmap function in drivers/video/fbmem.c in the Linux kernel before 3.8.9, as us...
859
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef _LINUX_MM_H\n#define _LINUX_MM_H", "#include <linux/errno.h>", "#ifdef __KERNEL__", "#include <linux/gfp.h>\n#include <linux/bug.h>\n#include <linux/list.h>\n#include <linux/mmzone.h>\n#include <linux/rbtree.h>\n#include <linux/atomic.h>\n#include <linux/debug_locks.h>\n#include <linux/mm_types.h>\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": [1613, 2395], "buggy_code_start_loc": [1613, 2395], "filenames": ["include/linux/mm.h", "mm/memory.c"], "fixing_code_end_loc": [1616, 2443], "fixing_code_start_loc": [1614, 2396], "message": "Integer overflow in the fb_mmap function in drivers/video/fbmem.c in the Linux kernel before 3.8.9, as us...
859
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/mm/memory.c\n *\n * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds\n */", "/*\n * demand-loading started 01.12.91 - seems it is high on the list of\n * things wanted, and it should be easy to implement. - Linus\n */", "/*\n * Ok, demand-loading was easy, shared pages a little bit tricker. ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1613, 2395], "buggy_code_start_loc": [1613, 2395], "filenames": ["include/linux/mm.h", "mm/memory.c"], "fixing_code_end_loc": [1616, 2443], "fixing_code_start_loc": [1614, 2396], "message": "Integer overflow in the fb_mmap function in drivers/video/fbmem.c in the Linux kernel before 3.8.9, as us...
859
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/mm/memory.c\n *\n * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds\n */", "/*\n * demand-loading started 01.12.91 - seems it is high on the list of\n * things wanted, and it should be easy to implement. - Linus\n */", "/*\n * Ok, demand-loading was easy, shared pages a little bit tricker. ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1613, 2395], "buggy_code_start_loc": [1613, 2395], "filenames": ["include/linux/mm.h", "mm/memory.c"], "fixing_code_end_loc": [1616, 2443], "fixing_code_start_loc": [1614, 2396], "message": "Integer overflow in the fb_mmap function in drivers/video/fbmem.c in the Linux kernel before 3.8.9, as us...
859
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.\n * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.\n * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.\n *\n * Redistribution and use in source and binary f...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1425, 7465], "buggy_code_start_loc": [37, 37], "filenames": ["usrsctplib/netinet/sctp_auth.c", "usrsctplib/netinet/sctp_pcb.c"], "fixing_code_end_loc": [1426, 7469], "fixing_code_start_loc": [37, 37], "message": "usrsctp before 2019-12-20 has out-of-bounds reads in sctp_load_addresses_from_init....
860
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.\n * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.\n * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.\n *\n * Redistribution and use in source and binary 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": [1425, 7465], "buggy_code_start_loc": [37, 37], "filenames": ["usrsctplib/netinet/sctp_auth.c", "usrsctplib/netinet/sctp_pcb.c"], "fixing_code_end_loc": [1426, 7469], "fixing_code_start_loc": [37, 37], "message": "usrsctp before 2019-12-20 has out-of-bounds reads in sctp_load_addresses_from_init....
860
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.\n * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.\n * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.\n *\n * Redistribution and use in source and binary f...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1425, 7465], "buggy_code_start_loc": [37, 37], "filenames": ["usrsctplib/netinet/sctp_auth.c", "usrsctplib/netinet/sctp_pcb.c"], "fixing_code_end_loc": [1426, 7469], "fixing_code_start_loc": [37, 37], "message": "usrsctp before 2019-12-20 has out-of-bounds reads in sctp_load_addresses_from_init....
860
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.\n * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.\n * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.\n *\n * Redistribution and use in source and binary 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": [1425, 7465], "buggy_code_start_loc": [37, 37], "filenames": ["usrsctplib/netinet/sctp_auth.c", "usrsctplib/netinet/sctp_pcb.c"], "fixing_code_end_loc": [1426, 7469], "fixing_code_start_loc": [37, 37], "message": "usrsctp before 2019-12-20 has out-of-bounds reads in sctp_load_addresses_from_init....
860
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Domain related views.\"\"\"", "from functools import reduce", "from reversion import revisions as reversion", "from django.contrib.auth import mixins as auth_mixins\nfrom django.contrib.auth.decorators import (\n login_required, permission_required, user_passes_test\n)\nfrom django.db.models import ...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [232], "buggy_code_start_loc": [18], "filenames": ["modoboa/admin/views/domain.py"], "fixing_code_end_loc": [235], "fixing_code_start_loc": [19], "message": "Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.0.4.", "other": {"cve": {"cisaActionDue": null, "cisaExpl...
861
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Domain related views.\"\"\"", "from functools import reduce", "from reversion import revisions as reversion", "from django.contrib.auth import mixins as auth_mixins\nfrom django.contrib.auth.decorators import (\n login_required, permission_required, user_passes_test\n)\nfrom django.db.models import ...
[ 1, 1, 1, 1, 1, 1, 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": [232], "buggy_code_start_loc": [18], "filenames": ["modoboa/admin/views/domain.py"], "fixing_code_end_loc": [235], "fixing_code_start_loc": [19], "message": "Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.0.4.", "other": {"cve": {"cisaActionDue": null, "cisaExpl...
861
Determine whether the {function_name} code is vulnerable or not.
[ "![Rdiffweb Banner](https://gitlab.com/ikus-soft/rdiffweb/-/raw/master/doc/_static/banner.png)", "<p align=\"center\">\n<strong>\n<a href=\"https://www.rdiffweb.org\">website</a>\n• <a href=\"https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/\">docs</a>\n• <a href=\"https://groups.google.com/d/forum/rdif...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [117, 54, 113], "buggy_code_start_loc": [110, 53, 113], "filenames": ["README.md", "rdiffweb/controller/pref_sshkeys.py", "rdiffweb/controller/tests/test_page_prefs_ssh.py"], "fixing_code_end_loc": [119, 60, 131], "fixing_code_start_loc": [110, 53, 114], "message": "Allocation of Resources Withou...
862
Determine whether the {function_name} code is vulnerable or not.
[ "![Rdiffweb Banner](https://gitlab.com/ikus-soft/rdiffweb/-/raw/master/doc/_static/banner.png)", "<p align=\"center\">\n<strong>\n<a href=\"https://www.rdiffweb.org\">website</a>\n• <a href=\"https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/\">docs</a>\n• <a href=\"https://groups.google.com/d/forum/rdif...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [117, 54, 113], "buggy_code_start_loc": [110, 53, 113], "filenames": ["README.md", "rdiffweb/controller/pref_sshkeys.py", "rdiffweb/controller/tests/test_page_prefs_ssh.py"], "fixing_code_end_loc": [119, 60, 131], "fixing_code_start_loc": [110, 53, 114], "message": "Allocation of Resources Withou...
862