id
stringlengths
25
30
content
stringlengths
14
942k
max_stars_repo_path
stringlengths
49
55
crossvul-cpp_data_bad_4258_1
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #define DEBUG_TYPE "vm" #include "JSLib/JSLibInternal.h" #include "hermes/VM/Casting.h" #include "hermes/VM/Interpreter.h" #include...
./CrossVul/dataset_final_sorted/CWE-670/cpp/bad_4258_1
crossvul-cpp_data_good_4258_1
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #define DEBUG_TYPE "vm" #include "JSLib/JSLibInternal.h" #include "hermes/VM/Casting.h" #include "hermes/VM/Interpreter.h" #include...
./CrossVul/dataset_final_sorted/CWE-670/cpp/good_4258_1
crossvul-cpp_data_bad_4258_2
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #define DEBUG_TYPE "vm" #include "hermes/VM/Interpreter.h" #include "hermes/VM/Runtime.h" #include "hermes/Inst/InstDecode.h" #inc...
./CrossVul/dataset_final_sorted/CWE-670/cpp/bad_4258_2
crossvul-cpp_data_good_4258_2
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #define DEBUG_TYPE "vm" #include "hermes/VM/Interpreter.h" #include "hermes/VM/Runtime.h" #include "hermes/Inst/InstDecode.h" #inc...
./CrossVul/dataset_final_sorted/CWE-670/cpp/good_4258_2
crossvul-cpp_data_bad_1286_1
/** * Copyright 2017 Comcast Cable Communications Management, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
./CrossVul/dataset_final_sorted/CWE-670/c/bad_1286_1
crossvul-cpp_data_good_1286_1
/** * Copyright 2017 Comcast Cable Communications Management, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
./CrossVul/dataset_final_sorted/CWE-670/c/good_1286_1
crossvul-cpp_data_good_1052_1
/* $OpenBSD: doas.c,v 1.57 2016/06/19 19:29:43 martijn Exp $ */ /* * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice app...
./CrossVul/dataset_final_sorted/CWE-1187/c/good_1052_1
crossvul-cpp_data_bad_1052_1
/* $OpenBSD: doas.c,v 1.57 2016/06/19 19:29:43 martijn Exp $ */ /* * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice app...
./CrossVul/dataset_final_sorted/CWE-1187/c/bad_1052_1
crossvul-cpp_data_good_3128_0
/* * tasks.cpp - basic tasks * Copyright (C) 2001, 2002 Justin Karneges * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) ...
./CrossVul/dataset_final_sorted/CWE-346/cpp/good_3128_0
crossvul-cpp_data_bad_3128_0
/* * tasks.cpp - basic tasks * Copyright (C) 2001, 2002 Justin Karneges * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) ...
./CrossVul/dataset_final_sorted/CWE-346/cpp/bad_3128_0
crossvul-cpp_data_bad_3127_0
/* * message.c * * Copyright (C) 2012 - 2016 James Booth <boothj5@gmail.com> * * This file is part of Profanity. * * Profanity is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the L...
./CrossVul/dataset_final_sorted/CWE-346/c/bad_3127_0
crossvul-cpp_data_good_3127_0
/* * message.c * * Copyright (C) 2012 - 2016 James Booth <boothj5@gmail.com> * * This file is part of Profanity. * * Profanity is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the L...
./CrossVul/dataset_final_sorted/CWE-346/c/good_3127_0
crossvul-cpp_data_bad_3234_1
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This fi...
./CrossVul/dataset_final_sorted/CWE-269/cpp/bad_3234_1
crossvul-cpp_data_good_3234_3
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This fi...
./CrossVul/dataset_final_sorted/CWE-269/cpp/good_3234_3
crossvul-cpp_data_bad_3234_3
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This fi...
./CrossVul/dataset_final_sorted/CWE-269/cpp/bad_3234_3
crossvul-cpp_data_good_3234_0
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This fi...
./CrossVul/dataset_final_sorted/CWE-269/cpp/good_3234_0
crossvul-cpp_data_bad_3234_0
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This fi...
./CrossVul/dataset_final_sorted/CWE-269/cpp/bad_3234_0
crossvul-cpp_data_good_3234_2
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This fi...
./CrossVul/dataset_final_sorted/CWE-269/cpp/good_3234_2
crossvul-cpp_data_good_3234_1
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This fi...
./CrossVul/dataset_final_sorted/CWE-269/cpp/good_3234_1
crossvul-cpp_data_bad_3234_2
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This fi...
./CrossVul/dataset_final_sorted/CWE-269/cpp/bad_3234_2
crossvul-cpp_data_good_1350_0
#include "CMOS.h" #include "Process.h" #include "StdLib.h" #include <AK/Assertions.h> #include <AK/kstdio.h> #include <Kernel/Arch/i386/CPU.h> #include <Kernel/FileSystem/Inode.h> #include <Kernel/Multiboot.h> #include <Kernel/VM/AnonymousVMObject.h> #include <Kernel/VM/InodeVMObject.h> #include <Kernel/VM/MemoryManage...
./CrossVul/dataset_final_sorted/CWE-269/cpp/good_1350_0
crossvul-cpp_data_good_3234_4
/* =========================================================================== Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This file is part of the OpenJK source code. OpenJK is free software; you can redistribute it and/or modify it under the terms of the GNU Gener...
./CrossVul/dataset_final_sorted/CWE-269/cpp/good_3234_4
crossvul-cpp_data_bad_3234_4
/* =========================================================================== Copyright (C) 2005 - 2015, ioquake3 contributors Copyright (C) 2013 - 2015, OpenJK contributors This file is part of the OpenJK source code. OpenJK is free software; you can redistribute it and/or modify it under the terms of the GNU Gener...
./CrossVul/dataset_final_sorted/CWE-269/cpp/bad_3234_4
crossvul-cpp_data_bad_1350_0
#include "CMOS.h" #include "Process.h" #include "StdLib.h" #include <AK/Assertions.h> #include <AK/kstdio.h> #include <Kernel/Arch/i386/CPU.h> #include <Kernel/FileSystem/Inode.h> #include <Kernel/Multiboot.h> #include <Kernel/VM/AnonymousVMObject.h> #include <Kernel/VM/InodeVMObject.h> #include <Kernel/VM/MemoryManage...
./CrossVul/dataset_final_sorted/CWE-269/cpp/bad_1350_0
crossvul-cpp_data_bad_3233_2
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3233_2
crossvul-cpp_data_bad_4004_0
/* * Marvell Wireless LAN device driver: scan ioctl and command handling * * Copyright (C) 2011-2014, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may us...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_4004_0
crossvul-cpp_data_good_3086_1
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3086_1
crossvul-cpp_data_bad_3228_1
404: Not Found
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3228_1
crossvul-cpp_data_bad_221_0
/* * (C) 1997 Linus Torvalds * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) */ #include <linux/export.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/backing-dev.h> #include <linux/hash.h> #include <linux/swap.h> #include <linux/security.h> #include <linux/cdev.h> #include <li...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_221_0
crossvul-cpp_data_bad_3150_0
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3150_0
crossvul-cpp_data_good_4227_0
#include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-features.h> #include <net-snmp/net-snmp-includes.h> #include <net-snmp/agent/net-snmp-agent-includes.h> #include <net-snmp/agent/watcher.h> #include <net-snmp/agent/agent_callbacks.h> #include "agent/extend.h" #include "utilities/execute.h" #include "s...
./CrossVul/dataset_final_sorted/CWE-269/c/good_4227_0
crossvul-cpp_data_bad_3229_1
404: Not Found
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3229_1
crossvul-cpp_data_good_3228_2
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3228_2
crossvul-cpp_data_good_3229_1
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3229_1
crossvul-cpp_data_bad_3231_2
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3231_2
crossvul-cpp_data_good_5626_0
/* * Virtio Support * * Copyright IBM, Corp. 2007 * * Authors: * Anthony Liguori <aliguori@us.ibm.com> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. * */ #include <inttypes.h> #include "trace.h" #include "qemu/error-report.h" #in...
./CrossVul/dataset_final_sorted/CWE-269/c/good_5626_0
crossvul-cpp_data_good_3152_2
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3152_2
crossvul-cpp_data_bad_3228_2
404: Not Found
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3228_2
crossvul-cpp_data_good_3231_1
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3231_1
crossvul-cpp_data_bad_3151_2
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3151_2
crossvul-cpp_data_good_3150_0
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3150_0
crossvul-cpp_data_good_3233_3
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3233_3
crossvul-cpp_data_bad_3233_1
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3233_1
crossvul-cpp_data_good_3232_1
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. Copyright (C) 2005 Stuart Dalton (badcdev@gmail.com) This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under t...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3232_1
crossvul-cpp_data_bad_3233_3
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3233_3
crossvul-cpp_data_good_3228_0
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3228_0
crossvul-cpp_data_good_3233_4
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3233_4
crossvul-cpp_data_bad_5626_0
/* * Virtio Support * * Copyright IBM, Corp. 2007 * * Authors: * Anthony Liguori <aliguori@us.ibm.com> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. * */ #include <inttypes.h> #include "trace.h" #include "qemu/error-report.h" #in...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_5626_0
crossvul-cpp_data_bad_3230_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3230_0
crossvul-cpp_data_bad_3233_4
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3233_4
crossvul-cpp_data_good_3151_2
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3151_2
crossvul-cpp_data_good_3229_0
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3229_0
crossvul-cpp_data_good_3230_0
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. Copyright (C) 2005 Stuart Dalton (badcdev@gmail.com) This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under t...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3230_0
crossvul-cpp_data_good_221_0
/* * (C) 1997 Linus Torvalds * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) */ #include <linux/export.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/backing-dev.h> #include <linux/hash.h> #include <linux/swap.h> #include <linux/security.h> #include <linux/cdev.h> #include <li...
./CrossVul/dataset_final_sorted/CWE-269/c/good_221_0
crossvul-cpp_data_bad_3231_0
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3231_0
crossvul-cpp_data_good_3151_1
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3151_1
crossvul-cpp_data_good_3231_3
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3231_3
crossvul-cpp_data_bad_3233_5
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3233_5
crossvul-cpp_data_bad_3232_1
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. Copyright (C) 2005 Stuart Dalton (badcdev@gmail.com) This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under t...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3232_1
crossvul-cpp_data_good_3232_0
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. Copyright (C) 2005 Stuart Dalton (badcdev@gmail.com) This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under t...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3232_0
crossvul-cpp_data_bad_3231_1
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3231_1
crossvul-cpp_data_bad_3086_1
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3086_1
crossvul-cpp_data_good_3152_1
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3152_1
crossvul-cpp_data_good_3228_1
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3228_1
crossvul-cpp_data_bad_3231_3
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3231_3
crossvul-cpp_data_bad_3151_1
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3151_1
crossvul-cpp_data_bad_3152_1
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3152_1
crossvul-cpp_data_good_3233_1
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3233_1
crossvul-cpp_data_bad_3229_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3229_0
crossvul-cpp_data_bad_2473_0
/* bubblewrap * Copyright (C) 2016 Alexander Larsson * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * ...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_2473_0
crossvul-cpp_data_bad_3228_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3228_0
crossvul-cpp_data_good_3233_0
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3233_0
crossvul-cpp_data_bad_4227_0
#include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-features.h> #include <net-snmp/net-snmp-includes.h> #include <net-snmp/agent/net-snmp-agent-includes.h> #include <net-snmp/agent/watcher.h> #include <net-snmp/agent/agent_callbacks.h> #include "agent/extend.h" #include "utilities/execute.h" #include "s...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_4227_0
crossvul-cpp_data_good_3233_5
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3233_5
crossvul-cpp_data_bad_3232_0
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. Copyright (C) 2005 Stuart Dalton (badcdev@gmail.com) This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under t...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3232_0
crossvul-cpp_data_bad_3152_2
/* * Copyright (C) 2014-2016 Firejail Authors * * This file is part of firejail project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3152_2
crossvul-cpp_data_good_2887_0
/* $OpenBSD: sftp-server.c,v 1.111 2017/04/04 00:24:56 djm Exp $ */ /* * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permis...
./CrossVul/dataset_final_sorted/CWE-269/c/good_2887_0
crossvul-cpp_data_bad_3233_0
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_3233_0
crossvul-cpp_data_good_3231_2
/* =========================================================================== Return to Castle Wolfenstein single player GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein single player GPL Source Code (“RTCW SP Source Code”). R...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3231_2
crossvul-cpp_data_good_3233_2
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3233_2
crossvul-cpp_data_good_2473_0
/* bubblewrap * Copyright (C) 2016 Alexander Larsson * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * ...
./CrossVul/dataset_final_sorted/CWE-269/c/good_2473_0
crossvul-cpp_data_good_4004_0
/* * Marvell Wireless LAN device driver: scan ioctl and command handling * * Copyright (C) 2011-2014, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may us...
./CrossVul/dataset_final_sorted/CWE-269/c/good_4004_0
crossvul-cpp_data_good_3231_0
/* =========================================================================== Return to Castle Wolfenstein multiplayer GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Return to Castle Wolfenstein multiplayer GPL Source Code (“RTCW MP Source Code”). RTCW ...
./CrossVul/dataset_final_sorted/CWE-269/c/good_3231_0
crossvul-cpp_data_bad_2887_0
/* $OpenBSD: sftp-server.c,v 1.110 2016/09/12 01:22:38 deraadt Exp $ */ /* * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this pe...
./CrossVul/dataset_final_sorted/CWE-269/c/bad_2887_0
crossvul-cpp_data_bad_764_0
#include "stdafx.h" #include "Helper.h" #include "Logger.h" #ifdef WIN32 #include "dirent_windows.h" #include <direct.h> #else #include <dirent.h> #include <unistd.h> #endif #if !defined(WIN32) #include <sys/ptrace.h> #endif #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <fstream> #include <ma...
./CrossVul/dataset_final_sorted/CWE-93/cpp/bad_764_0
crossvul-cpp_data_good_764_0
#include "stdafx.h" #include "Helper.h" #include "Logger.h" #ifdef WIN32 #include "dirent_windows.h" #include <direct.h> #else #include <dirent.h> #include <unistd.h> #endif #if !defined(WIN32) #include <sys/ptrace.h> #endif #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <fstream> #include <ma...
./CrossVul/dataset_final_sorted/CWE-93/cpp/good_764_0
crossvul-cpp_data_good_2484_0
/* * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version...
./CrossVul/dataset_final_sorted/CWE-19/c/good_2484_0
crossvul-cpp_data_bad_5319_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-19/c/bad_5319_0
crossvul-cpp_data_bad_1453_0
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it would be ...
./CrossVul/dataset_final_sorted/CWE-19/c/bad_1453_0
crossvul-cpp_data_bad_1842_1
/* * linux/fs/ext4/super.c * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * from * * linux/fs/minix/inode.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Big-endian to little-endian...
./CrossVul/dataset_final_sorted/CWE-19/c/bad_1842_1
crossvul-cpp_data_bad_1453_1
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * Copyright (c) 2013 Red Hat, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * * This program is distr...
./CrossVul/dataset_final_sorted/CWE-19/c/bad_1453_1
crossvul-cpp_data_good_1453_1
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * Copyright (c) 2013 Red Hat, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * * This program is distr...
./CrossVul/dataset_final_sorted/CWE-19/c/good_1453_1
crossvul-cpp_data_bad_1842_2
/* * linux/fs/ext4/xattr.c * * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de> * * Fix by Harrison Xing <harrison@mountainviewdata.com>. * Ext4 code with a lot of help from Eric Jarman <ejarman@acm.org>. * Extended attributes for symlinks and special files added per * suggestion of Luka Renko <lu...
./CrossVul/dataset_final_sorted/CWE-19/c/bad_1842_2
crossvul-cpp_data_bad_2422_1
/* * Based on arch/arm/mm/fault.c * * Copyright (C) 1995 Linus Torvalds * Copyright (C) 1995-2004 Russell King * Copyright (C) 2012 ARM Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Soft...
./CrossVul/dataset_final_sorted/CWE-19/c/bad_2422_1
crossvul-cpp_data_good_1844_1
#include <linux/spinlock.h> #include <linux/slab.h> #include <linux/list.h> #include <linux/list_bl.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/mbcache2.h> /* * Mbcache is a simple key-value store. Keys need not be unique, however * key-value pairs are expected to be unique (we use this fac...
./CrossVul/dataset_final_sorted/CWE-19/c/good_1844_1
crossvul-cpp_data_good_1842_1
/* * linux/fs/ext4/super.c * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * from * * linux/fs/minix/inode.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Big-endian to little-endian...
./CrossVul/dataset_final_sorted/CWE-19/c/good_1842_1
crossvul-cpp_data_good_4935_0
/* * Copyright (C) 2005-2010 IBM Corporation * * Author: * Mimi Zohar <zohar@us.ibm.com> * Kylene Hall <kjhall@us.ibm.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 2 of...
./CrossVul/dataset_final_sorted/CWE-19/c/good_4935_0
crossvul-cpp_data_bad_1453_3
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * Copyright (c) 2013 Red Hat, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * * This program is distr...
./CrossVul/dataset_final_sorted/CWE-19/c/bad_1453_3
crossvul-cpp_data_bad_1453_2
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * Copyright (c) 2013 Red Hat, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * * This program is distr...
./CrossVul/dataset_final_sorted/CWE-19/c/bad_1453_2
crossvul-cpp_data_good_1843_1
/* * linux/fs/ext2/super.c * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * from * * linux/fs/minix/inode.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Big-endian to little-endian...
./CrossVul/dataset_final_sorted/CWE-19/c/good_1843_1