id stringlengths 25 30 | content stringlengths 14 942k | max_stars_repo_path stringlengths 49 55 |
|---|---|---|
crossvul-cpp_data_bad_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/bad_3831_0 |
crossvul-cpp_data_bad_5681_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_5681_0 |
crossvul-cpp_data_bad_5614_0 | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5614_0 |
crossvul-cpp_data_bad_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/bad_1793_0 |
crossvul-cpp_data_bad_3826_0 | /* 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_3826_0 |
crossvul-cpp_data_bad_3473_0 | /*
* taskstats.c - Export per-task statistics to userland
*
* Copyright (C) Shailabh Nagar, IBM Corp. 2006
* (C) Balbir Singh, IBM Corp. 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 Sof... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3473_0 |
crossvul-cpp_data_good_5569_0 | /*
HIDP implementation for Linux Bluetooth stack (BlueZ).
Copyright (C) 2003-2004 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 2 as
published by the Free Software Foundation;
TH... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5569_0 |
crossvul-cpp_data_bad_5685_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_5685_0 |
crossvul-cpp_data_good_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/good_5098_0 |
crossvul-cpp_data_bad_5690_0 | /*
* af_llc.c - LLC User Interface SAPs
* Description:
* Functions in this module are implementation of socket based llc
* communications for the Linux operating system. Support of llc class
* one and class two is provided via SOCK_DGRAM and SOCK_STREAM
* respectively.
*
* An llc2 connection is (mac +... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5690_0 |
crossvul-cpp_data_good_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/good_4240_3 |
crossvul-cpp_data_bad_2825_0 | /*
* linux/kernel/exit.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/sched/autogroup.h>
#include <linux/sched/mm.h>
#include <linux/sched/stat.h>
#include <linux/sched/task.h>
#include <linux/sched/task_stack.h>
#include <linux/sched/cputime.h>
#i... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2825_0 |
crossvul-cpp_data_bad_5073_0 | /*
* linux/fs/isofs/rock.c
*
* (C) 1992, 1993 Eric Youngdale
*
* Rock Ridge Extensions to iso9660
*/
#include <linux/slab.h>
#include <linux/pagemap.h>
#include "isofs.h"
#include "rock.h"
/*
* These functions are designed to read the system areas of a directory record
* and extract relevant information.... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5073_0 |
crossvul-cpp_data_bad_187_0 | /* ecc.c
*
* Copyright (C) 2006-2017 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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) a... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_187_0 |
crossvul-cpp_data_bad_3824_0 | /* 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_3824_0 |
crossvul-cpp_data_good_2770_0 | /*
* Memory Migration functionality - linux/mm/migrate.c
*
* Copyright (C) 2006 Silicon Graphics, Inc., Christoph Lameter
*
* Page migration was first developed in the context of the memory hotplug
* project. The main authors of the migration code are:
*
* IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
* Hirokazu T... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2770_0 |
crossvul-cpp_data_bad_2371_0 | /*
* Copyright (C) 1995 Linus Torvalds
*
* Pentium III FXSR, SSE support
* Gareth Hughes <gareth@valinux.com>, May 2000
*
* X86-64 port
* Andi Kleen.
*
* CPU hotplug support - ashok.raj@intel.com
*/
/*
* This file handles the architecture-dependent parts of process handling..
*/
#include <linux/cpu.h>... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2371_0 |
crossvul-cpp_data_bad_438_3 | /*
* Soft: Keepalived is a failover program for the LVS project
* <www.linuxvirtualserver.org>. It monitor & manipulate
* a loadbalanced server pool using multi-layer checks.
*
* Part: Dynamic data structure definition.
*
* Author: Alexandre Cassen, <acassen@linux-vs.... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_438_3 |
crossvul-cpp_data_bad_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/bad_1791_0 |
crossvul-cpp_data_bad_3827_0 | /*
* NET An implementation of the SOCKET network access protocol.
*
* Version: @(#)socket.c 1.1.93 18/02/95
*
* Authors: Orest Zborowski, <obz@Kodak.COM>
* Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
*
* Fixes:
* Anonymous : NOTSOCK/BADF cleanup. Error fix in
* shutdown()
* Alan Co... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3827_0 |
crossvul-cpp_data_good_3568_7 | /* -*- Mode: c; c-basic-offset: 2 -*-
*
* raptor_option.c - Class options
*
* Copyright (C) 2004-2010, David Beckett http://www.dajobe.org/
* Copyright (C) 2004-2005, University of Bristol, UK http://www.bristol.ac.uk/
*
* This package is Free Software and part of Redland http://librdf.org/
*
* It is license... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3568_7 |
crossvul-cpp_data_good_5099_0 | /*
* Copyright (c) 2006 Oracle. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source tree, or t... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5099_0 |
crossvul-cpp_data_bad_5050_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.
*
* Routing netlink socket interface: protocol independent part.
*
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5050_0 |
crossvul-cpp_data_bad_5340_0 | /* Netfilter messages via netlink socket. Allows for user space
* protocol helpers and general trouble making from userspace.
*
* (C) 2001 by Jay Schulist <jschlst@samba.org>,
* (C) 2002-2005 by Harald Welte <laforge@gnumonks.org>
* (C) 2005,2007 by Pablo Neira Ayuso <pablo@netfilter.org>
*
* Initial netfilter m... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5340_0 |
crossvul-cpp_data_bad_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/bad_1766_0 |
crossvul-cpp_data_bad_5049_0 | /*
* af_llc.c - LLC User Interface SAPs
* Description:
* Functions in this module are implementation of socket based llc
* communications for the Linux operating system. Support of llc class
* one and class two is provided via SOCK_DGRAM and SOCK_STREAM
* respectively.
*
* An llc2 connection is (mac +... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5049_0 |
crossvul-cpp_data_bad_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/bad_3270_0 |
crossvul-cpp_data_bad_506_0 | /*
* ipddp.c: IP to Appletalk-IP Encapsulation driver for Linux
* Appletalk-IP to IP Decapsulation driver for Linux
*
* Authors:
* - DDP-IP Encap by: Bradford W. Johnson <johns393@maroon.tc.umn.edu>
* - DDP-IP Decap by: Jay Schulist <jschlst@samba.org>
*
* Derived from:
* - Almost all code already exist... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_506_0 |
crossvul-cpp_data_bad_460_0 | /*
* Crypto user configuration API.
*
* Copyright (C) 2011 secunet Security Networks AG
* Copyright (C) 2011 Steffen Klassert <steffen.klassert@secunet.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_460_0 |
crossvul-cpp_data_good_5689_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_5689_0 |
crossvul-cpp_data_good_2958_3 | /* 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.
*/
#include "vim.h"
#ifdef AMIGA
# include <... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2958_3 |
crossvul-cpp_data_good_3769_0 | /*
* binfmt_misc.c
*
* Copyright (C) 1997 Richard Günther
*
* binfmt_misc detects binaries via a magic or filename extension and invokes
* a specified wrapper. This should obsolete binfmt_java, binfmt_em86 and
* binfmt_mz.
*
* 1997-04-25 first version
* [...]
* 1997-05-19 cleanup
* 1997-06-26 hpa: ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3769_0 |
crossvul-cpp_data_good_2864_1 | /*
* FPU signal frame handling routines.
*/
#include <linux/compat.h>
#include <linux/cpu.h>
#include <asm/fpu/internal.h>
#include <asm/fpu/signal.h>
#include <asm/fpu/regset.h>
#include <asm/fpu/xstate.h>
#include <asm/sigframe.h>
#include <asm/trace/fpu.h>
static struct _fpx_sw_bytes fx_sw_reserved, fx_sw_rese... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2864_1 |
crossvul-cpp_data_bad_1626_0 | /*
* linux/fs/namespace.c
*
* (C) Copyright Al Viro 2000, 2001
* Released under GPL v2.
*
* Based on code from fs/super.c, copyright Linus Torvalds and others.
* Heavily rewritten.
*/
#include <linux/syscalls.h>
#include <linux/export.h>
#include <linux/capability.h>
#include <linux/mnt_namespace.h>
#include ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1626_0 |
crossvul-cpp_data_good_3401_0 | /**************************************************************************
*
* Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"),... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3401_0 |
crossvul-cpp_data_bad_432_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-200/c/bad_432_0 |
crossvul-cpp_data_good_2371_0 | /*
* Copyright (C) 1995 Linus Torvalds
*
* Pentium III FXSR, SSE support
* Gareth Hughes <gareth@valinux.com>, May 2000
*
* X86-64 port
* Andi Kleen.
*
* CPU hotplug support - ashok.raj@intel.com
*/
/*
* This file handles the architecture-dependent parts of process handling..
*/
#include <linux/cpu.h>... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2371_0 |
crossvul-cpp_data_bad_1674_0 | /*
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/bad_1674_0 |
crossvul-cpp_data_good_5130_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.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5130_0 |
crossvul-cpp_data_bad_3833_0 | /*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Copyright (C) 2009-2010 Gustavo F. Padovan <gustavo@padovan.org>
Copyright (C) 2010 Google Inc.
Copyright (C) 2011 ProFUSION Embedded Systems
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
This... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3833_0 |
crossvul-cpp_data_bad_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/bad_760_3 |
crossvul-cpp_data_good_1125_3 | /*
* Elliptic curve DSA
*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
*... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1125_3 |
crossvul-cpp_data_bad_2425_0 | /*
* Media device
*
* Copyright (C) 2010 Nokia Corporation
*
* Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
* Sakari Ailus <sakari.ailus@iki.fi>
*
* 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
*... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2425_0 |
crossvul-cpp_data_good_2330_0 | /*
* Copyright 2002-2005, Instant802 Networks, Inc.
* Copyright 2005-2006, Devicescape Software, Inc.
* Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
* Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2330_0 |
crossvul-cpp_data_bad_4074_2 | /*
* This file is part of ubridge, a program to bridge network interfaces
* to UDP tunnels.
*
* Copyright (C) 2015 GNS3 Technologies Inc.
*
* ubridge 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 Fou... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_4074_2 |
crossvul-cpp_data_good_5073_0 | /*
* linux/fs/isofs/rock.c
*
* (C) 1992, 1993 Eric Youngdale
*
* Rock Ridge Extensions to iso9660
*/
#include <linux/slab.h>
#include <linux/pagemap.h>
#include "isofs.h"
#include "rock.h"
/*
* These functions are designed to read the system areas of a directory record
* and extract relevant information.... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5073_0 |
crossvul-cpp_data_bad_3841_0 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3841_0 |
crossvul-cpp_data_good_3836_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_3836_0 |
crossvul-cpp_data_good_3769_1 | /*
* linux/fs/binfmt_script.c
*
* Copyright (C) 1996 Martin von Löwis
* original #!-checking implemented by tytso.
*/
#include <linux/module.h>
#include <linux/string.h>
#include <linux/stat.h>
#include <linux/binfmts.h>
#include <linux/init.h>
#include <linux/file.h>
#include <linux/err.h>
#include <linux/fs... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3769_1 |
crossvul-cpp_data_good_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/good_2951_0 |
crossvul-cpp_data_bad_3840_0 | /*
* TUN - Universal TUN/TAP device driver.
* Copyright (C) 1999-2002 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 as published by
* the Free Software Foundation; either version 2 of the L... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3840_0 |
crossvul-cpp_data_bad_4747_0 | #include <linux/mm.h>
#include <linux/vmacache.h>
#include <linux/hugetlb.h>
#include <linux/huge_mm.h>
#include <linux/mount.h>
#include <linux/seq_file.h>
#include <linux/highmem.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <linux/mempolicy.h>
#include <linux/rmap.h>
#inclu... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_4747_0 |
crossvul-cpp_data_bad_3835_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/bad_3835_0 |
crossvul-cpp_data_good_187_0 | /* ecc.c
*
* Copyright (C) 2006-2017 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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) a... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_187_0 |
crossvul-cpp_data_bad_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/bad_3366_0 |
crossvul-cpp_data_good_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/good_3441_0 |
crossvul-cpp_data_good_295_1 | /* $OpenBSD: auth2-hostbased.c,v 1.36 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 ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_295_1 |
crossvul-cpp_data_good_760_2 | /*
* 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.
*
* ROUTE - implementation of the IP router.
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mug... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_760_2 |
crossvul-cpp_data_good_4240_2 | // SPDX-License-Identifier: GPL-2.0
/*
* Kernel internal timers
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better.
*
* 1997-09-10 Updated NTP code according to technical memorandum Jan '96
* "A Kernel Model for Precision Tim... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_4240_2 |
crossvul-cpp_data_good_2853_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2853_0 |
crossvul-cpp_data_good_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/good_5609_0 |
crossvul-cpp_data_bad_2490_3 | /* Copyright (c) 2001 Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2016, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file nodelist.c
*
* \brief Structures and functions for tracking wh... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2490_3 |
crossvul-cpp_data_good_2426_0 | /*
* kernel/sched/core.c
*
* Kernel scheduler and related syscalls
*
* Copyright (C) 1991-2002 Linus Torvalds
*
* 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and
* make semaphores SMP safe
* 1998-11-19 Implemented schedule_timeout() and related stuff
* by Andrea Arcangeli
* 2002-01... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2426_0 |
crossvul-cpp_data_good_1124_4 | /*
* Elliptic curve DSA
*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
*... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1124_4 |
crossvul-cpp_data_bad_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/bad_2527_0 |
crossvul-cpp_data_good_866_3 | /* Written by Ricky Zhou <ricky@fedoraproject.org>
* Fredrik Thulin <fredrik@yubico.com> implemented pam_modutil_drop_priv
*
* Copyright (c) 2011-2014 Yubico AB
* Copyright (c) 2011 Ricky Zhou <ricky@fedoraproject.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_866_3 |
crossvul-cpp_data_bad_760_2 | /*
* 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.
*
* ROUTE - implementation of the IP router.
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mug... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_760_2 |
crossvul-cpp_data_good_3568_10 | /* -*- Mode: c; c-basic-offset: 2 -*-
*
* raptor_turtle_writer.c - Raptor Turtle Writer
*
* Copyright (C) 2006, Dave Robillard
* Copyright (C) 2003-2008, 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 par... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3568_10 |
crossvul-cpp_data_good_3833_0 | /*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Copyright (C) 2009-2010 Gustavo F. Padovan <gustavo@padovan.org>
Copyright (C) 2010 Google Inc.
Copyright (C) 2011 ProFUSION Embedded Systems
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
This... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3833_0 |
crossvul-cpp_data_bad_2575_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2575_0 |
crossvul-cpp_data_good_3825_0 | /* 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/good_3825_0 |
crossvul-cpp_data_bad_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/bad_3568_9 |
crossvul-cpp_data_good_1841_0 | /*
* SWIOTLB-based DMA API implementation
*
* Copyright (C) 2012 ARM Ltd.
* Author: Catalin Marinas <catalin.marinas@arm.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 the Free Software Foundation.
... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1841_0 |
crossvul-cpp_data_good_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/good_759_1 |
crossvul-cpp_data_bad_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/bad_5691_0 |
crossvul-cpp_data_good_5690_0 | /*
* af_llc.c - LLC User Interface SAPs
* Description:
* Functions in this module are implementation of socket based llc
* communications for the Linux operating system. Support of llc class
* one and class two is provided via SOCK_DGRAM and SOCK_STREAM
* respectively.
*
* An llc2 connection is (mac +... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5690_0 |
crossvul-cpp_data_bad_2075_0 | /*
* Media device
*
* Copyright (C) 2010 Nokia Corporation
*
* Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
* Sakari Ailus <sakari.ailus@iki.fi>
*
* 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
*... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2075_0 |
crossvul-cpp_data_good_5696_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_5696_0 |
crossvul-cpp_data_good_3840_0 | /*
* TUN - Universal TUN/TAP device driver.
* Copyright (C) 1999-2002 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 as published by
* the Free Software Foundation; either version 2 of the L... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3840_0 |
crossvul-cpp_data_good_4074_0 |
/*-------------------------------------------------------------------------*/
/**
@file iniparser.c
@author N. Devillard
@brief Parser for ini files.
*/
/*--------------------------------------------------------------------------*/
/*---------------------------- Includes --------------------------------... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_4074_0 |
crossvul-cpp_data_good_867_1 | /*
* Copyright (C) 2014-2019 Yubico AB - See COPYING
*/
#include "util.h"
#include <u2f-server.h>
#include <u2f-host.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <stdarg.h>
#include <syslog.h>
#include <pwd.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
int get_devices_... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_867_1 |
crossvul-cpp_data_bad_2770_0 | /*
* Memory Migration functionality - linux/mm/migrate.c
*
* Copyright (C) 2006 Silicon Graphics, Inc., Christoph Lameter
*
* Page migration was first developed in the context of the memory hotplug
* project. The main authors of the migration code are:
*
* IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
* Hirokazu T... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2770_0 |
crossvul-cpp_data_good_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/good_3828_0 |
crossvul-cpp_data_good_1508_4 | /*
Copyright (C) 2010 ABRT team
Copyright (C) 2010 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_4 |
crossvul-cpp_data_bad_3834_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_3834_0 |
crossvul-cpp_data_good_203_0 | /* Copyright (c) 2013-2018 the Civetweb developers
* Copyright (c) 2004-2013 Sergey Lyubka
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limita... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_203_0 |
crossvul-cpp_data_bad_1596_2 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1596_2 |
crossvul-cpp_data_bad_5678_0 | /*
* algif_hash: User-space interface for hash algorithms
*
* This file provides the user-space API for hash algorithms.
*
* Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5678_0 |
crossvul-cpp_data_bad_437_0 | /*
* Soft: Keepalived is a failover program for the LVS project
* <www.linuxvirtualserver.org>. It monitor & manipulate
* a loadbalanced server pool using multi-layer checks.
*
* Part: Main program structure.
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_437_0 |
crossvul-cpp_data_bad_438_5 | /*
* Soft: Keepalived is a failover program for the LVS project
* <www.linuxvirtualserver.org>. It monitor & manipulate
* a loadbalanced server pool using multi-layer checks.
*
* Part: Main program structure.
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_438_5 |
crossvul-cpp_data_good_1790_0 | /*
* Point-to-Point Tunneling Protocol for Linux
*
* Authors: Dmitry Kozlov <xeb@mail.ru>
*
* 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_1790_0 |
crossvul-cpp_data_good_2075_0 | /*
* Media device
*
* Copyright (C) 2010 Nokia Corporation
*
* Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
* Sakari Ailus <sakari.ailus@iki.fi>
*
* 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
*... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2075_0 |
crossvul-cpp_data_bad_5688_0 | /*
* IUCV protocol stack for Linux on zSeries
*
* Copyright IBM Corp. 2006, 2009
*
* Author(s): Jennifer Hunt <jenhunt@us.ibm.com>
* Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
* PM functions:
* Ursula Braun <ursula.braun@de.ibm.com>
*/
#define KMSG_COMPONENT "af_iucv"
#define pr_fmt(fmt) KMSG_COMP... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5688_0 |
crossvul-cpp_data_good_2425_0 | /*
* Media device
*
* Copyright (C) 2010 Nokia Corporation
*
* Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
* Sakari Ailus <sakari.ailus@iki.fi>
*
* 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
*... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2425_0 |
crossvul-cpp_data_bad_1841_0 | /*
* SWIOTLB-based DMA API implementation
*
* Copyright (C) 2012 ARM Ltd.
* Author: Catalin Marinas <catalin.marinas@arm.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 the Free Software Foundation.
... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1841_0 |
crossvul-cpp_data_bad_1508_0 | /*
Copyright (C) 2010 ABRT team
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 in th... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1508_0 |
crossvul-cpp_data_good_2751_0 | /******************************************************************************
*
* Module Name: psobject - Support for parse objects
*
*****************************************************************************/
/******************************************************************************
*
* 1. Copyright N... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2751_0 |
crossvul-cpp_data_good_2490_3 | /* Copyright (c) 2001 Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2016, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file nodelist.c
*
* \brief Structures and functions for tracking wh... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2490_3 |
crossvul-cpp_data_good_506_0 | /*
* ipddp.c: IP to Appletalk-IP Encapsulation driver for Linux
* Appletalk-IP to IP Decapsulation driver for Linux
*
* Authors:
* - DDP-IP Encap by: Bradford W. Johnson <johns393@maroon.tc.umn.edu>
* - DDP-IP Decap by: Jay Schulist <jschlst@samba.org>
*
* Derived from:
* - Almost all code already exist... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_506_0 |
crossvul-cpp_data_bad_2864_1 | /*
* FPU signal frame handling routines.
*/
#include <linux/compat.h>
#include <linux/cpu.h>
#include <asm/fpu/internal.h>
#include <asm/fpu/signal.h>
#include <asm/fpu/regset.h>
#include <asm/fpu/xstate.h>
#include <asm/sigframe.h>
#include <asm/trace/fpu.h>
static struct _fpx_sw_bytes fx_sw_reserved, fx_sw_rese... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2864_1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.