id stringlengths 25 30 | content stringlengths 14 942k | max_stars_repo_path stringlengths 49 55 |
|---|---|---|
crossvul-cpp_data_bad_295_1 | /* $OpenBSD: auth2-hostbased.c,v 1.35 2018/07/09 21:35:50 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. 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 sour... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_295_1 |
crossvul-cpp_data_good_5684_0 | /*
RFCOMM implementation for Linux Bluetooth stack (BlueZ).
Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com>
Copyright (C) 2002 Marcel Holtmann <marcel@holtmann.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5684_0 |
crossvul-cpp_data_bad_5697_0 | /*
* VMware vSockets Driver
*
* Copyright (C) 2007-2013 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation version 2 and no later version.
*
* This progr... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5697_0 |
crossvul-cpp_data_bad_4051_0 | /*
* Copyright (C) 1996-1998,2012 Michael R. Elkins <me@mutt.org>
* Copyright (C) 1996-1999 Brandon Long <blong@fiction.net>
* Copyright (C) 1999-2009,2012,2017 Brendan Cully <brendan@kublai.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gener... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_4051_0 |
crossvul-cpp_data_good_3118_0 | #include <linux/export.h>
#include <linux/bvec.h>
#include <linux/uio.h>
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/splice.h>
#include <net/checksum.h>
#define PIPE_PARANOIA /* for now */
#define iterate_iovec(i, n, __v, __p, skip, STEP) { \
size_t left; \
size... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3118_0 |
crossvul-cpp_data_good_3568_9 | /* -*- Mode: c; c-basic-offset: 2 -*-
*
* raptor_rss.c - Raptor Feeds (RSS and Atom) tag soup parser
*
* Copyright (C) 2003-2010, David Beckett http://www.dajobe.org/
* Copyright (C) 2003-2005, University of Bristol, UK http://www.bristol.ac.uk/
*
* This package is Free Software and part of Redland http://librd... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3568_9 |
crossvul-cpp_data_bad_860_0 | /* $Id: upnpevents.c,v 1.39 2018/03/12 22:41:54 nanard Exp $ */
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* MiniUPnP project
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* (c) 2008-2018 Thomas Bernard
* This software is subject to the conditions detailed
* in the LICENCE file provided within the d... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_860_0 |
crossvul-cpp_data_bad_3441_0 | /*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.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 t... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3441_0 |
crossvul-cpp_data_good_3270_0 | /*
* linux/fs/ext4/inode.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/inode.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* 64-bit file support on 64-b... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3270_0 |
crossvul-cpp_data_bad_3822_1 | /* xfrm_user.c: User interface to configure xfrm engine.
*
* Copyright (C) 2002 David S. Miller (davem@redhat.com)
*
* Changes:
* Mitsuru KANDA @USAGI
* Kazunori MIYAZAWA @USAGI
* Kunihiro Ishiguro <kunihiro@ipinfusion.com>
* IPv6 support
*
*/
#include <linux/crypto.h>
#include <linux/module.h>
#include ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3822_1 |
crossvul-cpp_data_bad_5682_0 | /*
* 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.
*
* Copyright (C) Alan Cox GW4PTS (alan@lxorguk.ukuu.org.uk)
*... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5682_0 |
crossvul-cpp_data_good_1596_0 | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1596_0 |
crossvul-cpp_data_bad_5057_0 | /*
* Timers abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 you... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5057_0 |
crossvul-cpp_data_good_1793_0 | /* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
*/
#include <gssrpc/rpc.h>
#include <krb5.h>
#include <errno.h>
#include <kadm5/admin.h>
#include <kadm5/kadm_rpc.h>
#include <kadm5/admin_xdr.h>
#include <stdlib.h>
#include <string... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1793_0 |
crossvul-cpp_data_good_5692_0 | /*
* 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.
*
* Copyright Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk)
... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5692_0 |
crossvul-cpp_data_bad_1694_0 | /*
md.c : Multiple Devices driver for Linux
Copyright (C) 1998, 1999, 2000 Ingo Molnar
completely rewritten, based on the MD driver code from Marc Zyngier
Changes:
- RAID-1/RAID-5 extensions by Miguel de Icaza, Gadi Oxman, Ingo Molnar
- RAID-6 extensions by H. Peter Anvin <hpa@zytor.com>
- b... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1694_0 |
crossvul-cpp_data_bad_1829_3 | /***********************************************************************/
/* */
/* OCaml */
/* */
/* Xavier Ler... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1829_3 |
crossvul-cpp_data_bad_5060_0 | /*
* X.25 Packet Layer release 002
*
* This is ALPHA test software. This code may break your machine,
* randomly fail to work with new releases, misbehave and/or generally
* screw up. It might even work.
*
* This code REQUIRES 2.1.15 or higher
*
* This module:
* This module is free software; you can redistri... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5060_0 |
crossvul-cpp_data_good_4948_0 | /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
*
* 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 be useful, ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_4948_0 |
crossvul-cpp_data_bad_2951_0 | // SPDX-License-Identifier: GPL-2.0
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/sched.h>
#include <linux/hugetlb.h>
static int walk_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end,
struct mm_walk *walk)
{
pte_t *pte;
int err = 0;
pte = pte_offset_map(pmd, addr);
for (;;) {
... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2951_0 |
crossvul-cpp_data_bad_3828_0 | /*
* IPVS An implementation of the IP virtual server support for the
* LINUX operating system. IPVS is now implemented as a module
* over the NetFilter framework. IPVS can be used to build a
* high-performance and highly available server based on a
* clu... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3828_0 |
crossvul-cpp_data_bad_758_2 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/workqueue.h>
#include <linux/rtnetlink.h>
#include <linux/cache.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/idr.h>
#include <linux/rculist.h>
#include <linux/nsproxy.h>
#include <linux/f... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_758_2 |
crossvul-cpp_data_good_2828_0 | /*
* History:
* Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
* to allow user process control of SCSI devices.
* Development Sponsored by Killy Corp. NY NY
*
* Original driver (sg.c):
* Copyright (C) 1992 Lawrence Foard
* Version 2 and 3 extensions to driver:
* Copyright ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2828_0 |
crossvul-cpp_data_bad_866_5 | /*
* Copyright (C) 2014-2019 Yubico AB - See COPYING
*/
/* Define which PAM interfaces we provide */
#define PAM_SM_AUTH
/* Include PAM headers */
#include <security/pam_appl.h>
#include <security/pam_modules.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_866_5 |
crossvul-cpp_data_bad_5609_0 | /*
* ioctl32.c: Conversion between 32bit and 64bit native ioctls.
*
* Copyright (C) 1997-2000 Jakub Jelinek (jakub@redhat.com)
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
* Copyright (C) 2001,2002 Andi Kleen, SuSE Labs
* Copyright (C) 2003 Pavel Machek (pavel@ucw.cz)
*
* These routines mainta... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5609_0 |
crossvul-cpp_data_bad_3444_0 | /*
* Copyright (C) 2004 IBM Corporation
*
* Authors:
* Leendert van Doorn <leendert@watson.ibm.com>
* Dave Safford <safford@watson.ibm.com>
* Reiner Sailer <sailer@watson.ibm.com>
* Kylene Hall <kjhall@us.ibm.com>
*
* Maintained by: <tpmdd-devel@lists.sourceforge.net>
*
* Device driver for TCG/TCPA TPM (trus... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3444_0 |
crossvul-cpp_data_good_3366_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-200/c/good_3366_0 |
crossvul-cpp_data_good_3829_0 | /*
* Copyright (c) 2007 The University of Aberdeen, Scotland, UK
* Copyright (c) 2005-7 The University of Waikato, Hamilton, New Zealand.
* Copyright (c) 2005-7 Ian McDonald <ian.mcdonald@jandi.co.nz>
*
* An implementation of the DCCP protocol
*
* This code has been developed by the University of Waikato ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3829_0 |
crossvul-cpp_data_bad_5058_0 | /*
* Timers abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 you... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5058_0 |
crossvul-cpp_data_good_866_5 | /*
* Copyright (C) 2014-2019 Yubico AB - See COPYING
*/
/* Define which PAM interfaces we provide */
#define PAM_SM_AUTH
/* Include PAM headers */
#include <security/pam_appl.h>
#include <security/pam_modules.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_866_5 |
crossvul-cpp_data_bad_603_0 | // SPDX-License-Identifier: GPL-2.0
/* sbuslib.c: Helper library for SBUS framebuffer drivers.
*
* Copyright (C) 2003 David S. Miller (davem@redhat.com)
*/
#include <linux/compat.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/fb.h>
#include <linux/mm.h>
#include <li... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_603_0 |
crossvul-cpp_data_bad_5059_0 | /*
* Timers abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 you... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5059_0 |
crossvul-cpp_data_good_5686_0 | /*
* Copyright (C) ST-Ericsson AB 2010
* Author: Sjur Brendeland sjur.brandeland@stericsson.com
* License terms: GNU General Public License (GPL) version 2
*/
#define pr_fmt(fmt) KBUILD_MODNAME ":%s(): " fmt, __func__
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/sched.h>... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5686_0 |
crossvul-cpp_data_good_3842_0 | /*
* fs/isofs/export.c
*
* (C) 2004 Paul Serice - The new inode scheme requires switching
* from iget() to iget5_locked() which means
* the NFS export operations have to be hand
* coded because the default routines rely on
* ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3842_0 |
crossvul-cpp_data_good_1508_6 | /*
Copyright (C) 2011 ABRT team
Copyright (C) 2011 RedHat 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 of the License, or
(at your option) any later ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1508_6 |
crossvul-cpp_data_good_5500_0 | /******************************************************************************
* emulate.c
*
* Generic x86 (32-bit and 64-bit) instruction decoder and emulator.
*
* Copyright (c) 2005 Keir Fraser
*
* Linux coding style, mod r/m decoder, segment base fixes, real-mode
* privileged instructions:
*
* Copyright (... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5500_0 |
crossvul-cpp_data_bad_308_0 | /* Paravirtualization interfaces
Copyright (C) 2006 Rusty Russell IBM Corporation
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 opt... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_308_0 |
crossvul-cpp_data_good_2958_1 | /* vi:set ts=8 sts=4 sw=4 noet:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* fileio.c: read from and write to a fi... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2958_1 |
crossvul-cpp_data_good_295_0 | /* $OpenBSD: auth2-gss.c,v 1.29 2018/07/31 03:10:27 djm Exp $ */
/*
* Copyright (c) 2001-2003 Simon Wilkinson. 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... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_295_0 |
crossvul-cpp_data_good_3568_4 | /**
* Copyright 2008-2011 Digital Bazaar, Inc.
*
* This file is part of librdfa.
*
* librdfa is Free Software, and can be licensed under any of the
* following three licenses:
*
* 1. GNU Lesser General Public License (LGPL) V2.1 or any
* newer version
* 2. GNU General Public License (GPL) V2 or any n... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3568_4 |
crossvul-cpp_data_bad_1829_2 | /***********************************************************************/
/* */
/* OCaml */
/* */
/* Xavier Leroy ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1829_2 |
crossvul-cpp_data_good_1766_0 | /*
* Copyright 2003 Digi International (www.digi.com)
* Scott H Kilau <Scott_Kilau at digi dot 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, or (at your option)
... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1766_0 |
crossvul-cpp_data_bad_2454_0 | /*
* slcan.c - serial line CAN interface driver (using tty line discipline)
*
* This file is derived from linux/drivers/net/slip/slip.c
*
* slip.c Authors : Laurence Culhane <loz@holmes.demon.co.uk>
* Fred N. van Kempen <waltje@uwalt.nl.mugnet.org>
* slcan.c Author : Oliver Hartkopp <socketca... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2454_0 |
crossvul-cpp_data_good_2737_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% M M AAA TTTTT L AAA BBBB ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2737_0 |
crossvul-cpp_data_good_2526_0 | /*
* Timers abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 you... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2526_0 |
crossvul-cpp_data_bad_5500_0 | /******************************************************************************
* emulate.c
*
* Generic x86 (32-bit and 64-bit) instruction decoder and emulator.
*
* Copyright (c) 2005 Keir Fraser
*
* Linux coding style, mod r/m decoder, segment base fixes, real-mode
* privileged instructions:
*
* Copyright (... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5500_0 |
crossvul-cpp_data_good_1596_2 | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1596_2 |
crossvul-cpp_data_bad_1596_0 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1596_0 |
crossvul-cpp_data_bad_5098_0 | /*
* Copyright (c) 2014, Ericsson AB
* 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 conditi... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5098_0 |
crossvul-cpp_data_good_2375_1 | /* lib/rpc/svc_auth_gss.c */
/*
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
Copyright (c) 2000 Dug Song <dugsong@UMICH.EDU>.
All rights reserved, all wrongs reversed.
Redistribution and use in source and binary forms, with or without
modification, are permitted provi... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2375_1 |
crossvul-cpp_data_good_760_3 | /*
* IPv6 library code, needed by static components when full IPv6 support is
* not configured or static. These functions are needed by GSO/GRO implementation.
*/
#include <linux/export.h>
#include <net/ip.h>
#include <net/ipv6.h>
#include <net/ip6_fib.h>
#include <net/addrconf.h>
#include <net/secure_seq.h>
#inclu... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_760_3 |
crossvul-cpp_data_bad_3568_6 | /* -*- Mode: c; c-basic-offset: 2 -*-
*
* raptor_libxml.c - Raptor libxml functions
*
* Copyright (C) 2000-2009, David Beckett http://www.dajobe.org/
* Copyright (C) 2000-2004, University of Bristol, UK http://www.bristol.ac.uk/
*
* This package is Free Software and part of Redland http://librdf.org/
*
* It ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3568_6 |
crossvul-cpp_data_good_5697_0 | /*
* VMware vSockets Driver
*
* Copyright (C) 2007-2013 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation version 2 and no later version.
*
* This progr... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5697_0 |
crossvul-cpp_data_good_295_2 | /* $OpenBSD: auth2-pubkey.c,v 1.83 2018/07/31 03:10:27 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. 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 cod... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_295_2 |
crossvul-cpp_data_good_3417_0 | /*
* AVI demuxer
* Copyright (c) 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 License, or (at you... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3417_0 |
crossvul-cpp_data_bad_5258_0 | /*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+---------... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5258_0 |
crossvul-cpp_data_bad_4936_0 | /*
* Copyright(c) 2006 - 2007 Atheros Corporation. All rights reserved.
* Copyright(c) 2007 - 2008 Chris Snook <csnook@redhat.com>
*
* Derived from Intel e1000 driver
* Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_4936_0 |
crossvul-cpp_data_good_5691_0 | /*
* 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.
*
* Copyright Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk)
... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5691_0 |
crossvul-cpp_data_good_860_0 | /* $Id: upnpevents.c,v 1.39 2018/03/12 22:41:54 nanard Exp $ */
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* MiniUPnP project
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* (c) 2008-2018 Thomas Bernard
* This software is subject to the conditions detailed
* in the LICENCE file provided within the d... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_860_0 |
crossvul-cpp_data_bad_725_1 | /*
* Univention Directory Notifier
*
* Copyright 2004-2019 Univention GmbH
*
* http://www.univention.de/
*
* All rights reserved.
*
* The source code of this program is made available
* under the terms of the GNU Affero General Public License version 3
* (GNU AGPL V3) as published by the Free Software Founda... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_725_1 |
crossvul-cpp_data_bad_3839_0 | /* net/atm/common.c - ATM sockets (common part for PVC and SVC) */
/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/net.h> /* struct socket, struct proto_ops */
#include <linux/atm.h... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3839_0 |
crossvul-cpp_data_good_2575_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2575_0 |
crossvul-cpp_data_good_1331_0 | // SPDX-License-Identifier: GPL-2.0
/* Parts of this driver are based on the following:
* - Kvaser linux leaf driver (version 4.78)
* - CAN driver for esd CAN-USB/2
* - Kvaser linux usbcanII driver (version 5.3)
*
* Copyright (C) 2002-2018 KVASER AB, Sweden. All rights reserved.
* Copyright (C) 2010 Matthias F... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1331_0 |
crossvul-cpp_data_bad_295_0 | /* $OpenBSD: auth2-gss.c,v 1.28 2018/07/10 09:13:30 djm Exp $ */
/*
* Copyright (c) 2001-2003 Simon Wilkinson. 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... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_295_0 |
crossvul-cpp_data_bad_4240_3 | // SPDX-License-Identifier: GPL-2.0
/*
* This is a maximally equidistributed combined Tausworthe generator
* based on code from GNU Scientific Library 1.5 (30 Jun 2004)
*
* lfsr113 version:
*
* x_n = (s1_n ^ s2_n ^ s3_n ^ s4_n)
*
* s1_{n+1} = (((s1_n & 4294967294) << 18) ^ (((s1_n << 6) ^ s1_n) >> 13))
* s2_{... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_4240_3 |
crossvul-cpp_data_good_1791_0 | /*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.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 t... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1791_0 |
crossvul-cpp_data_good_5695_0 | /*
* net/tipc/socket.c: TIPC socket API
*
* Copyright (c) 2001-2007, 2012 Ericsson AB
* Copyright (c) 2004-2008, 2010-2012, Wind River Systems
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are me... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5695_0 |
crossvul-cpp_data_good_5614_0 | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5614_0 |
crossvul-cpp_data_good_3839_0 | /* net/atm/common.c - ATM sockets (common part for PVC and SVC) */
/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/net.h> /* struct socket, struct proto_ops */
#include <linux/atm.h... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3839_0 |
crossvul-cpp_data_bad_3838_0 | /* net/atm/pvc.c - ATM PVC sockets */
/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
#include <linux/net.h> /* struct socket, struct proto_ops */
#include <linux/atm.h> /* ATM stuff */
#include <linux/atmdev.h> /* ATM devices */
#include <linux/errno.h> /* error codes */
#include <linux/kernel.h> /* p... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3838_0 |
crossvul-cpp_data_bad_1508_5 | /*
Copyright (C) 2009 RedHat 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 of the License, or
(at your option) any later version.
This program is dist... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1508_5 |
crossvul-cpp_data_good_1781_0 | /*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1781_0 |
crossvul-cpp_data_good_5059_0 | /*
* Timers abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 you... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5059_0 |
crossvul-cpp_data_good_5057_0 | /*
* Timers abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 you... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5057_0 |
crossvul-cpp_data_bad_3769_2 | /*
* linux/fs/exec.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
/*
* #!-checking implemented by tytso.
*/
/*
* Demand-loading implemented 01.12.91 - no need to read anything but
* the header into memory. The inode of the executable is put into
* "current->executable", and page faults do the actual load... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3769_2 |
crossvul-cpp_data_bad_2828_0 | /*
* History:
* Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
* to allow user process control of SCSI devices.
* Development Sponsored by Killy Corp. NY NY
*
* Original driver (sg.c):
* Copyright (C) 1992 Lawrence Foard
* Version 2 and 3 extensions to driver:
* Copyright ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2828_0 |
crossvul-cpp_data_good_5258_0 | /*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+---------... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5258_0 |
crossvul-cpp_data_bad_759_1 | /*
* IPv6 output functions
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* Based on linux/net/ipv4/ip_output.c
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_759_1 |
crossvul-cpp_data_good_2286_1 | /*
* Generic address resultion entity
*
* Authors:
* net_random Alan Cox
* net_ratelimit Andi Kleen
* in{4,6}_pton YOSHIFUJI Hideaki, Copyright (C)2006 USAGI/WIDE Project
*
* Created by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
*
* This program is free software; you can redistribute it and/or
* modify it ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2286_1 |
crossvul-cpp_data_good_3831_0 | /*
* L2TPv3 IP encapsulation support for IPv6
*
* Copyright (c) 2012 Katalix Systems Ltd
*
* 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-200/c/good_3831_0 |
crossvul-cpp_data_good_2527_0 | /*
* Timers abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 you... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2527_0 |
crossvul-cpp_data_bad_5694_0 | /*
* 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.
*
* Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.u... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5694_0 |
crossvul-cpp_data_good_2864_0 | /*
* FPU register's regset abstraction, for ptrace, core dumps, etc.
*/
#include <asm/fpu/internal.h>
#include <asm/fpu/signal.h>
#include <asm/fpu/regset.h>
#include <asm/fpu/xstate.h>
#include <linux/sched/task_stack.h>
/*
* The xstateregs_active() routine is the same as the regset_fpregs_active() routine,
* as ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2864_0 |
crossvul-cpp_data_good_1694_0 | /*
md.c : Multiple Devices driver for Linux
Copyright (C) 1998, 1999, 2000 Ingo Molnar
completely rewritten, based on the MD driver code from Marc Zyngier
Changes:
- RAID-1/RAID-5 extensions by Miguel de Icaza, Gadi Oxman, Ingo Molnar
- RAID-6 extensions by H. Peter Anvin <hpa@zytor.com>
- b... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1694_0 |
crossvul-cpp_data_bad_335_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_335_0 |
crossvul-cpp_data_bad_3876_0 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3876_0 |
crossvul-cpp_data_bad_3351_7 | /*
* XDR support for nfsd
*
* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
*/
#include "vfs.h"
#include "xdr.h"
#include "auth.h"
#define NFSDDBG_FACILITY NFSDDBG_XDR
/*
* Mapping of S_IF* types to NFS file types
*/
static u32 nfs_ftypes[] = {
NFNON, NFCHR, NFCHR, NFBAD,
NFDIR, NFBAD, NFBLK, ... | ./CrossVul/dataset_final_sorted/CWE-404/c/bad_3351_7 |
crossvul-cpp_data_good_3351_5 | /*
* Copyright (c) 2001 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
* Andy Adamson <kandros@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... | ./CrossVul/dataset_final_sorted/CWE-404/c/good_3351_5 |
crossvul-cpp_data_bad_3351_4 | /*
* Server-side procedures for NFSv4.
*
* Copyright (c) 2002 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
* Andy Adamson <andros@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted... | ./CrossVul/dataset_final_sorted/CWE-404/c/bad_3351_4 |
crossvul-cpp_data_bad_3351_1 | /*
* linux/fs/lockd/svclock.c
*
* Handling of server-side locks, mostly of the blocked variety.
* This is the ugliest part of lockd because we tread on very thin ice.
* GRANT and CANCEL calls may get stuck, meet in mid-flight, etc.
* IMNSHO introducing the grant callback into the NLM protocol was one
* of the wo... | ./CrossVul/dataset_final_sorted/CWE-404/c/bad_3351_1 |
crossvul-cpp_data_bad_3267_0 | /* Userspace key control operations
*
* Copyright (C) 2004-5 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 Foun... | ./CrossVul/dataset_final_sorted/CWE-404/c/bad_3267_0 |
crossvul-cpp_data_good_3351_6 | /*
* Server-side XDR for NFSv4
*
* Copyright (c) 2002 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
* Andy Adamson <andros@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide... | ./CrossVul/dataset_final_sorted/CWE-404/c/good_3351_6 |
crossvul-cpp_data_good_3351_8 | /*
* File operations used by nfsd. Some of these have been ripped from
* other parts of the kernel because they weren't exported, others
* are partial duplicates with added or changed functionality.
*
* Note that several functions dget() the dentry upon which they want
* to act, most notably those that create dir... | ./CrossVul/dataset_final_sorted/CWE-404/c/good_3351_8 |
crossvul-cpp_data_good_3346_0 | /*
* USB ZyXEL omni.net LCD PLUS driver
*
* 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.
*
* See Documentation/usb/usb-serial.txt for more information on using this
* driver
... | ./CrossVul/dataset_final_sorted/CWE-404/c/good_3346_0 |
crossvul-cpp_data_good_3267_1 | /* Manage a process's keyrings
*
* Copyright (C) 2004-2005, 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 ... | ./CrossVul/dataset_final_sorted/CWE-404/c/good_3267_1 |
crossvul-cpp_data_bad_3346_0 | /*
* USB ZyXEL omni.net LCD PLUS driver
*
* 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.
*
* See Documentation/usb/usb-serial.txt for more information on using this
* driver
... | ./CrossVul/dataset_final_sorted/CWE-404/c/bad_3346_0 |
crossvul-cpp_data_good_3351_0 | /*
* linux/fs/lockd/svc.c
*
* This is the central lockd service.
*
* FIXME: Separate the lockd NFS server functionality from the lockd NFS
* client functionality. Oh why didn't Sun create two separate
* services in the first place?
*
* Authors: Olaf Kirch (okir@monad.swb.de)
*
* Copyright (C) 1995, 1996... | ./CrossVul/dataset_final_sorted/CWE-404/c/good_3351_0 |
crossvul-cpp_data_good_3351_4 | /*
* Server-side procedures for NFSv4.
*
* Copyright (c) 2002 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
* Andy Adamson <andros@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted... | ./CrossVul/dataset_final_sorted/CWE-404/c/good_3351_4 |
crossvul-cpp_data_bad_3351_6 | /*
* Server-side XDR for NFSv4
*
* Copyright (c) 2002 The Regents of the University of Michigan.
* All rights reserved.
*
* Kendrick Smith <kmsmith@umich.edu>
* Andy Adamson <andros@umich.edu>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide... | ./CrossVul/dataset_final_sorted/CWE-404/c/bad_3351_6 |
crossvul-cpp_data_bad_3267_1 | /* Manage a process's keyrings
*
* Copyright (C) 2004-2005, 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 ... | ./CrossVul/dataset_final_sorted/CWE-404/c/bad_3267_1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.