id
stringlengths
25
30
content
stringlengths
14
942k
max_stars_repo_path
stringlengths
49
55
crossvul-cpp_data_bad_3117_0
/* * KLSI KL5KUSB105 chip RS232 converter driver * * Copyright (C) 2010 Johan Hovold <jhovold@gmail.com> * Copyright (C) 2001 Utz-Uwe Haus <haus@uuhaus.de> * * 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 * ...
./CrossVul/dataset_final_sorted/CWE-532/c/bad_3117_0
crossvul-cpp_data_good_4043_0
/* support.c - support functions for pam_tacplus.c * * Copyright (C) 2010, Pawel Krawczyk <pawel.krawczyk@hush.com> and * Jeroen Nijhof <jeroen@jeroennijhof.nl> * * 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 F...
./CrossVul/dataset_final_sorted/CWE-532/c/good_4043_0
crossvul-cpp_data_good_3117_0
/* * KLSI KL5KUSB105 chip RS232 converter driver * * Copyright (C) 2010 Johan Hovold <jhovold@gmail.com> * Copyright (C) 2001 Utz-Uwe Haus <haus@uuhaus.de> * * 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 * ...
./CrossVul/dataset_final_sorted/CWE-532/c/good_3117_0
crossvul-cpp_data_bad_4043_0
/* support.c - support functions for pam_tacplus.c * * Copyright (C) 2010, Pawel Krawczyk <pawel.krawczyk@hush.com> and * Jeroen Nijhof <jeroen@jeroennijhof.nl> * * 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 F...
./CrossVul/dataset_final_sorted/CWE-532/c/bad_4043_0
crossvul-cpp_data_good_2780_0
/* * NSV demuxer * Copyright (c) 2004 The FFmpeg Project * * first version by Francois Revol <revol@free.fr> * * This file is part of FFmpeg. * * FFmpeg 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 Fou...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2780_0
crossvul-cpp_data_bad_2761_0
/* * "Real" compatible demuxer. * Copyright (c) 2000, 2001 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg 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 th...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2761_0
crossvul-cpp_data_bad_2780_0
/* * NSV demuxer * Copyright (c) 2004 The FFmpeg Project * * first version by Francois Revol <revol@free.fr> * * This file is part of FFmpeg. * * FFmpeg 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 Fou...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2780_0
crossvul-cpp_data_good_2784_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2784_0
crossvul-cpp_data_bad_2785_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2785_0
crossvul-cpp_data_good_2764_0
/* * ASF compatible demuxer * Copyright (c) 2000, 2001 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg 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 Li...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2764_0
crossvul-cpp_data_bad_2783_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2783_0
crossvul-cpp_data_bad_2766_0
/* * Phantom Cine demuxer * Copyright (c) 2010-2011 Peter Ross <pross@xvid.org> * * This file is part of FFmpeg. * * FFmpeg 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 ...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2766_0
crossvul-cpp_data_good_2761_0
/* * "Real" compatible demuxer. * Copyright (c) 2000, 2001 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg 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 th...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2761_0
crossvul-cpp_data_good_2783_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2783_0
crossvul-cpp_data_bad_2784_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2784_0
crossvul-cpp_data_bad_2763_0
/* * RL2 Format Demuxer * Copyright (c) 2008 Sascha Sommer (saschasommer@freenet.de) * * This file is part of FFmpeg. * * FFmpeg 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...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2763_0
crossvul-cpp_data_good_2763_0
/* * RL2 Format Demuxer * Copyright (c) 2008 Sascha Sommer (saschasommer@freenet.de) * * This file is part of FFmpeg. * * FFmpeg 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...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2763_0
crossvul-cpp_data_bad_2762_0
/* * Silicon Graphics Movie demuxer * Copyright (c) 2012 Peter Ross * * This file is part of FFmpeg. * * FFmpeg 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 Licen...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2762_0
crossvul-cpp_data_good_2785_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2785_0
crossvul-cpp_data_bad_2781_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2781_0
crossvul-cpp_data_bad_2786_0
/* * MOV demuxer * Copyright (c) 2001 Fabrice Bellard * Copyright (c) 2009 Baptiste Coudurier <baptiste dot coudurier at gmail dot com> * * first version by Francois Revol <revol@free.fr> * seek function by Gael Chardon <gael.dev@4now.net> * * This file is part of FFmpeg. * * FFmpeg is free software; you can ...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2786_0
crossvul-cpp_data_bad_2779_0
/* * MXF demuxer. * Copyright (c) 2006 SmartJog S.A., Baptiste Coudurier <baptiste dot coudurier at smartjog dot com> * * This file is part of FFmpeg. * * FFmpeg 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 Softw...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2779_0
crossvul-cpp_data_good_2786_0
/* * MOV demuxer * Copyright (c) 2001 Fabrice Bellard * Copyright (c) 2009 Baptiste Coudurier <baptiste dot coudurier at gmail dot com> * * first version by Francois Revol <revol@free.fr> * seek function by Gael Chardon <gael.dev@4now.net> * * This file is part of FFmpeg. * * FFmpeg is free software; you can ...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2786_0
crossvul-cpp_data_good_2762_0
/* * Silicon Graphics Movie demuxer * Copyright (c) 2012 Peter Ross * * This file is part of FFmpeg. * * FFmpeg 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 Licen...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2762_0
crossvul-cpp_data_good_2779_0
/* * MXF demuxer. * Copyright (c) 2006 SmartJog S.A., Baptiste Coudurier <baptiste dot coudurier at smartjog dot com> * * This file is part of FFmpeg. * * FFmpeg 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 Softw...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2779_0
crossvul-cpp_data_good_2781_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2781_0
crossvul-cpp_data_good_2766_0
/* * Phantom Cine demuxer * Copyright (c) 2010-2011 Peter Ross <pross@xvid.org> * * This file is part of FFmpeg. * * FFmpeg 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 ...
./CrossVul/dataset_final_sorted/CWE-834/c/good_2766_0
crossvul-cpp_data_bad_2764_0
/* * ASF compatible demuxer * Copyright (c) 2000, 2001 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg 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 Li...
./CrossVul/dataset_final_sorted/CWE-834/c/bad_2764_0
crossvul-cpp_data_good_2624_0
/*************************************************************************** copyright : (C) 2002 - 2008 by Scott Wheeler email : wheeler@kde.org ***************************************************************************/ /************************************************************...
./CrossVul/dataset_final_sorted/CWE-434/cpp/good_2624_0
crossvul-cpp_data_bad_2624_0
/*************************************************************************** copyright : (C) 2002 - 2008 by Scott Wheeler email : wheeler@kde.org ***************************************************************************/ /************************************************************...
./CrossVul/dataset_final_sorted/CWE-434/cpp/bad_2624_0
crossvul-cpp_data_bad_1326_0
/* ** 2017-12-26 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** **************************...
./CrossVul/dataset_final_sorted/CWE-434/c/bad_1326_0
crossvul-cpp_data_good_1326_0
/* ** 2017-12-26 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** **************************...
./CrossVul/dataset_final_sorted/CWE-434/c/good_1326_0
crossvul-cpp_data_bad_844_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_844_0
crossvul-cpp_data_bad_596_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_596_0
crossvul-cpp_data_bad_4256_4
/* * 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. */ #include "ESTreeIRGen.h" #include "llvh/ADT/StringSet.h" #include "llvh/Support/Debug.h" #include "llvh/Support/SaveAndRestore.h" ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_4256_4
crossvul-cpp_data_bad_3390_0
// validat1.cpp - originally written and placed in the public domain by Wei Dai // CryptoPP::Test namespace added by JW in February 2017 #include "pch.h" #define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 #include "cryptlib.h" #include "pubkey.h" #include "gfpcrypt.h" #include "eccrypto.h" #include "filters.h" ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_3390_0
crossvul-cpp_data_good_65_0
/* * Snd_fx.cpp * ----------- * Purpose: Processing of pattern commands, song length calculation... * Notes : This needs some heavy refactoring. * I thought of actually adding an effect interface class. Every pattern effect * could then be moved into its own class that inherits from the effect ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_65_0
crossvul-cpp_data_good_2323_0
/* This file has been derived from Konversation, the KDE IRC client. 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. */ /* Copyright (C) 1997 Robey ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_2323_0
crossvul-cpp_data_bad_1380_1
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_1380_1
crossvul-cpp_data_bad_4252_0
/* JSON_parser.c */ /* 2005-12-30 */ /* Copyright (c) 2005 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_4252_0
crossvul-cpp_data_good_4252_0
/* JSON_parser.c */ /* 2005-12-30 */ /* Copyright (c) 2005 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_4252_0
crossvul-cpp_data_bad_94_2
/* -*- C++ -*- * File: libraw_cxx.cpp * Copyright 2008-2018 LibRaw LLC (info@libraw.org) * Created: Sat Mar 8 , 2008 * * LibRaw C++ interface (implementation) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_94_2
crossvul-cpp_data_good_2813_1
/***************************************************************** | | AP4 - hvcC Atoms | | Copyright 2002-2016 Axiomatic Systems, LLC | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4|GP...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_2813_1
crossvul-cpp_data_bad_3390_1
// zinflate.cpp - originally written and placed in the public domain by Wei Dai // This is a complete reimplementation of the DEFLATE decompression algorithm. // It should not be affected by any security vulnerabilities in the zlib // compression library. In particular it is not affected by the double free bug // (htt...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_3390_1
crossvul-cpp_data_bad_1380_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_1380_0
crossvul-cpp_data_good_611_1
/* * Load_stp.cpp * ------------ * Purpose: STP (Soundtracker Pro II) module loader * Notes : A few exotic effects aren't supported. * Multiple sample loops are supported, but only the first 10 can be used as cue points * (with 16xx and 18xx). * Fractional speed values and combined au...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_611_1
crossvul-cpp_data_good_4259_0
/* * 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. */ #include "hermes/VM/JSObject.h" #include "hermes/VM/BuildMetadata.h" #include "hermes/VM/Callable.h" #include "hermes/VM/HostModel...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_4259_0
crossvul-cpp_data_good_1183_0
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. //#include <stdio.h> //#define DEBUG {fprintf(stderr...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_1183_0
crossvul-cpp_data_good_2812_0
/***************************************************************** | | AP4 - hdlr Atoms | | Copyright 2002-2008 Axiomatic Systems, LLC | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4|G...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_2812_0
crossvul-cpp_data_good_4256_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. */ #include "hermes/BCGen/HBC/BytecodeGenerator.h" #include "hermes/BCGen/HBC/ConsecutiveStringStorage.h" #include "hermes/FrontEndDe...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_4256_2
crossvul-cpp_data_bad_2812_0
/***************************************************************** | | AP4 - hdlr Atoms | | Copyright 2002-2008 Axiomatic Systems, LLC | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4|G...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_2812_0
crossvul-cpp_data_bad_2323_0
/* This file has been derived from Konversation, the KDE IRC client. 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. */ /* Copyright (C) 1997 Robey ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_2323_0
crossvul-cpp_data_good_4251_0
/* JSON_parser.c */ /* 2005-12-30 */ /* Copyright (c) 2005 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_4251_0
crossvul-cpp_data_bad_65_0
/* * Snd_fx.cpp * ----------- * Purpose: Processing of pattern commands, song length calculation... * Notes : This needs some heavy refactoring. * I thought of actually adding an effect interface class. Every pattern effect * could then be moved into its own class that inherits from the effect ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_65_0
crossvul-cpp_data_bad_1183_1
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. #include "settings.h" //#include "iostream.hpp" #i...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_1183_1
crossvul-cpp_data_bad_4256_3
/* * 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. */ #include "ESTreeIRGen.h" #include "llvh/ADT/SmallString.h" namespace hermes { namespace irgen { //===---------------------------...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_4256_3
crossvul-cpp_data_bad_1309_0
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_1309_0
crossvul-cpp_data_bad_1383_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_1383_0
crossvul-cpp_data_bad_2813_0
/***************************************************************** | | AP4 - avcC Atoms | | Copyright 2002-2008 Axiomatic Systems, LLC | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4|G...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_2813_0
crossvul-cpp_data_good_3218_0
/* Audio File Library Copyright (C) 2010-2013, Michael Pruett <michael@68k.org> Copyright (C) 2001, Silicon Graphics, Inc. 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...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_3218_0
crossvul-cpp_data_good_94_2
/* -*- C++ -*- * File: libraw_cxx.cpp * Copyright 2008-2018 LibRaw LLC (info@libraw.org) * Created: Sat Mar 8 , 2008 * * LibRaw C++ interface (implementation) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_94_2
crossvul-cpp_data_good_4256_3
/* * 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. */ #include "ESTreeIRGen.h" #include "llvh/ADT/SmallString.h" namespace hermes { namespace irgen { //===---------------------------...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_4256_3
crossvul-cpp_data_bad_4259_0
/* * 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. */ #include "hermes/VM/JSObject.h" #include "hermes/VM/BuildMetadata.h" #include "hermes/VM/Callable.h" #include "hermes/VM/HostModel...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_4259_0
crossvul-cpp_data_bad_2804_2
/* Copyright 2008-2017 LibRaw LLC (info@libraw.org) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 2. COMMON...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_2804_2
crossvul-cpp_data_bad_3218_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_3218_0
crossvul-cpp_data_good_1380_1
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_1380_1
crossvul-cpp_data_bad_849_0
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 required by applic...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_849_0
crossvul-cpp_data_bad_4256_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. */ #include "hermes/BCGen/HBC/BytecodeGenerator.h" #include "hermes/BCGen/HBC/ConsecutiveStringStorage.h" #include "hermes/FrontEndDe...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_4256_2
crossvul-cpp_data_good_2813_0
/***************************************************************** | | AP4 - avcC Atoms | | Copyright 2002-2008 Axiomatic Systems, LLC | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4|G...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_2813_0
crossvul-cpp_data_good_2804_2
/* Copyright 2008-2017 LibRaw LLC (info@libraw.org) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 2. COMMON...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_2804_2
crossvul-cpp_data_bad_4253_0
/* JSON_parser.c */ /* 2005-12-30 */ /* Copyright (c) 2005 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_4253_0
crossvul-cpp_data_bad_1183_2
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. #include <string.h> #include "getdata.hpp" #include...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_1183_2
crossvul-cpp_data_good_94_0
/* Copyright 2008-2018 LibRaw LLC (info@libraw.org) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 2. COMMON...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_94_0
crossvul-cpp_data_bad_845_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_845_0
crossvul-cpp_data_good_4253_0
/* JSON_parser.c */ /* 2005-12-30 */ /* Copyright (c) 2005 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_4253_0
crossvul-cpp_data_bad_849_1
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 required by applic...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_849_1
crossvul-cpp_data_good_93_0
/* -*- C++ -*- * File: libraw_cxx.cpp * Copyright 2008-2018 LibRaw LLC (info@libraw.org) * Created: Sat Mar 8 , 2008 * * LibRaw C++ interface (implementation) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_93_0
crossvul-cpp_data_good_4256_4
/* * 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. */ #include "ESTreeIRGen.h" #include "llvh/ADT/StringSet.h" #include "llvh/Support/Debug.h" #include "llvh/Support/SaveAndRestore.h" ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_4256_4
crossvul-cpp_data_good_1309_0
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_1309_0
crossvul-cpp_data_good_2812_1
/***************************************************************** | | AP4 - stsz Atoms | | Copyright 2002-2008 Axiomatic Systems, LLC | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4|G...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_2812_1
crossvul-cpp_data_good_1183_2
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. #include <string.h> #include "getdata.hpp" #include...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_1183_2
crossvul-cpp_data_bad_2946_1
/* Copyright 2008-2017 LibRaw LLC (info@libraw.org) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 2. COMMON...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_2946_1
crossvul-cpp_data_good_844_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_844_0
crossvul-cpp_data_good_1380_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_1380_0
crossvul-cpp_data_bad_2812_1
/***************************************************************** | | AP4 - stsz Atoms | | Copyright 2002-2008 Axiomatic Systems, LLC | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4|G...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_2812_1
crossvul-cpp_data_good_3390_1
// zinflate.cpp - originally written and placed in the public domain by Wei Dai // This is a complete reimplementation of the DEFLATE decompression algorithm. // It should not be affected by any security vulnerabilities in the zlib // compression library. In particular it is not affected by the double free bug // (htt...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_3390_1
crossvul-cpp_data_bad_94_0
/* Copyright 2008-2018 LibRaw LLC (info@libraw.org) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 2. COMMON...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_94_0
crossvul-cpp_data_bad_93_0
/* -*- C++ -*- * File: libraw_cxx.cpp * Copyright 2008-2018 LibRaw LLC (info@libraw.org) * Created: Sat Mar 8 , 2008 * * LibRaw C++ interface (implementation) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_93_0
crossvul-cpp_data_bad_1183_0
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. //#include <stdio.h> //#define DEBUG {fprintf(stderr...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_1183_0
crossvul-cpp_data_good_1383_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_1383_0
crossvul-cpp_data_bad_94_1
/* Library for accessing X3F Files ---------------------------------------------------------------- BSD-style License ---------------------------------------------------------------- * Copyright (c) 2010, Roland Karlsson (roland@proxel.se) * All rights reserved. * * Redistribution and use in source and binary forms, ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_94_1
crossvul-cpp_data_good_845_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_845_0
crossvul-cpp_data_good_849_1
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 required by applic...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_849_1
crossvul-cpp_data_good_1183_1
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. #include "settings.h" //#include "iostream.hpp" #i...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_1183_1
crossvul-cpp_data_bad_611_1
/* * Load_stp.cpp * ------------ * Purpose: STP (Soundtracker Pro II) module loader * Notes : A few exotic effects aren't supported. * Multiple sample loops are supported, but only the first 10 can be used as cue points * (with 16xx and 18xx). * Fractional speed values and combined au...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_611_1
crossvul-cpp_data_good_94_1
/* Library for accessing X3F Files ---------------------------------------------------------------- BSD-style License ---------------------------------------------------------------- * Copyright (c) 2010, Roland Karlsson (roland@proxel.se) * All rights reserved. * * Redistribution and use in source and binary forms, ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_94_1
crossvul-cpp_data_good_3390_0
// validat1.cpp - originally written and placed in the public domain by Wei Dai // CryptoPP::Test namespace added by JW in February 2017 #include "pch.h" #define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 #include "cryptlib.h" #include "pubkey.h" #include "gfpcrypt.h" #include "eccrypto.h" #include "filters.h" ...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_3390_0
crossvul-cpp_data_bad_4251_0
/* JSON_parser.c */ /* 2005-12-30 */ /* Copyright (c) 2005 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
./CrossVul/dataset_final_sorted/CWE-125/cpp/bad_4251_0
crossvul-cpp_data_good_849_0
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 required by applic...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_849_0
crossvul-cpp_data_good_2946_1
/* Copyright 2008-2017 LibRaw LLC (info@libraw.org) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 2. COMMON...
./CrossVul/dataset_final_sorted/CWE-125/cpp/good_2946_1