id stringlengths 25 30 | content stringlengths 14 942k | max_stars_repo_path stringlengths 49 55 |
|---|---|---|
crossvul-cpp_data_bad_5344_0 | /* Configuration file parsing and CONFIG GET/SET commands implementation.
*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5344_0 |
crossvul-cpp_data_bad_395_3 | /*
Copyright 1996-2006 Han The Thanh <thanh@pdftex.org>
Copyright 2006-2009 Taco Hoekwater <taco@luatex.org>
This file is part of LuaTeX.
LuaTeX 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 ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_395_3 |
crossvul-cpp_data_good_5062_0 | /*
* The copyright in this software is being made available under the 2-clauses
* BSD License, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such rights
* are granted under this license.
*
* Copyright (c) 2002-2014, Universite catholi... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5062_0 |
crossvul-cpp_data_good_4063_0 | /*
* corre.c
*
* Routines to implement Compact Rise-and-Run-length Encoding (CoRRE). This
* code is based on krw's original javatel rfbserver.
*/
/*
* Copyright (C) 2002 RealVNC Ltd.
* OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.
* Original Xvnc code Copyright (C) 1999 AT&T Laborator... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4063_0 |
crossvul-cpp_data_good_3020_1 | /*
* Copyright (c) 2014-2015 Hisilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#include <l... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3020_1 |
crossvul-cpp_data_bad_651_1 | /*
* GPAC - Multimedia Framework C SDK
*
* Authors: Jean Le Feuvre
* Copyright (c) Telecom ParisTech 2000-2012
* All rights reserved
*
* This file is part of GPAC / ISO Media File Format sub-project
*
* GPAC is free software; you can redistribute it and/or modify
* it under the terms of the GNU L... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_651_1 |
crossvul-cpp_data_bad_740_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_740_0 |
crossvul-cpp_data_good_942_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_942_0 |
crossvul-cpp_data_bad_2952_0 | /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
* Copyright (c) 2016 Facebook
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in th... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2952_0 |
crossvul-cpp_data_bad_5675_0 | /*******************************************************************************
* This file contains main functions related to iSCSI Parameter negotiation.
*
* \u00a9 Copyright 2007-2011 RisingTide Systems LLC.
*
* Licensed to the Linux Foundation under the General Public License (GPL) version 2.
*
* Author: Ni... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5675_0 |
crossvul-cpp_data_good_2131_0 | /*
* HID driver for some cherry "special" devices
*
* Copyright (c) 1999 Andreas Gal
* Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
* Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
* Copyright (c) 2006-2007 Jiri Kosina
* Copyright (c) 2008 Jiri Slaby
*/
/*
* This... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2131_0 |
crossvul-cpp_data_good_345_10 | /*
* util.c: utility functions used by OpenSC command line tools.
*
* Copyright (C) 2011 OpenSC Project developers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* versi... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_345_10 |
crossvul-cpp_data_bad_4733_0 | /*
* Copyright (c) 2007 Mellanox Technologies. 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 sou... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4733_0 |
crossvul-cpp_data_bad_160_2 | /*
* This file is part of Espruino, a JavaScript interpreter for Microcontrollers
*
* Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_160_2 |
crossvul-cpp_data_bad_5758_0 | /*******************************************************************************
* Agere Systems Inc.
* Wireless device driver for Linux (wlags49).
*
* Copyright (c) 1998-2003 Agere Systems Inc.
* All rights reserved.
* http://www.agere.com
*
* Initially developed by TriplePoint, Inc.
* http://www.triplepo... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5758_0 |
crossvul-cpp_data_bad_4945_2 | #include "cache.h"
#include "tag.h"
#include "blob.h"
#include "tree.h"
#include "commit.h"
#include "diff.h"
#include "refs.h"
#include "revision.h"
#include "graph.h"
#include "grep.h"
#include "reflog-walk.h"
#include "patch-ids.h"
#include "decorate.h"
#include "log-tree.h"
#include "string-list.h"
#include "line-l... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4945_2 |
crossvul-cpp_data_bad_5644_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-119/c/bad_5644_0 |
crossvul-cpp_data_good_3313_0 | /*
* DVB USB framework
*
* Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@posteo.de>
* Copyright (C) 2012 Antti Palosaari <crope@iki.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3313_0 |
crossvul-cpp_data_good_732_0 | // SPDX-License-Identifier: BSD-2-Clause
/*
* Copyright (c) 2014, STMicroelectronics International N.V.
*/
#include <assert.h>
#include <compiler.h>
#include <crypto/crypto.h>
#include <kernel/tee_ta_manager.h>
#include <mm/tee_mmu.h>
#include <string_ext.h>
#include <string.h>
#include <sys/queue.h>
#include <tee_a... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_732_0 |
crossvul-cpp_data_bad_4787_19 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_19 |
crossvul-cpp_data_good_4946_6 | #include "cache.h"
#include "refs.h"
#include "tag.h"
#include "commit.h"
#include "blob.h"
#include "diff.h"
#include "revision.h"
#include "reachable.h"
#include "cache-tree.h"
#include "progress.h"
#include "list-objects.h"
struct connectivity_progress {
struct progress *progress;
unsigned long count;
};
static ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4946_6 |
crossvul-cpp_data_bad_3578_1 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3578_1 |
crossvul-cpp_data_good_5128_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% W W PPPP GGGG ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5128_0 |
crossvul-cpp_data_bad_3857_0 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Generic socket support routines. Memory allocators, socket lock/release
* handler for protocols to use and g... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3857_0 |
crossvul-cpp_data_good_2365_0 | /* hivex - Windows Registry "hive" extraction library.
* Copyright (C) 2009-2011 Red Hat Inc.
* Derived from code by Petter Nordahl-Hagen under a compatible license:
* Copyright (c) 1997-2007 Petter Nordahl-Hagen.
* Derived from code by Markus Stephany under a compatible license:
* Copyright (c) 2000-2004, Mar... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2365_0 |
crossvul-cpp_data_bad_2206_0 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2206_0 |
crossvul-cpp_data_good_5034_0 | /*-
* Copyright (c) 2003-2007 Tim Kientzle
* Copyright (c) 2008 Joerg Sonnenberger
* Copyright (c) 2011-2012 Michihiro NAKAJIMA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redi... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5034_0 |
crossvul-cpp_data_bad_5064_0 | /* boot.c - Read and analyze ia PC/MS-DOS boot sector
Copyright (C) 1993 Werner Almesberger <werner.almesberger@lrc.di.epfl.ch>
Copyright (C) 1998 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
Copyright (C) 2008-2014 Daniel Baumann <mail@daniel-baumann.ch>
Copyright (C) 2015 Andreas Bombe <aeb@debia... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5064_0 |
crossvul-cpp_data_bad_4836_0 | /*
* RTMP input format
* Copyright (c) 2009 Konstantin Shishkov
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4836_0 |
crossvul-cpp_data_good_234_0 | /* radare - LGPL - Copyright 2012-2017 - pancake, Fedor Sakharov */
#define D0 if(1)
#define D1 if(1)
#include <errno.h>
#define DWARF_DUMP 0
#if DWARF_DUMP
#define DBGFD stdout
#else
#define DBGFD NULL
#endif
#include <r_bin.h>
#include <r_bin_dwarf.h>
#include <r_core.h>
#define STANDARD_OPERAND_COUNT_DWARF2 9
... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_234_0 |
crossvul-cpp_data_bad_2_0 | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2_0 |
crossvul-cpp_data_good_346_0 | /*
* card-cac.c: Support for CAC from NIST SP800-73
* card-default.c: Support for cards with no driver
*
* Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>
* Copyright (C) 2005,2006,2007,2008,2009,2010 Douglas E. Engert <deengert@anl.gov>
* Copyright (C) 2006, Identity Alliance, Thomas Harning <thomas.h... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_346_0 |
crossvul-cpp_data_bad_2128_0 | /*
* Apple "Magic" Wireless Mouse driver
*
* Copyright (c) 2010 Michael Poole <mdpoole@troilus.org>
* Copyright (c) 2010 Chase Douglas <chase.douglas@canonical.com>
*/
/*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publis... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2128_0 |
crossvul-cpp_data_bad_3020_3 | /*
* Copyright (c) 2014-2015 Hisilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#include <l... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3020_3 |
crossvul-cpp_data_good_2068_0 | /* IRC extension for TCP NAT alteration.
*
* (C) 2000-2001 by Harald Welte <laforge@gnumonks.org>
* (C) 2004 Rusty Russell <rusty@rustcorp.com.au> IBM Corporation
* based on a copy of RR's ip_nat_ftp.c
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Genera... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2068_0 |
crossvul-cpp_data_bad_2130_0 | /*
* HID driver for Logitech Unifying receivers
*
* Copyright (c) 2011 Logitech
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in th... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2130_0 |
crossvul-cpp_data_good_343_4 | /*
* PKCS15 emulation layer for EstEID card.
*
* Copyright (C) 2004, Martin Paljak <martin@martinpaljak.net>
* Copyright (C) 2004, Bud P. Bruegger <bud@comune.grosseto.it>
* Copyright (C) 2004, Antonino Iacono <ant_iacono@tin.it>
* Copyright (C) 2003, Olaf Kirch <okir@suse.de>
*
* This library is free software;... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_343_4 |
crossvul-cpp_data_bad_3315_0 | /* CAN driver for Geschwister Schneider USB/CAN devices
* and bytewerk.org candleLight USB CAN interfaces.
*
* Copyright (C) 2013-2016 Geschwister Schneider Technologie-,
* Entwicklungs- und Vertriebs UG (Haftungsbeschränkt).
* Copyright (C) 2016 Hubert Denkmair
*
* Many thanks to all socketcan devs!
*
* This ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3315_0 |
crossvul-cpp_data_good_341_2 | /*
* card-muscle.c: Support for MuscleCard Applet from musclecard.com
*
* Copyright (C) 2006, Identity Alliance, Thomas Harning <support@identityalliance.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_341_2 |
crossvul-cpp_data_good_3418_0 | /*
* VP7/VP8 compatible video decoder
*
* Copyright (C) 2010 David Conrad
* Copyright (C) 2010 Ronald S. Bultje
* Copyright (C) 2010 Fiona Glaser
* Copyright (C) 2012 Daniel Kang
* Copyright (C) 2014 Peter Ross
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* mo... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3418_0 |
crossvul-cpp_data_bad_4063_1 | /*
* hextile.c
*
* Routines to implement Hextile Encoding
*/
/*
* OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.
* Original Xvnc code Copyright (C) 1999 AT&T Laboratories Cambridge.
* All Rights Reserved.
*
* This is free software; you can redistribute it and/or modify
* it under ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4063_1 |
crossvul-cpp_data_bad_4787_23 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_23 |
crossvul-cpp_data_bad_5142_0 | /*
* Intel MIC Platform Software Stack (MPSS)
*
* Copyright(c) 2016 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation.
*
* This program is distributed in t... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5142_0 |
crossvul-cpp_data_bad_1528_0 | /*
* Intel CPU microcode early update for Linux
*
* Copyright (C) 2012 Fenghua Yu <fenghua.yu@intel.com>
* H Peter Anvin" <hpa@zytor.com>
*
* This allows to early upgrade microcode on Intel processors
* belonging to IA-32 family - PentiumPro, Pentium II,
* Pentium III, Xeon, Pentium 4, etc.
*
* Reference... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_1528_0 |
crossvul-cpp_data_good_2656_0 | /*
* The copyright in this software is being made available under the 2-clauses
* BSD License, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such rights
* are granted under this license.
*
* Copyright (c) 2002-2014, Universite catholiqu... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2656_0 |
crossvul-cpp_data_good_2208_0 | /*
* Copyright 2011-2013 Con Kolivas
* Copyright 2010 Jeff Garzik
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option)
* any later versio... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2208_0 |
crossvul-cpp_data_bad_4787_10 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_10 |
crossvul-cpp_data_bad_5629_0 | /*
* Copyright (C) 2007-2008, 2010 Sourcefire, Inc.
*
* Authors: Nigel Horne, Török Edvin
*
* Also based on Matt Olney's pdf parser in snort-nrt.
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5629_0 |
crossvul-cpp_data_bad_2107_0 | /*
* Copyright (c) Ian F. Darwin 1986-1995.
* Software written by Ian F. Darwin and others;
* maintained 1995-present by Christos Zoulas and others.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistr... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2107_0 |
crossvul-cpp_data_good_4788_1 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4788_1 |
crossvul-cpp_data_good_345_2 | /*
* card-muscle.c: Support for MuscleCard Applet from musclecard.com
*
* Copyright (C) 2006, Identity Alliance, Thomas Harning <support@identityalliance.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_345_2 |
crossvul-cpp_data_good_345_0 | /*
* card-cac.c: Support for CAC from NIST SP800-73
* card-default.c: Support for cards with no driver
*
* Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>
* Copyright (C) 2005,2006,2007,2008,2009,2010 Douglas E. Engert <deengert@anl.gov>
* Copyright (C) 2006, Identity Alliance, Thomas Harning <thomas.h... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_345_0 |
crossvul-cpp_data_bad_3287_0 | /*
** Copyright (C) 2004-2017 Erik de Castro Lopo <erikd@mega-nerd.com>
** Copyright (C) 2004 Tobias Gehrig <tgehrig@ira.uka.de>
**
** This program is free software ; you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published by
** the Free Software Foundation ; ei... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3287_0 |
crossvul-cpp_data_bad_3908_0 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* Update Data PDUs
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
* Copyright 2016 Armin Novak <armin.novak@thincast.com>
* Copyright 2016 Thincast Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3908_0 |
crossvul-cpp_data_bad_3522_1 | /*
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
* Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public Licen... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3522_1 |
crossvul-cpp_data_good_4946_1 | #include "cache.h"
#include "commit.h"
#include "diff.h"
#include "revision.h"
#include "list-objects.h"
#include "pack.h"
#include "pack-bitmap.h"
#include "builtin.h"
#include "log-tree.h"
#include "graph.h"
#include "bisect.h"
static const char rev_list_usage[] =
"git rev-list [OPTION] <commit-id>... [ -- paths... ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4946_1 |
crossvul-cpp_data_good_634_7 | /**************************************************
*
**************************************************
* This code was created by Peter Harvey @ CodeByDesign.
* Released under LGPL 28.JAN.99
*
* Contributions from...
* -----------------------------------------------
* Peter Harvey - pharvey@codebydesign.com
... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_634_7 |
crossvul-cpp_data_good_2540_0 | /* $Id: upnpreplyparse.c,v 1.19 2015/07/15 10:29:11 nanard Exp $ */
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* MiniUPnP project
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* (c) 2006-2017 Thomas Bernard
* This software is subject to the conditions detailed
* in the LICENCE file provided within t... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2540_0 |
crossvul-cpp_data_bad_3305_1 | /*
* 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-119/c/bad_3305_1 |
crossvul-cpp_data_good_4945_2 | #include "cache.h"
#include "tag.h"
#include "blob.h"
#include "tree.h"
#include "commit.h"
#include "diff.h"
#include "refs.h"
#include "revision.h"
#include "graph.h"
#include "grep.h"
#include "reflog-walk.h"
#include "patch-ids.h"
#include "decorate.h"
#include "log-tree.h"
#include "string-list.h"
#include "line-l... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4945_2 |
crossvul-cpp_data_bad_342_9 | /*
* Copyright (C) 2017 Frank Morgner <frankmorgner@gmail.com>
*
* This file is part of OpenSC.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licen... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_342_9 |
crossvul-cpp_data_bad_339_9 | /*
* Copyright (C) 2017 Frank Morgner <frankmorgner@gmail.com>
*
* This file is part of OpenSC.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licen... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_339_9 |
crossvul-cpp_data_bad_5486_0 | /*
* Copyright (c) 1999-2000 Image Power, Inc. and the University of
* British Columbia.
* Copyright (c) 2001-2003 Michael David Adams.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer License Version 2.0
*
* Copyright (c) 2001-2006 Michael David Adams
* Copyright (c) 1999-2000 Image P... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5486_0 |
crossvul-cpp_data_bad_729_0 | // SPDX-License-Identifier: BSD-2-Clause
/*
* Copyright (c) 2014, STMicroelectronics International N.V.
*/
#include <util.h>
#include <kernel/tee_common_otp.h>
#include <kernel/tee_common.h>
#include <tee_api_types.h>
#include <kernel/tee_ta_manager.h>
#include <utee_types.h>
#include <tee/tee_svc.h>
#include <tee/te... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_729_0 |
crossvul-cpp_data_good_3312_0 | /* DVB USB compliant linux driver for Conexant USB reference design.
*
* The Conexant reference design I saw on their website was only for analogue
* capturing (using the cx25842). The box I took to write this driver (reverse
* engineered) is the one labeled Medion MD95700. In addition to the cx25842
* for analogu... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3312_0 |
crossvul-cpp_data_good_2288_0 | #include <trace/syscall.h>
#include <trace/events/syscalls.h>
#include <linux/syscalls.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/module.h> /* for MODULE_NAME_LEN via KSYM_SYMBOL_LEN */
#include <linux/ftrace.h>
#include <linux/perf_event.h>
#include <asm/syscall.h>
#include "trace_output.h"
... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2288_0 |
crossvul-cpp_data_good_5767_0 | /*
* fs/nfs/nfs4proc.c
*
* Client-side procedure declarations 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 wi... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5767_0 |
crossvul-cpp_data_bad_4788_2 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4788_2 |
crossvul-cpp_data_good_395_3 | /*
Copyright 1996-2006 Han The Thanh <thanh@pdftex.org>
Copyright 2006-2009 Taco Hoekwater <taco@luatex.org>
This file is part of LuaTeX.
LuaTeX 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 ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_395_3 |
crossvul-cpp_data_bad_4957_2 | /*
* The Python Imaging Library.
* $Id$
*
* decoder for uncompressed PCD image data.
*
* history:
* 96-05-10 fl Created
* 96-05-18 fl New tables
* 97-01-25 fl Use PhotoYCC unpacker
*
* notes:
* This driver supports uncompressed PCD modes only
* (resolutions up to 768x512).
*
* Copyright (c) Fredrik Lundh... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4957_2 |
crossvul-cpp_data_bad_4956_2 | /*
* The Python Imaging Library.
* $Id$
*
* decoder for uncompressed PCD image data.
*
* history:
* 96-05-10 fl Created
* 96-05-18 fl New tables
* 97-01-25 fl Use PhotoYCC unpacker
*
* notes:
* This driver supports uncompressed PCD modes only
* (resolutions up to 768x512).
*
* Copyright (c) Fredrik Lundh... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4956_2 |
crossvul-cpp_data_bad_1100_1 | #ifndef NGIFLIB_NO_FILE
#include <stdio.h>
#endif /* NGIFLIB_NO_FILE */
#include "ngiflib.h"
/* decodeur GIF en C portable (pas de pb big/little endian)
* Thomas BERNARD. janvier 2004.
* (c) 2004-2017 Thomas Bernard. All rights reserved
*/
/* Fonction de debug */
#ifdef DEBUG
void fprintf_ngiflib_img(FILE * f, st... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_1100_1 |
crossvul-cpp_data_good_345_3 | /*
* card-tcos.c: Support for TCOS cards
*
* Copyright (C) 2011 Peter Koch <pk@opensc-project.org>
* Copyright (C) 2002 g10 Code GmbH
* Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General P... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_345_3 |
crossvul-cpp_data_bad_2040_0 | /*-
* Copyright (c) 2008 Christos Zoulas
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of con... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2040_0 |
crossvul-cpp_data_good_544_0 | /*
* Copyright (c) 2013-2015, Mellanox Technologies. 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 th... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_544_0 |
crossvul-cpp_data_good_5475_1 | /* $Id$ */
/*
* Copyright (c) 1996-1997 Sam Leffler
* Copyright (c) 1996 Pixar
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* that (i) the above copyright notices and this permission notice appear in
* al... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5475_1 |
crossvul-cpp_data_good_634_1 | /*********************************************************************
*
* This is based on code created by Peter Harvey,
* (pharvey@codebydesign.com).
*
* Modified and extended by Nick Gorham
* (nick@lurcher.org).
*
* Any bugs or problems should be considered the fault of Nick and not
* Peter.
*
* copyright... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_634_1 |
crossvul-cpp_data_good_3110_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3110_0 |
crossvul-cpp_data_good_344_9 | /*
* Copyright (C) 2017 Frank Morgner <frankmorgner@gmail.com>
*
* This file is part of OpenSC.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licen... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_344_9 |
crossvul-cpp_data_good_672_0 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* Update Data PDUs
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
* Copyright 2016 Armin Novak <armin.novak@thincast.com>
* Copyright 2016 Thincast Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_672_0 |
crossvul-cpp_data_good_622_1 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_622_1 |
crossvul-cpp_data_good_3189_1 | /* $Id$ */
/*
* Copyright (c) 2001-2012 Aaron Turner <aturner at synfin dot net>
* Copyright (c) 2013-2016 Fred Klassen <tcpreplay at appneta dot com> - AppNeta
*
* The Tcpreplay Suite of tools 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-119/c/good_3189_1 |
crossvul-cpp_data_good_340_0 | /*
* card-cac.c: Support for CAC from NIST SP800-73
* card-default.c: Support for cards with no driver
*
* Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>
* Copyright (C) 2005,2006,2007,2008,2009,2010 Douglas E. Engert <deengert@anl.gov>
* Copyright (C) 2006, Identity Alliance, Thomas Harning <thomas.h... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_340_0 |
crossvul-cpp_data_good_252_2 | /**
* @file
* Conversion to/from base64 encoding
*
* @authors
* Copyright (C) 1993,1995 Carl Harris
* Copyright (C) 1997 Eric S. Raymond
* Copyright (C) 1999 Brendan Cully <brendan@kublai.com>
*
* @copyright
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GN... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_252_2 |
crossvul-cpp_data_bad_4945_0 | /* Alternative malloc implementation for multiple threads without
lock contention based on dlmalloc. (C) 2005-2006 Niall Douglas
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying docume... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4945_0 |
crossvul-cpp_data_bad_255_1 | /**
* @file
* POP network mailbox
*
* @authors
* Copyright (C) 2000-2002 Vsevolod Volkov <vvv@mutt.org.ua>
* Copyright (C) 2006-2007,2009 Rocco Rutte <pdmef@gmx.net>
*
* @copyright
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_255_1 |
crossvul-cpp_data_good_4836_0 | /*
* RTMP input format
* Copyright (c) 2009 Konstantin Shishkov
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4836_0 |
crossvul-cpp_data_bad_4787_15 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_15 |
crossvul-cpp_data_good_244_0 | /**
* @file
* Manage IMAP messages
*
* @authors
* Copyright (C) 1996-1999 Brandon Long <blong@fiction.net>
* Copyright (C) 1999-2009 Brendan Cully <brendan@kublai.com>
*
* @copyright
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License a... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_244_0 |
crossvul-cpp_data_good_342_4 | /*
* PKCS15 emulation layer for EstEID card.
*
* Copyright (C) 2004, Martin Paljak <martin@martinpaljak.net>
* Copyright (C) 2004, Bud P. Bruegger <bud@comune.grosseto.it>
* Copyright (C) 2004, Antonino Iacono <ant_iacono@tin.it>
* Copyright (C) 2003, Olaf Kirch <okir@suse.de>
*
* This library is free software;... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_342_4 |
crossvul-cpp_data_bad_5658_0 | /*
Copyright (c) 2003, Michael Bretterklieber <michael@bretterklieber.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice,... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5658_0 |
crossvul-cpp_data_bad_3189_1 | /* $Id$ */
/*
* Copyright (c) 2001-2012 Aaron Turner <aturner at synfin dot net>
* Copyright (c) 2013-2016 Fred Klassen <tcpreplay at appneta dot com> - AppNeta
*
* The Tcpreplay Suite of tools 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-119/c/bad_3189_1 |
crossvul-cpp_data_bad_5475_4 | /* $Id$ */
/* tiffcrop.c -- a port of tiffcp.c extended to include manipulations of
* the image data through additional options listed below
*
* Original code:
* Copyright (c) 1988-1997 Sam Leffler
* Copyright (c) 1991-1997 Silicon Graphics, Inc.
* Additions (c) Richard Nolde 2006-2010
*
* Permission to use, ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5475_4 |
crossvul-cpp_data_bad_343_9 | /*
* Copyright (C) 2017 Frank Morgner <frankmorgner@gmail.com>
*
* This file is part of OpenSC.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licen... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_343_9 |
crossvul-cpp_data_good_5174_0 | /*
* Copyright (c) 2001 Paul Stewart
* Copyright (c) 2001 Vojtech Pavlik
*
* HID char devices, giving access to raw HID device events.
*
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5174_0 |
crossvul-cpp_data_bad_2208_0 | /*
* Copyright 2011-2013 Con Kolivas
* Copyright 2010 Jeff Garzik
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option)
* any later versio... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2208_0 |
crossvul-cpp_data_bad_3407_1 | /* ext2.c - Second Extended filesystem */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free So... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3407_1 |
crossvul-cpp_data_bad_1773_0 | /*
mount.c (22.10.09)
exFAT file system implementation library.
Free exFAT implementation.
Copyright (C) 2010-2015 Andrew Nayenko
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either versi... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_1773_0 |
crossvul-cpp_data_bad_5095_0 | #ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <ctype.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include "gd.h"
#include "gd_errors.h"
#include "gdhelpers.h"
#ifdef _MSC_VER
# define strcasecmp _stricmp
#endif
#define MAX_XBM_LINE_SIZE 255
/*
F... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5095_0 |
crossvul-cpp_data_bad_5_0 | // Ogg Vorbis audio decoder - v1.11 - public domain
// http://nothings.org/stb_vorbis/
//
// Original version written by Sean Barrett in 2007.
//
// Originally sponsored by RAD Game Tools. Seeking sponsored
// by Phillip Bennefall, Marc Andersen, Aaron Baker, Elias Software,
// Aras Pranckevicius, and Sean Barrett.
//
... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5_0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.