id stringlengths 25 30 | content stringlengths 14 942k | max_stars_repo_path stringlengths 49 55 |
|---|---|---|
crossvul-cpp_data_good_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/good_5050_0 |
crossvul-cpp_data_bad_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/bad_203_0 |
crossvul-cpp_data_good_1508_2 | /*
abrt-hook-ccpp.cpp - the hook for C/C++ crashing program
Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com)
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 ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1508_2 |
crossvul-cpp_data_good_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/good_3826_0 |
crossvul-cpp_data_bad_1102_0 | /*
* Copyright (c) 2006, 2018 Oracle and/or its affiliates. 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 director... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1102_0 |
crossvul-cpp_data_bad_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/bad_5130_0 |
crossvul-cpp_data_good_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/good_438_5 |
crossvul-cpp_data_good_438_4 | /*
* 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: Configuration file parser/reader. Place into the dynamic
* data structure re... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_438_4 |
crossvul-cpp_data_bad_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/bad_5684_0 |
crossvul-cpp_data_bad_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/bad_3769_0 |
crossvul-cpp_data_bad_2752_0 | /*******************************************************************************
*
* Module Name: nseval - Object evaluation, includes control method execution
*
******************************************************************************/
/************************************************************************... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2752_0 |
crossvul-cpp_data_good_1508_7 | /*
Copyright (C) 2012 ABRT Team
Copyright (C) 2012 Red Hat, 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 lat... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1508_7 |
crossvul-cpp_data_bad_295_2 | /* $OpenBSD: auth2-pubkey.c,v 1.82 2018/07/11 18:55:11 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 source ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_295_2 |
crossvul-cpp_data_good_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/good_437_0 |
crossvul-cpp_data_good_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/good_3827_0 |
crossvul-cpp_data_good_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/good_603_0 |
crossvul-cpp_data_bad_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/bad_2330_0 |
crossvul-cpp_data_good_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/good_2825_0 |
crossvul-cpp_data_bad_1394_0 | // SPDX-License-Identifier: GPL-2.0
/*
* linux/mm/mincore.c
*
* Copyright (C) 1994-2006 Linus Torvalds
*/
/*
* The mincore() system call.
*/
#include <linux/pagemap.h>
#include <linux/gfp.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/syscalls.h>
#include <linux/swap.h>
#include <linux/swapops... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1394_0 |
crossvul-cpp_data_good_2490_1 | /* 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 entrynodes.c
* \brief Code to manage our fixed first nodes for ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2490_1 |
crossvul-cpp_data_good_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/good_3568_6 |
crossvul-cpp_data_good_3485_0 | /*
comedi/comedi_fops.c
comedi kernel module
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3485_0 |
crossvul-cpp_data_bad_1829_4 | /***********************************************************************/
/* */
/* OCaml */
/* */
/* Xavier Ler... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1829_4 |
crossvul-cpp_data_good_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/good_460_0 |
crossvul-cpp_data_good_1394_0 | // SPDX-License-Identifier: GPL-2.0
/*
* linux/mm/mincore.c
*
* Copyright (C) 1994-2006 Linus Torvalds
*/
/*
* The mincore() system call.
*/
#include <linux/pagemap.h>
#include <linux/gfp.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/syscalls.h>
#include <linux/swap.h>
#include <linux/swapops... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1394_0 |
crossvul-cpp_data_bad_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/bad_5686_0 |
crossvul-cpp_data_bad_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/bad_4240_2 |
crossvul-cpp_data_good_5683_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_5683_0 |
crossvul-cpp_data_bad_3416_0 | /*
* Apple HTTP Live Streaming demuxer
* Copyright (c) 2010 Martin Storsjo
* Copyright (c) 2013 Anssi Hannula
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Fou... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3416_0 |
crossvul-cpp_data_bad_1860_0 | #include <linux/types.h>
#include <linux/errno.h>
#include <linux/kmod.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/file.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/pro... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1860_0 |
crossvul-cpp_data_bad_3696_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/bad_3696_0 |
crossvul-cpp_data_good_151_0 | /*
* linux/kernel/compat.c
*
* Kernel compatibililty routines for e.g. 32 bit syscall support
* on 64 bit kernels.
*
* Copyright (C) 2002-2003 Stephen Rothwell, IBM Corporation
*
* 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/good_151_0 |
crossvul-cpp_data_good_335_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_335_0 |
crossvul-cpp_data_bad_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/bad_5696_0 |
crossvul-cpp_data_bad_5687_0 | /*********************************************************************
*
* Filename: af_irda.c
* Version: 0.9
* Description: IrDA sockets implementation
* Status: Stable
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Sun May 31 10:12:43 1998
* Modified at: Sat Dec 25 21:10:... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5687_0 |
crossvul-cpp_data_bad_2853_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2853_0 |
crossvul-cpp_data_good_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/good_5688_0 |
crossvul-cpp_data_bad_693_0 | /*
* Copyright (c) 2011-2014 Yubico AB
* Copyright (c) 2011 Tollef Fog Heen <tfheen@err.no>
* All rights reserved.
*
* Author : Fredrik Thulin <fredrik@yubico.com>
* Author : Tollef Fog Heen <tfheen@err.no>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pro... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_693_0 |
crossvul-cpp_data_good_5693_0 | /*
* Copyright (C) 2011 Intel Corporation. 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; either version 2 of the License, or
* (at your option) any later version.... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5693_0 |
crossvul-cpp_data_good_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/good_5678_0 |
crossvul-cpp_data_bad_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/bad_5689_0 |
crossvul-cpp_data_bad_5759_0 | #include <linux/fs.h>
#include "headers.h"
/***************************************************************
* Function - bcm_char_open()
*
* Description - This is the "open" entry point for the character
* driver.
*
* Parameters - inode: Pointer to the Inode structure of char device
* filp : File pointer of t... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5759_0 |
crossvul-cpp_data_good_3832_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_3832_0 |
crossvul-cpp_data_good_953_0 | /*
* Copyright (c) Dan Harkins, 2012
*
* Copyright holder grants permission for redistribution and use in source
* and binary forms, with or without modification, provided that the
* following conditions are met:
* 1. Redistribution of source code must retain the above copyright
* notice, this list of con... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_953_0 |
crossvul-cpp_data_bad_5693_0 | /*
* Copyright (C) 2011 Intel Corporation. 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; either version 2 of the License, or
* (at your option) any later version.... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5693_0 |
crossvul-cpp_data_good_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/good_3834_0 |
crossvul-cpp_data_bad_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/bad_5692_0 |
crossvul-cpp_data_good_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/good_3838_0 |
crossvul-cpp_data_good_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/good_5685_0 |
crossvul-cpp_data_good_3830_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_3830_0 |
crossvul-cpp_data_good_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/good_5682_0 |
crossvul-cpp_data_bad_867_1 | /*
* Copyright (C) 2014-2018 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/bad_867_1 |
crossvul-cpp_data_good_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/good_3444_0 |
crossvul-cpp_data_good_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/good_758_2 |
crossvul-cpp_data_bad_1508_2 | /*
abrt-hook-ccpp.cpp - the hook for C/C++ crashing program
Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com)
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 ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1508_2 |
crossvul-cpp_data_good_3876_0 | // SPDX-License-Identifier: GPL-2.0-only
/*
* linux/fs/binfmt_elf.c
*
* These are the functions used to load ELF format executables as used
* on SVr4 machines. Information on the format may be found in the book
* "UNIX SYSTEM V RELEASE 4 Programmers Guide: Ansi C and Programming Support
* Tools".
*
* Copyright... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3876_0 |
crossvul-cpp_data_bad_151_0 | /*
* linux/kernel/compat.c
*
* Kernel compatibililty routines for e.g. 32 bit syscall support
* on 64 bit kernels.
*
* Copyright (C) 2002-2003 Stephen Rothwell, IBM Corporation
*
* 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_151_0 |
crossvul-cpp_data_bad_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/bad_3118_0 |
crossvul-cpp_data_good_3841_0 | /*
* namei.c
*
* PURPOSE
* Inode name 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 contr... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_3841_0 |
crossvul-cpp_data_good_293_0 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2017 The PHP Group |
+---------... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_293_0 |
crossvul-cpp_data_bad_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/bad_4948_0 |
crossvul-cpp_data_good_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/good_3822_1 |
crossvul-cpp_data_good_5678_1 | /*
* algif_skcipher: User-space interface for skcipher algorithms
*
* This file provides the user-space API for symmetric key ciphers.
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5678_1 |
crossvul-cpp_data_good_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/good_4074_2 |
crossvul-cpp_data_bad_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/bad_1508_4 |
crossvul-cpp_data_bad_5048_0 | /*****************************************************************************/
/*
* devio.c -- User space communication with USB devices.
*
* Copyright (C) 1999-2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
*
* This program is free software; you can redistribute it and/or modify
* it under t... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_5048_0 |
crossvul-cpp_data_bad_867_0 | /*
* Copyright (C) 2014-2018 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_867_0 |
crossvul-cpp_data_good_368_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/good_368_0 |
crossvul-cpp_data_good_3837_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_3837_0 |
crossvul-cpp_data_bad_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/bad_3417_0 |
crossvul-cpp_data_bad_438_4 | /*
* 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: Configuration file parser/reader. Place into the dynamic
* data structure re... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_438_4 |
crossvul-cpp_data_bad_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/bad_3568_10 |
crossvul-cpp_data_good_5636_1 | /*
* OpenVPN -- An application to securely tunnel IP networks
* over a single TCP/UDP port, with support for SSL/TLS-based
* session authentication and key exchange,
* packet encryption, packet authentication, and
* packet compression.
*
* Copyright (C) 2002-2010... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5636_1 |
crossvul-cpp_data_good_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/good_725_1 |
crossvul-cpp_data_good_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/good_2454_0 |
crossvul-cpp_data_bad_3842_0 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_3842_0 |
crossvul-cpp_data_good_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/good_1508_0 |
crossvul-cpp_data_bad_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/bad_1781_0 |
crossvul-cpp_data_bad_2737_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% M M AAA TTTTT L AAA BBBB ... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2737_0 |
crossvul-cpp_data_bad_1765_0 | /*
* vivid-osd.c - osd support for testing overlays.
*
* Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* This program is free software; you may redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; v... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_1765_0 |
crossvul-cpp_data_bad_866_3 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_866_3 |
crossvul-cpp_data_bad_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/bad_5099_0 |
crossvul-cpp_data_bad_3832_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_3832_0 |
crossvul-cpp_data_bad_2751_0 | /******************************************************************************
*
* Module Name: psobject - Support for parse objects
*
*****************************************************************************/
/******************************************************************************
*
* 1. Copyright N... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2751_0 |
crossvul-cpp_data_bad_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/bad_3568_7 |
crossvul-cpp_data_bad_2750_0 | /*******************************************************************************
*
* Module Name: dsutils - Dispatcher utilities
*
******************************************************************************/
/******************************************************************************
*
* 1. Copyright Notic... | ./CrossVul/dataset_final_sorted/CWE-200/c/bad_2750_0 |
crossvul-cpp_data_good_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/good_1674_0 |
crossvul-cpp_data_good_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/good_5694_0 |
crossvul-cpp_data_good_3696_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_3696_0 |
crossvul-cpp_data_good_1829_3 | /***********************************************************************/
/* */
/* OCaml */
/* */
/* Xavier Ler... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_1829_3 |
crossvul-cpp_data_good_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/good_4747_0 |
crossvul-cpp_data_bad_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/bad_1790_0 |
crossvul-cpp_data_bad_3830_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_3830_0 |
crossvul-cpp_data_good_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/good_3473_0 |
crossvul-cpp_data_bad_759_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.
*
* 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_759_0 |
crossvul-cpp_data_good_2750_0 | /*******************************************************************************
*
* Module Name: dsutils - Dispatcher utilities
*
******************************************************************************/
/******************************************************************************
*
* 1. Copyright Notic... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_2750_0 |
crossvul-cpp_data_bad_5683_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_5683_0 |
crossvul-cpp_data_good_5687_0 | /*********************************************************************
*
* Filename: af_irda.c
* Version: 0.9
* Description: IrDA sockets implementation
* Status: Stable
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Sun May 31 10:12:43 1998
* Modified at: Sat Dec 25 21:10:... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5687_0 |
crossvul-cpp_data_good_759_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.
*
* 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_759_0 |
crossvul-cpp_data_good_5760_0 | #include "sb_pci_mp.h"
#include <linux/module.h>
#include <linux/parport.h>
extern struct parport *parport_pc_probe_port(unsigned long base_lo,
unsigned long base_hi,
int irq, int dma,
struct device *dev,
int irqflags);
static struct mp_device_t mp_devs[MAX_MP_DEV];
static int mp_nrpcibrds = sizeof(mp_pciboar... | ./CrossVul/dataset_final_sorted/CWE-200/c/good_5760_0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.