id
stringlengths
25
30
content
stringlengths
14
942k
max_stars_repo_path
stringlengths
49
55
crossvul-cpp_data_good_2919_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % W W PPPP GGGG ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2919_0
crossvul-cpp_data_good_1050_1
/* Copyright (C) 2000-2012 by George Williams */ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following...
./CrossVul/dataset_final_sorted/CWE-119/c/good_1050_1
crossvul-cpp_data_bad_2131_1
/* * HID driver for Kye/Genius devices not fully compliant with HID standard * * Copyright (c) 2009 Jiri Kosina * Copyright (c) 2009 Tomas Hanak * Copyright (c) 2012 Nikolai Kondrashov */ /* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Publi...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2131_1
crossvul-cpp_data_good_2400_0
/* * Copyright (c) Ian F. Darwin 1986-1995. * Software written by Ian F. Darwin and others; * maintained 1995-present by Christos Zoulas and others. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistr...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2400_0
crossvul-cpp_data_good_5635_0
/* * host.c - ChipIdea USB host controller driver * * Copyright (c) 2012 Intel Corporation * * Author: Alexander Shishkin * * 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 Software Foundation. * ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5635_0
crossvul-cpp_data_bad_3109_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3109_0
crossvul-cpp_data_bad_4787_8
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_8
crossvul-cpp_data_bad_345_8
/* * cryptoflex-tool.c: Tool for doing various Cryptoflex related stuff * * Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi> * * 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; e...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_345_8
crossvul-cpp_data_bad_2192_0
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2014 The PHP Group | +---------...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2192_0
crossvul-cpp_data_bad_342_0
/* * card-cac.c: Support for CAC from NIST SP800-73 * card-default.c: Support for cards with no driver * * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi> * Copyright (C) 2005,2006,2007,2008,2009,2010 Douglas E. Engert <deengert@anl.gov> * Copyright (C) 2006, Identity Alliance, Thomas Harning <thomas.h...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_342_0
crossvul-cpp_data_bad_346_5
/* * 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) any later version. * * This library is distributed in the hope that it wi...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_346_5
crossvul-cpp_data_bad_2983_0
/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com * Copyright (c) 2016 Facebook * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in th...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2983_0
crossvul-cpp_data_good_2907_0
/* * Ultra Wide Band * Neighborhood Management Daemon * * Copyright (C) 2005-2006 Intel Corporation * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> * * 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...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2907_0
crossvul-cpp_data_bad_3419_0
/* * ScreenPressor decoder * * Copyright (c) 2017 Paul B Mahol * * 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 License, ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3419_0
crossvul-cpp_data_good_3687_0
/* * super.c * * PURPOSE * Super block routines for the OSTA-UDF(tm) filesystem. * * DESCRIPTION * OSTA-UDF(tm) = Optical Storage Technology Association * Universal Disk Format. * * This code is based on version 2.00 of the UDF specification, * and revision 3 of the ECMA 167 standard [equivalent to ISO ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3687_0
crossvul-cpp_data_good_2206_0
/* * Copyright 2011-2014 Con Kolivas * Copyright 2010 Jeff Garzik * * 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 3 of the License, or (at your option) * any later versio...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2206_0
crossvul-cpp_data_bad_5733_9
/* * Copyright (c) 2011 Stefano Sabatini * 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 License, or (at your option) any lat...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5733_9
crossvul-cpp_data_bad_2197_1
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/gssapi/krb5/k5unsealiov.c */ /* * Copyright 2008, 2009 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2197_1
crossvul-cpp_data_bad_5813_0
/* * Quicktime Video (RPZA) Video Decoder * Copyright (C) 2003 the ffmpeg project * * 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....
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5813_0
crossvul-cpp_data_bad_943_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_943_0
crossvul-cpp_data_bad_5174_0
/* * Copyright (c) 2001 Paul Stewart * Copyright (c) 2001 Vojtech Pavlik * * HID char devices, giving access to raw HID device events. * */ /* * 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 Fo...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5174_0
crossvul-cpp_data_good_1064_0
/* * asn1.c: ASN.1 decoding functions (DER) * * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi> * * 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 o...
./CrossVul/dataset_final_sorted/CWE-119/c/good_1064_0
crossvul-cpp_data_good_5662_0
/* * net/key/af_key.c An implementation of PF_KEYv2 sockets. * * 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-119/c/good_5662_0
crossvul-cpp_data_bad_5502_0
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Generic socket support routines. Memory allocators, socket lock/release * handler for protocols to use and g...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5502_0
crossvul-cpp_data_good_5360_0
/*- * Copyright (c) 2003-2007 Tim Kientzle * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of c...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5360_0
crossvul-cpp_data_good_2520_0
/* * Copyright (c) Christos Zoulas 2003. * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice immediately at t...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2520_0
crossvul-cpp_data_good_4787_14
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4787_14
crossvul-cpp_data_good_1773_0
/* mount.c (22.10.09) exFAT file system implementation library. Free exFAT implementation. Copyright (C) 2010-2015 Andrew Nayenko 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 versi...
./CrossVul/dataset_final_sorted/CWE-119/c/good_1773_0
crossvul-cpp_data_good_2774_0
/* * The copyright in this software is being made available under the 2-clauses * BSD License, included below. This software may be subject to other third * party and contributor rights, including patent rights, and no such rights * are granted under this license. * * Copyright (c) 2002-2014, Universite catholiqu...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2774_0
crossvul-cpp_data_good_5475_2
/* $Id$ */ /* * Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1991-1997 Silicon Graphics, Inc. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i) the above copyright notices and this permission n...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5475_2
crossvul-cpp_data_bad_634_6
/************************************************** * SQLCreateDataSource * * This is a 100% UI so simply pass it on to odbcinst's UI * shadow share. * ************************************************** * This code was created by Peter Harvey @ CodeByDesign. * Released under LGPL 28.JAN.99 * * Contributions f...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_634_6
crossvul-cpp_data_bad_3020_2
/* * Copyright (c) 2014-2015 Hisilicon Limited. * * 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. */ #include <l...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3020_2
crossvul-cpp_data_bad_1615_0
/* ----------------------------------------------------------------------------- * Copyright (c) 2011 Ozmo Inc * Released under the GNU General Public License Version 2 (GPLv2). * * This file implements the protocol specific parts of the USB service for a PD. * -----------------------------------------------------...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_1615_0
crossvul-cpp_data_good_4787_17
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4787_17
crossvul-cpp_data_bad_3420_0
/* * ScreenPressor decoder * * Copyright (c) 2017 Paul B Mahol * * 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 License, ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3420_0
crossvul-cpp_data_bad_2045_0
/* * OpenPBS (Portable Batch System) v2.3 Software License * * Copyright (c) 1999-2000 Veridian Information Solutions, Inc. * All rights reserved. * * --------------------------------------------------------------------------- * For a license to use or redistribute the OpenPBS software under conditions * other ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2045_0
crossvul-cpp_data_bad_4837_0
/* * Copyright (c) 2000, 2001, 2002 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 License, or (at your o...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4837_0
crossvul-cpp_data_good_395_1
/* Copyright 1996-2013 Han The Thanh <thanh@pdftex.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. This program is distri...
./CrossVul/dataset_final_sorted/CWE-119/c/good_395_1
crossvul-cpp_data_good_5610_0
/* * tg3.c: Broadcom Tigon3 ethernet driver. * * Copyright (C) 2001, 2002, 2003, 2004 David S. Miller (davem@redhat.com) * Copyright (C) 2001, 2002, 2003 Jeff Garzik (jgarzik@pobox.com) * Copyright (C) 2004 Sun Microsystems Inc. * Copyright (C) 2005-2013 Broadcom Corporation. * * Firmware is: * Derived from pr...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5610_0
crossvul-cpp_data_bad_2593_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2593_0
crossvul-cpp_data_good_345_1
/* * Support for ePass2003 smart cards * * Copyright (C) 2008, Weitao Sun <weitao@ftsafe.com> * Copyright (C) 2011, Xiaoshuo Wu <xiaoshuo@ftsafe.com> * * 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 ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_345_1
crossvul-cpp_data_bad_4721_0
/* FUSE: Filesystem in Userspace Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu> This program can be distributed under the terms of the GNU GPL. See the file COPYING. */ #include "fuse_i.h" #include <linux/pagemap.h> #include <linux/slab.h> #include <linux/kernel.h> #include <linux/sched.h> #incl...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4721_0
crossvul-cpp_data_good_2209_0
/* * Copyright 2011-2013 Con Kolivas * Copyright 2010 Jeff Garzik * * 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 3 of the License, or (at your option) * any later versio...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2209_0
crossvul-cpp_data_good_5658_0
/* Copyright (c) 2003, Michael Bretterklieber <michael@bretterklieber.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice,...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5658_0
crossvul-cpp_data_good_1543_0
/* Kjetil Matheussen 2006. 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. This program is distributed ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_1543_0
crossvul-cpp_data_bad_341_0
/* * card-cac.c: Support for CAC from NIST SP800-73 * card-default.c: Support for cards with no driver * * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi> * Copyright (C) 2005,2006,2007,2008,2009,2010 Douglas E. Engert <deengert@anl.gov> * Copyright (C) 2006, Identity Alliance, Thomas Harning <thomas.h...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_341_0
crossvul-cpp_data_good_5342_0
/* * Copyright (C) 2015 Vabishchevich Nikolay <vabnick@gmail.com> * * This file is part of libass. * * 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 appear in all copies....
./CrossVul/dataset_final_sorted/CWE-119/c/good_5342_0
crossvul-cpp_data_bad_525_2
/* * GPAC - Multimedia Framework C SDK * * Authors: Jean Le Feuvre * Copyright (c) Telecom ParisTech 2000-2012 * All rights reserved * * This file is part of GPAC / FFMPEG module * * GPAC is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_525_2
crossvul-cpp_data_bad_3037_0
/* * Copyright (c) 2016 Avago Technologies. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will b...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3037_0
crossvul-cpp_data_good_5035_0
/*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5035_0
crossvul-cpp_data_bad_4945_1
/* (See Documentation/git-fast-import.txt for maintained documentation.) Format of STDIN stream: stream ::= cmd*; cmd ::= new_blob | new_commit | new_tag | reset_branch | checkpoint | progress ; new_blob ::= 'blob' lf mark? file_content; file_content ::...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4945_1
crossvul-cpp_data_bad_5662_0
/* * net/key/af_key.c An implementation of PF_KEYv2 sockets. * * 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-119/c/bad_5662_0
crossvul-cpp_data_bad_5409_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5409_0
crossvul-cpp_data_good_5658_1
/*- * Copyright 1998 Juniper Networks, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5658_1
crossvul-cpp_data_good_2131_3
/* * HID driver for some monterey "special" devices * * Copyright (c) 1999 Andreas Gal * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc * Copyright (c) 2006-2007 Jiri Kosina * Copyright (c) 2008 Jiri Slaby */ /* * Th...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2131_3
crossvul-cpp_data_good_936_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_936_0
crossvul-cpp_data_good_404_1
/* vsprintf with automatic memory allocation. Copyright (C) 1999, 2002-2018 Free Software Foundation, Inc. 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, or (at your op...
./CrossVul/dataset_final_sorted/CWE-119/c/good_404_1
crossvul-cpp_data_bad_5493_2
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5493_2
crossvul-cpp_data_bad_1614_0
/* ----------------------------------------------------------------------------- * Copyright (c) 2011 Ozmo Inc * Released under the GNU General Public License Version 2 (GPLv2). * * This file implements the protocol specific parts of the USB service for a PD. * -----------------------------------------------------...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_1614_0
crossvul-cpp_data_good_4985_0
/* * MOV demuxer * Copyright (c) 2001 Fabrice Bellard * Copyright (c) 2009 Baptiste Coudurier <baptiste dot coudurier at gmail 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 publishe...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4985_0
crossvul-cpp_data_good_3310_0
/* dvb-usb-firmware.c is part of the DVB USB library. * * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de) * see dvb-usb-init.c for copyright information. * * This file contains functions for downloading the firmware to Cypress FX 1 and 2 based devices. * * FIXME: This part does actually not ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3310_0
crossvul-cpp_data_bad_2413_0
/* * inode.c * * PURPOSE * Inode handling routines for the OSTA-UDF(tm) filesystem. * * COPYRIGHT * This file is distributed under the terms of the GNU General Public * License (GPL). Copies of the GPL can be obtained from: * ftp://prep.ai.mit.edu/pub/gnu/GPL * Each contributing author retains all righ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2413_0
crossvul-cpp_data_bad_341_4
/* * PKCS15 emulation layer for EstEID card. * * Copyright (C) 2004, Martin Paljak <martin@martinpaljak.net> * Copyright (C) 2004, Bud P. Bruegger <bud@comune.grosseto.it> * Copyright (C) 2004, Antonino Iacono <ant_iacono@tin.it> * Copyright (C) 2003, Olaf Kirch <okir@suse.de> * * This library is free software;...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_341_4
crossvul-cpp_data_good_2529_1
/* * wildmidi_lib.c -- Midi Wavetable Processing library * * Copyright (C) WildMIDI Developers 2001-2016 * * This file is part of WildMIDI. * * WildMIDI is free software: you can redistribute and/or modify the player * under the terms of the GNU General Public License and you can redistribute * and/or modify t...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2529_1
crossvul-cpp_data_good_4898_0
/* * DBD::mysql - DBI driver for the mysql database * * Copyright (c) 2004-2014 Patrick Galbraith * Copyright (c) 2013-2014 Michiel Beijen * Copyright (c) 2004-2007 Alexey Stroganov * Copyright (c) 2003-2005 Rudolf Lippan * Copyright (c) 1997-2003 Jochen Wiedmann * * You may distribute this under th...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4898_0
crossvul-cpp_data_good_3407_1
/* ext2.c - Second Extended filesystem */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc. * * GRUB 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 So...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3407_1
crossvul-cpp_data_bad_2637_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2637_0
crossvul-cpp_data_good_4787_19
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4787_19
crossvul-cpp_data_bad_2135_0
/* * Copyright (c) Ian F. Darwin 1986-1995. * Software written by Ian F. Darwin and others; * maintained 1995-present by Christos Zoulas and others. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistr...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2135_0
crossvul-cpp_data_good_161_0
/* * This file is part of Espruino, a JavaScript interpreter for Microcontrollers * * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http...
./CrossVul/dataset_final_sorted/CWE-119/c/good_161_0
crossvul-cpp_data_bad_2529_1
/* * wildmidi_lib.c -- Midi Wavetable Processing library * * Copyright (C) WildMIDI Developers 2001-2016 * * This file is part of WildMIDI. * * WildMIDI is free software: you can redistribute and/or modify the player * under the terms of the GNU General Public License and you can redistribute * and/or modify t...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2529_1
crossvul-cpp_data_good_5252_0
/* Mac-Telnet - Connect to RouterOS or mactelnetd devices via MAC address Copyright (C) 2010, Håkon Nessjøen <haakon.nessjoen@gmail.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 Founda...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5252_0
crossvul-cpp_data_good_5112_0
/* cosine.c * * CoSine IPNOS L2 debug output parsing * Copyright (c) 2002 by Motonori Shindo <motonori@shin.do> * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Pub...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5112_0
crossvul-cpp_data_bad_121_0
/* linux/drivers/cdrom/cdrom.c Copyright (c) 1996, 1997 David A. van Leeuwen. Copyright (c) 1997, 1998 Erik Andersen <andersee@debian.org> Copyright (c) 1998, 1999 Jens Axboe <axboe@image.dk> May be copied or modified under the terms of the GNU General Public License. See linux/COPYING for more informa...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_121_0
crossvul-cpp_data_good_343_8
/* * cryptoflex-tool.c: Tool for doing various Cryptoflex related stuff * * Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi> * * 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; e...
./CrossVul/dataset_final_sorted/CWE-119/c/good_343_8
crossvul-cpp_data_good_4897_0
/* Router advertisement * Copyright (C) 2005 6WIND <jean-mickael.guerin@6wind.com> * Copyright (C) 1999 Kunihiro Ishiguro * * This file is part of GNU Zebra. * * GNU Zebra 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 So...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4897_0
crossvul-cpp_data_good_3616_0
/*- * Copyright (c) 2008 Christos Zoulas * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of con...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3616_0
crossvul-cpp_data_good_3426_0
/* * Network Block Device - server * * Copyright 1996-1998 Pavel Machek, distribute under GPL * <pavel@atrey.karlin.mff.cuni.cz> * Copyright 2001-2004 Wouter Verhelst <wouter@debian.org> * Copyright 2002 Anton Altaparmakov <aia21@cam.ac.uk> * * Version 1.0 - hopefully 64-bit-clean * Version 1.1 - merging enha...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3426_0
crossvul-cpp_data_good_896_1
/* * Copyright (c) 2014 Cesanta Software Limited * All rights reserved */ #if MG_ENABLE_MQTT #include <string.h> #include "mg_internal.h" #include "mg_mqtt.h" static uint16_t getu16(const char *p) { const uint8_t *up = (const uint8_t *) p; return (up[0] << 8) + up[1]; } static const char *scanto(const char ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_896_1
crossvul-cpp_data_bad_5733_8
/* * Copyright (c) 2008 vmrsss * Copyright (c) 2009 Stefano Sabatini * * 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 Lice...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5733_8
crossvul-cpp_data_good_2607_0
/* * Copyright (c) 1990 - 1994, Julianne Frances Haugh * Copyright (c) 1996 - 2001, Marek Michałkiewicz * Copyright (c) 2001 - 2006, Tomasz Kłoczko * Copyright (c) 2007 - 2011, Nicolas François * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are perm...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2607_0
crossvul-cpp_data_good_4863_2
#include "queue.ih" void queue_push(register Queue *qp, size_t extra_length, char const *info) { register char *cp; size_t memory_length; size_t available_length; size_t begin_length; size_t n_begin; size_t q_length; if (!extra_length) return; memory_length = qp->d_memory_e...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4863_2
crossvul-cpp_data_bad_5096_0
/* * The copyright in this software is being made available under the 2-clauses * BSD License, included below. This software may be subject to other third * party and contributor rights, including patent rights, and no such rights * are granted under this license. * * Copyright (c) 2002-2014, Universite catholi...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5096_0
crossvul-cpp_data_bad_5127_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5127_0
crossvul-cpp_data_good_4054_0
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4054_0
crossvul-cpp_data_bad_2129_0
/* * HID driver for Logitech Unifying receivers * * Copyright (c) 2011 Logitech */ /* * 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 Software Foundation. * * This program is distributed in th...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2129_0
crossvul-cpp_data_good_3116_0
/* * atusb.c - Driver for the ATUSB IEEE 802.15.4 dongle * * Written 2013 by Werner Almesberger <werner@almesberger.net> * * Copyright (c) 2015 - 2016 Stefan Schmidt <stefan@datenfreihafen.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publi...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3116_0
crossvul-cpp_data_good_5579_0
/* net_packet.c -- Handles in- and outgoing VPN packets Copyright (C) 1998-2005 Ivo Timmermans, 2000-2013 Guus Sliepen <guus@tinc-vpn.org> 2010 Timothy Redaelli <timothy@redaelli.eu> 2010 Brandon Black <blblack@gmail.com> This program is free ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5579_0
crossvul-cpp_data_bad_5034_0
/*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2008 Joerg Sonnenberger * Copyright (c) 2011-2012 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redi...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5034_0
crossvul-cpp_data_good_3859_0
/****************************************************************************** * * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. * * Portions of this file are derived from the ipw3945 project, as well * as portions of the ieee80211 subsystem header files. * * This program is free software; yo...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3859_0
crossvul-cpp_data_good_342_2
/* * card-muscle.c: Support for MuscleCard Applet from musclecard.com * * Copyright (C) 2006, Identity Alliance, Thomas Harning <support@identityalliance.com> * * 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 t...
./CrossVul/dataset_final_sorted/CWE-119/c/good_342_2
crossvul-cpp_data_bad_3674_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3674_0
crossvul-cpp_data_bad_2412_0
/* * symlink.c * * PURPOSE * Symlink handling routines for the OSTA-UDF(tm) filesystem. * * COPYRIGHT * This file is distributed under the terms of the GNU General Public * License (GPL). Copies of the GPL can be obtained from: * ftp://prep.ai.mit.edu/pub/gnu/GPL * Each contributing author retains all rights...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2412_0
crossvul-cpp_data_good_552_4
/* * Boa, an http server * Copyright (C) 1999 Larry Doolittle <ldoolitt@boa.org> * Copyright (C) 2000-2005 Jon Nelson <jnelson@boa.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 Foundat...
./CrossVul/dataset_final_sorted/CWE-119/c/good_552_4
crossvul-cpp_data_bad_811_0
#include "jsi.h" #include "jslex.h" #include "jsparse.h" #include "jscompile.h" #include "jsvalue.h" /* for jsV_numbertostring */ #define cexp jsC_cexp /* collision with math.h */ #define JF js_State *J, js_Function *F JS_NORETURN void jsC_error(js_State *J, js_Ast *node, const char *fmt, ...) JS_PRINTFLIKE(3,4); s...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_811_0
crossvul-cpp_data_bad_2511_0
/* * Copyright 2015, Red Hat, Inc. * * 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 applicable law or agreed to i...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2511_0
crossvul-cpp_data_good_5512_0
/* $Id$ */ #include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> #include <stdarg.h> #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd_intern.h" /* 2.03: don't include zlib here or we can't build without PNG */ #include "gd.h" #include "gdhelpers.h" #include "gd_color.h" #include "...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5512_0
crossvul-cpp_data_good_5816_0
/* * JPEG 2000 image decoder * Copyright (c) 2007 Kamil Nowosad * Copyright (c) 2013 Nicolas Bertrand <nicoinattendu@gmail.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...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5816_0
crossvul-cpp_data_good_1579_0
/* * 8253/8254 interval timer emulation * * Copyright (c) 2003-2004 Fabrice Bellard * Copyright (c) 2006 Intel Corporation * Copyright (c) 2007 Keir Fraser, XenSource Inc * Copyright (c) 2008 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software a...
./CrossVul/dataset_final_sorted/CWE-119/c/good_1579_0
crossvul-cpp_data_good_3314_0
/* * CCM: Counter with CBC-MAC * * (C) Copyright IBM Corp. 2007 - Joy Latten <latten@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; either version 2 of the License, or (at ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3314_0