id
stringlengths
25
30
content
stringlengths
14
942k
max_stars_repo_path
stringlengths
49
55
crossvul-cpp_data_good_339_3
/* * card-tcos.c: Support for TCOS cards * * Copyright (C) 2011 Peter Koch <pk@opensc-project.org> * Copyright (C) 2002 g10 Code GmbH * 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 P...
./CrossVul/dataset_final_sorted/CWE-119/c/good_339_3
crossvul-cpp_data_bad_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/bad_5658_1
crossvul-cpp_data_bad_339_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_339_0
crossvul-cpp_data_good_5590_2
/* * linux/fs/nls/nls_base.c * * Native language support--charsets and unicode translations. * By Gordon Chaffee 1996, 1997 * * Unicode based case conversion 1999 by Wolfram Pienkoss * */ #include <linux/module.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/kernel.h> #include <linux/errno....
./CrossVul/dataset_final_sorted/CWE-119/c/good_5590_2
crossvul-cpp_data_good_5120_0
/* * AirSpy SDR driver * * Copyright (C) 2014 Antti Palosaari <crope@iki.fi> * * 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 ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5120_0
crossvul-cpp_data_bad_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/bad_2607_0
crossvul-cpp_data_good_2953_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/good_2953_0
crossvul-cpp_data_good_676_0
/* * Copyright (C) 2014 Daniel-Constantin Mierla (asipto.com) * * This file is part of kamailio, a free SIP server. * * Kamailio 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 L...
./CrossVul/dataset_final_sorted/CWE-119/c/good_676_0
crossvul-cpp_data_bad_4787_18
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_18
crossvul-cpp_data_good_2593_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-119/c/good_2593_0
crossvul-cpp_data_good_3476_0
/* * This is the new netlink-based wireless configuration interface. * * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> */ #include <linux/if.h> #include <linux/module.h> #include <linux/err.h> #include <linux/slab.h> #include <linux/list.h> #include <linux/if_ether.h> #include <linux/ieee80211.h> #...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3476_0
crossvul-cpp_data_bad_341_6
/* * pkcs15-sc-hsm.c : Initialize PKCS#15 emulation * * Copyright (C) 2012 Andreas Schwier, CardContact, Minden, Germany * * 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 *...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_341_6
crossvul-cpp_data_bad_5733_6
/* * Copyright (c) 2012 Jeremy Tran * Copyright (c) 2004 Tobias Diedrich * Copyright (c) 2003 Donald A. Graft * * This file is part of FFmpeg. * * FFmpeg 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...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5733_6
crossvul-cpp_data_bad_3322_0
/* * irc-ctcp.c - IRC CTCP protocol * * Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org> * * This file is part of WeeChat, the extensible chat client. * * WeeChat is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * th...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3322_0
crossvul-cpp_data_bad_942_1
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_942_1
crossvul-cpp_data_bad_342_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/bad_342_1
crossvul-cpp_data_bad_344_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_344_4
crossvul-cpp_data_good_5028_0
/* * The Python Imaging Library * $Id$ * * Pillow image resampling support * * history: * 2002-03-09 fl Created (for PIL 1.1.3) * 2002-03-10 fl Added support for mode "F" * * Copyright (c) 1997-2002 by Secret Labs AB * * See the README file for information on usage and redistribution. */ #include "Imagi...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5028_0
crossvul-cpp_data_good_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/good_2129_0
crossvul-cpp_data_good_2021_0
/* * fs/cifs/file.c * * vfs operations that deal with files * * Copyright (C) International Business Machines Corp., 2002,2010 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * * This library is free software; you can redistribute it and/or modify * it...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2021_0
crossvul-cpp_data_good_342_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_342_8
crossvul-cpp_data_bad_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/bad_3426_0
crossvul-cpp_data_bad_3686_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/bad_3686_0
crossvul-cpp_data_bad_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/bad_3616_0
crossvul-cpp_data_good_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/good_2197_1
crossvul-cpp_data_good_5606_0
/* * cdc-wdm.c * * This driver supports USB CDC WCM Device Management. * * Copyright (c) 2007-2009 Oliver Neukum * * Some code taken from cdc-acm.c * * Released under the GPLv2. * * Many thanks to Carl Nordbeck */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/slab.h> #include <linux/mod...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5606_0
crossvul-cpp_data_good_346_7
/* * sc.c: General functions * * 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 of the License, ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_346_7
crossvul-cpp_data_good_3227_0
/* ** Copyright (C) 1999-2017 Erik de Castro Lopo <erikd@mega-nerd.com> ** Copyright (C) 2005 David Viens <davidv@plogue.com> ** ** 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 ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3227_0
crossvul-cpp_data_bad_340_7
/* * sc.c: General functions * * 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 of the License, ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_340_7
crossvul-cpp_data_bad_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/bad_4054_0
crossvul-cpp_data_good_2132_0
/* * USB ConnectTech WhiteHEAT driver * * Copyright (C) 2002 * Connect Tech Inc. * * Copyright (C) 1999 - 2001 * Greg Kroah-Hartman (greg@kroah.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 Fr...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2132_0
crossvul-cpp_data_good_3445_0
/********************************************************************* * * Filename: iriap.c * Version: 0.8 * Description: Information Access Protocol (IAP) * Status: Experimental. * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Thu Aug 21 00:02:07 1997 * Modified at: Sat De...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3445_0
crossvul-cpp_data_good_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/good_3419_0
crossvul-cpp_data_good_5758_0
/******************************************************************************* * Agere Systems Inc. * Wireless device driver for Linux (wlags49). * * Copyright (c) 1998-2003 Agere Systems Inc. * All rights reserved. * http://www.agere.com * * Initially developed by TriplePoint, Inc. * http://www.triplepo...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5758_0
crossvul-cpp_data_good_183_0
/* Redis CLI (command line interface) * * Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot 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: * * * Redistributions o...
./CrossVul/dataset_final_sorted/CWE-119/c/good_183_0
crossvul-cpp_data_good_5757_0
/* ----------------------------------------------------------------------------- * Copyright (c) 2011 Ozmo Inc * Released under the GNU General Public License Version 2 (GPLv2). * ----------------------------------------------------------------------------- */ #include <linux/module.h> #include <linux/fs.h> #includ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5757_0
crossvul-cpp_data_good_344_3
/* * card-tcos.c: Support for TCOS cards * * Copyright (C) 2011 Peter Koch <pk@opensc-project.org> * Copyright (C) 2002 g10 Code GmbH * 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 P...
./CrossVul/dataset_final_sorted/CWE-119/c/good_344_3
crossvul-cpp_data_bad_3413_0
/* * XPM image format * * Copyright (c) 2012 Paul B Mahol * Copyright (c) 2017 Paras Chadha * * 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 ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3413_0
crossvul-cpp_data_good_5284_0
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5284_0
crossvul-cpp_data_bad_5513_0
#include <math.h> #include <string.h> #include <stdlib.h> #include "gd.h" #include "gdhelpers.h" #include "php.h" #ifdef _MSC_VER # if _MSC_VER >= 1300 /* in MSVC.NET these are available but only for __cplusplus and not _MSC_EXTENSIONS */ # if !defined(_MSC_EXTENSIONS) && defined(__cplusplus) # define HAVE_FABSF ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5513_0
crossvul-cpp_data_bad_344_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_344_0
crossvul-cpp_data_good_2127_0
/* * options.c - handles option processing for PPP. * * Copyright (c) 1984-2000 Carnegie Mellon University. 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 sourc...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2127_0
crossvul-cpp_data_good_4779_4
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4779_4
crossvul-cpp_data_good_252_1
/** * @file * IMAP GSS authentication method * * @authors * Copyright (C) 1999-2001,2005,2009 Brendan Cully <brendan@kublai.com> * * @copyright * 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 * Foun...
./CrossVul/dataset_final_sorted/CWE-119/c/good_252_1
crossvul-cpp_data_good_340_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_340_8
crossvul-cpp_data_good_4906_0
/** * eCryptfs: Linux filesystem encryption layer * * Copyright (C) 1997-2004 Erez Zadok * Copyright (C) 2001-2004 Stony Brook University * Copyright (C) 2004-2007 International Business Machines Corp. * Author(s): Michael A. Halcrow <mhalcrow@us.ibm.com> * Michael C. Thompson <mcthomps@us.ibm.com> * * T...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4906_0
crossvul-cpp_data_good_3225_0
#ifndef IGNOREALL /* dcraw.c -- Dave Coffin's raw photo decoder Copyright 1997-2015 by Dave Coffin, dcoffin a cybercom o net This is a command-line ANSI C program to convert raw photos from any digital camera on any computer running any operating system. No license is required to download and use dcraw...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3225_0
crossvul-cpp_data_bad_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/bad_1050_1
crossvul-cpp_data_bad_1066_0
/* * libp11 PAM Login Module * Copyright (C) 2003 Mario Strasser <mast@gmx.net>, * * 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 ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_1066_0
crossvul-cpp_data_good_344_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/good_344_4
crossvul-cpp_data_bad_4806_0
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #include "common.h" #include "git2/types.h" #include "git2/errors.h" #include "git2/refs.h" #include "g...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4806_0
crossvul-cpp_data_good_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/good_121_0
crossvul-cpp_data_bad_2656_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/bad_2656_0
crossvul-cpp_data_good_4787_15
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4787_15
crossvul-cpp_data_good_4784_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4784_0
crossvul-cpp_data_bad_2143_1
/* * NET3 Protocol independent device support routines. * * 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_2143_1
crossvul-cpp_data_bad_4745_2
/* * The Python Imaging Library. * $Id$ * * decoder for Autodesk Animator FLI/FLC animations * * history: * 97-01-03 fl Created * 97-01-17 fl Added SS2 support (FLC) * * Copyright (c) Fredrik Lundh 1997. * Copyright (c) Secret Labs AB 1997. * * See the README file for information on usage and redistributio...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4745_2
crossvul-cpp_data_bad_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/bad_2520_0
crossvul-cpp_data_good_4785_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4785_0
crossvul-cpp_data_bad_4999_0
/* * Packet matching code for ARP packets. * * Based heavily, if not almost entirely, upon ip_tables.c framework. * * Some ARP specific bits are: * * Copyright (C) 2002 David S. Miller (davem@redhat.com) * Copyright (C) 2006-2009 Patrick McHardy <kaber@trash.net> * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " f...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4999_0
crossvul-cpp_data_good_729_0
// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2014, STMicroelectronics International N.V. */ #include <util.h> #include <kernel/tee_common_otp.h> #include <kernel/tee_common.h> #include <tee_api_types.h> #include <kernel/tee_ta_manager.h> #include <utee_types.h> #include <tee/tee_svc.h> #include <tee/te...
./CrossVul/dataset_final_sorted/CWE-119/c/good_729_0
crossvul-cpp_data_bad_1746_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-119/c/bad_1746_0
crossvul-cpp_data_good_5368_1
/* Copyright (c) 2001 Matej Pfajfar. * Copyright (c) 2001-2004, Roger Dingledine. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2015, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file buffers.c * \brief Implements a generic interface buffer. Buff...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5368_1
crossvul-cpp_data_bad_2953_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_2953_0
crossvul-cpp_data_bad_5357_0
/* * io_dp.c * * Implements the dynamic pointer interface. * * Based on GD.pm code by Lincoln Stein for interfacing to libgd. * Added support for reading as well as support for 'tell' and 'seek'. * * As will all I/O modules, most functions are for local use only (called * via function pointers in the I/O conte...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5357_0
crossvul-cpp_data_bad_4950_0
/* $Id$ * * Copyright (C) 2006-2007 VozTelecom Sistemas S.L * * This file is part of Kamailio, a free SIP server. * * Kamailio 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 Li...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4950_0
crossvul-cpp_data_bad_5421_0
/* $Id: Str.c,v 1.8 2002/12/24 17:20:46 ukai Exp $ */ /* * String manipulation library for Boehm GC * * (C) Copyright 1998-1999 by Akinori Ito * * This software may be redistributed freely for this purpose, in full * or in part, provided that this entire copyright notice is included * on any copies of this so...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5421_0
crossvul-cpp_data_good_346_10
/* * util.c: utility functions used by OpenSC command line tools. * * Copyright (C) 2011 OpenSC Project developers * * 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 * versi...
./CrossVul/dataset_final_sorted/CWE-119/c/good_346_10
crossvul-cpp_data_good_5654_0
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5654_0
crossvul-cpp_data_bad_255_0
/** * @file * Read/parse/write an NNTP config file of subscribed newsgroups * * @authors * Copyright (C) 1998 Brandon Long <blong@fiction.net> * Copyright (C) 1999 Andrej Gritsenko <andrej@lucky.net> * Copyright (C) 2000-2017 Vsevolod Volkov <vvv@mutt.org.ua> * * @copyright * This program is free software: yo...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_255_0
crossvul-cpp_data_bad_2019_3
/* src/interfaces/ecpg/pgtypeslib/dt_common.c */ #include "postgres_fe.h" #include <time.h> #include <ctype.h> #include <math.h> #include "extern.h" #include "dt.h" #include "pgtypes_timestamp.h" int day_tab[2][13] = { {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 0}, {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2019_3
crossvul-cpp_data_bad_4787_2
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_2
crossvul-cpp_data_bad_5565_0
/* * CIPSO - Commercial IP Security Option * * This is an implementation of the CIPSO 2.2 protocol as specified in * draft-ietf-cipso-ipsecurity-01.txt with additional tag types as found in * FIPS-188. While CIPSO never became a full IETF RFC standard many vendors * have chosen to adopt the protocol and over the...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5565_0
crossvul-cpp_data_good_942_1
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_942_1
crossvul-cpp_data_good_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/good_634_6
crossvul-cpp_data_bad_943_1
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_943_1
crossvul-cpp_data_bad_5757_0
/* ----------------------------------------------------------------------------- * Copyright (c) 2011 Ozmo Inc * Released under the GNU General Public License Version 2 (GPLv2). * ----------------------------------------------------------------------------- */ #include <linux/module.h> #include <linux/fs.h> #includ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5757_0
crossvul-cpp_data_good_343_9
/* * Copyright (C) 2017 Frank Morgner <frankmorgner@gmail.com> * * This file is part of OpenSC. * * 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 Licen...
./CrossVul/dataset_final_sorted/CWE-119/c/good_343_9
crossvul-cpp_data_bad_341_10
/* * util.c: utility functions used by OpenSC command line tools. * * Copyright (C) 2011 OpenSC Project developers * * 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 * versi...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_341_10
crossvul-cpp_data_good_342_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/good_342_5
crossvul-cpp_data_bad_3415_0
/* * Chronomaster DFA Video Decoder * Copyright (c) 2011 Konstantin Shishkov * based on work by Vladimir "VAG" Gneushev * * 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 So...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3415_0
crossvul-cpp_data_bad_340_6
/* * pkcs15-sc-hsm.c : Initialize PKCS#15 emulation * * Copyright (C) 2012 Andreas Schwier, CardContact, Minden, Germany * * 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 *...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_340_6
crossvul-cpp_data_bad_2210_0
/* * Copyright 2011-2013 Con Kolivas * Copyright 2011-2013 Luke Dashjr * Copyright 2010 Jeff Garzik * Copyright 2012 Giel van Schijndel * Copyright 2012 Gavin Andresen * * 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-119/c/bad_2210_0
crossvul-cpp_data_good_2952_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/good_2952_0
crossvul-cpp_data_good_4787_2
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4787_2
crossvul-cpp_data_bad_1_0
/* Copyright (c) 2015, Cisco Systems All rights reserved. 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/bad_1_0
crossvul-cpp_data_good_1850_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_1850_0
crossvul-cpp_data_good_5079_2
/* * Packet matching code. * * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling * Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org> * Copyright (c) 2006-2010 Patrick McHardy <kaber@trash.net> * * This program is free software; you can redistribute it and/or modify * it under the t...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5079_2
crossvul-cpp_data_good_83_0
/* * linux/kernel/signal.c * * Copyright (C) 1991, 1992 Linus Torvalds * * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson * * 2003-06-02 Jim Houston - Concurrent Computer Corp. * Changes to use preallocated sigqueue structures * to allow signals to be sent reliably. */ #include <linux...
./CrossVul/dataset_final_sorted/CWE-119/c/good_83_0
crossvul-cpp_data_good_1849_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_1849_0
crossvul-cpp_data_good_2131_2
/* * HID driver for some logitech "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 * Copyright...
./CrossVul/dataset_final_sorted/CWE-119/c/good_2131_2
crossvul-cpp_data_good_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/good_2412_0
crossvul-cpp_data_bad_3225_0
#ifndef IGNOREALL /* dcraw.c -- Dave Coffin's raw photo decoder Copyright 1997-2015 by Dave Coffin, dcoffin a cybercom o net This is a command-line ANSI C program to convert raw photos from any digital camera on any computer running any operating system. No license is required to download and use dcraw...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_3225_0
crossvul-cpp_data_bad_2036_0
/* * Fast Userspace Mutexes (which I call "Futexes!"). * (C) Rusty Russell, IBM 2002 * * Generalized futexes, futex requeueing, misc fixes by Ingo Molnar * (C) Copyright 2003 Red Hat Inc, All Rights Reserved * * Removed page pinning, fix privately mapped COW pages and other cleanups * (C) Copyright 2003, ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2036_0
crossvul-cpp_data_good_2207_0
/* * Copyright 2011-2013 Con Kolivas * Copyright 2011-2013 Luke Dashjr * Copyright 2010 Jeff Garzik * Copyright 2012 Giel van Schijndel * Copyright 2012 Gavin Andresen * * 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-119/c/good_2207_0
crossvul-cpp_data_good_5281_0
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 2006-2016 The PHP Group | +--------------...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5281_0
crossvul-cpp_data_bad_627_0
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_627_0
crossvul-cpp_data_bad_4787_11
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_11
crossvul-cpp_data_bad_5733_7
/* * 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 ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5733_7
crossvul-cpp_data_bad_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/bad_3859_0