id stringlengths 25 30 | content stringlengths 14 942k | max_stars_repo_path stringlengths 49 55 |
|---|---|---|
crossvul-cpp_data_bad_900_0 | /*
Ming, an SWF output library
Copyright (C) 2002 Opaque Industries - http://www.opaque.net/
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_900_0 |
crossvul-cpp_data_bad_343_8 | /*
* cryptoflex-tool.c: Tool for doing various Cryptoflex related stuff
*
* Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; e... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_343_8 |
crossvul-cpp_data_good_5047_0 | /* XML RPC Library
*
* (C) 2005 Trystan Scott Lee
* Contact trystan@nomadirc.net
*
* Please read COPYING and README for further details.
*
* Based on the original code from Denora
*
*
*/
#include <mowgli.h>
#include "atheme.h"
#include "xmlrpclib.h"
static int xmlrpc_error_code;
typedef struct XMLRPCCmd_ X... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5047_0 |
crossvul-cpp_data_good_2271_0 | /*
ettercap -- dissector for PostgreSQL authentication traffic -- TCP 5432
Copyright (C) Dhiru Kholia (dhiru at openwall.com)
Tested with,
1. PostgreSQL 9.2.1 64-bit server on Arch Linux
2. PostgreSQL 9.2.1 64-bit server on Windows 2008 R2 SP1
Special thanks to RhodiumToad from #postgresql
... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2271_0 |
crossvul-cpp_data_good_345_8 | /*
* cryptoflex-tool.c: Tool for doing various Cryptoflex related stuff
*
* Copyright (C) 2001 Juha Yrjölä <juha.yrjola@iki.fi>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; e... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_345_8 |
crossvul-cpp_data_good_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/good_2130_0 |
crossvul-cpp_data_bad_912_0 | // Ogg Vorbis audio decoder - v1.16 - public domain
// http://nothings.org/stb_vorbis/
//
// Original version written by Sean Barrett in 2007.
//
// Originally sponsored by RAD Game Tools. Seeking implementation
// sponsored by Phillip Bennefall, Marc Andersen, Aaron Baker,
// Elias Software, Aras Pranckevicius, and Se... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_912_0 |
crossvul-cpp_data_good_3288_0 | /*
** Copyright (C) 2010-2017 Erik de Castro Lopo <erikd@mega-nerd.com>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published by
** the Free Software Foundation; either version 2.1 of the License, or
** (at your option) any... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3288_0 |
crossvul-cpp_data_good_342_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_342_0 |
crossvul-cpp_data_bad_4839_0 | /*
* Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
*
* 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-119/c/bad_4839_0 |
crossvul-cpp_data_bad_731_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/bad_731_0 |
crossvul-cpp_data_bad_464_0 | /*
* Microsoft Advanced Streaming Format demuxer
* Copyright (c) 2014 Alexandra Hájková
*
* 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
* vers... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_464_0 |
crossvul-cpp_data_good_5830_0 | /*
* Radiotap parser
*
* Copyright 2007 Andy Green <andy@warmcat.com>
* Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
*
* 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 Foundat... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5830_0 |
crossvul-cpp_data_bad_2019_4 | /* src/interfaces/ecpg/pgtypeslib/interval.c */
#include "postgres_fe.h"
#include <time.h>
#include <math.h>
#include <limits.h>
#ifdef __FAST_MATH__
#error -ffast-math is known to break this code
#endif
#include "extern.h"
#include "dt.h"
#include "pgtypes_error.h"
#include "pgtypes_interval.h"
/* copy&pasted from... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2019_4 |
crossvul-cpp_data_bad_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/bad_3313_0 |
crossvul-cpp_data_bad_345_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_345_9 |
crossvul-cpp_data_bad_346_7 | /*
* sc.c: General functions
*
* Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_346_7 |
crossvul-cpp_data_good_912_0 | // Ogg Vorbis audio decoder - v1.16 - public domain
// http://nothings.org/stb_vorbis/
//
// Original version written by Sean Barrett in 2007.
//
// Originally sponsored by RAD Game Tools. Seeking implementation
// sponsored by Phillip Bennefall, Marc Andersen, Aaron Baker,
// Elias Software, Aras Pranckevicius, and Se... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_912_0 |
crossvul-cpp_data_bad_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/bad_345_10 |
crossvul-cpp_data_good_5820_0 | /*
* JPEG 2000 image decoder
* Copyright (c) 2007 Kamil Nowosad
* Copyright (c) 2013 Nicolas Bertrand <nicoinattendu@gmail.com>
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5820_0 |
crossvul-cpp_data_good_5252_1 | /*
Mac-Telnet - Connect to RouterOS or mactelnetd devices via MAC address
Copyright (C) 2010, Håkon Nessjøen <haakon.nessjoen@gmail.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 Founda... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5252_1 |
crossvul-cpp_data_bad_503_0 | /* radare - LGPL - Copyright 2015-2018 - pancake */
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <r_util.h>
typedef enum optype_t {
ARM_NOTYPE = -1,
ARM_GPR = 1,
ARM_CONSTANT = 2,
ARM_FP = 4,
ARM_MEM_OPT = 8
} OpType;
typedef enum regtype_t {
ARM_UNDEFINED = -1,
ARM_R... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_503_0 |
crossvul-cpp_data_good_5283_2 | /*
+----------------------------------------------------------------------+
| phar php single-file executable PHP extension |
| utility functions |
+----------------------------------------------------------------------+
| Copyright (c)... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5283_2 |
crossvul-cpp_data_good_5096_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_5096_0 |
crossvul-cpp_data_bad_5025_0 | /*
* Copyright (C) 2003-2008 Takahiro Hirofuchi
*
* This 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 is distribute... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5025_0 |
crossvul-cpp_data_good_5096_1 | /*
* Copyright (c) 2011-2012, Centre National d'Etudes Spatiales (CNES), France
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5096_1 |
crossvul-cpp_data_good_3422_0 | /*
* CDXL video decoder
* Copyright (c) 2011-2012 Paul B Mahol
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, o... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3422_0 |
crossvul-cpp_data_good_4819_0 | /*
Unix SMB/Netbios implementation.
Version 1.9.
SMB parameters and setup
Copyright (C) Andrew Tridgell 1992-2000
Copyright (C) Luke Kenneth Casson Leighton 1996-2000
Modified by Jeremy Allison 1995.
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2002-2003
Modified by Steve French (sfrench@u... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4819_0 |
crossvul-cpp_data_bad_2207_0 | /*
* Copyright 2011-2013 Con Kolivas
* Copyright 2011-2013 Luke Dashjr
* Copyright 2010 Jeff Garzik
* Copyright 2012 Giel van Schijndel
* Copyright 2012 Gavin Andresen
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2207_0 |
crossvul-cpp_data_good_5828_0 | /*
* JPEG 2000 image decoder
* Copyright (c) 2007 Kamil Nowosad
* Copyright (c) 2013 Nicolas Bertrand <nicoinattendu@gmail.com>
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5828_0 |
crossvul-cpp_data_bad_3187_0 | /* This file is part of libmspack.
* (C) 2003-2013 Stuart Caie.
*
* The LZX method was created by Jonathan Forbes and Tomi Poutanen, adapted
* by Microsoft Corporation.
*
* libmspack is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License (LGPL) versi... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3187_0 |
crossvul-cpp_data_bad_2774_0 | /*
* The copyright in this software is being made available under the 2-clauses
* BSD License, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such rights
* are granted under this license.
*
* Copyright (c) 2002-2014, Universite catholiqu... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2774_0 |
crossvul-cpp_data_bad_5355_0 | /*
* Copyright (c) 2010 Broadcom Corporation
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5355_0 |
crossvul-cpp_data_bad_339_1 | /*
* Support for ePass2003 smart cards
*
* Copyright (C) 2008, Weitao Sun <weitao@ftsafe.com>
* Copyright (C) 2011, Xiaoshuo Wu <xiaoshuo@ftsafe.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_339_1 |
crossvul-cpp_data_bad_1359_1 | /**
* @file tree_data.c
* @author Radek Krejci <rkrejci@cesnet.cz>
* @brief Manipulation with libyang data structures
*
* Copyright (c) 2015 - 2018 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the License.
* ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_1359_1 |
crossvul-cpp_data_bad_670_0 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* ZGFX (RDP8) Bulk Data Compression
*
* Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
* Copyright 2017 Armin Novak <armin.novak@thincast.com>
* Copyright 2017 Thincast Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (th... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_670_0 |
crossvul-cpp_data_good_5827_0 | /*
* Audio and Video frame extraction
* Copyright (c) 2003 Fabrice Bellard
* Copyright (c) 2003 Michael Niedermayer
*
* 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 Softwa... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5827_0 |
crossvul-cpp_data_good_1611_1 | /* t1asm -*- c-basic-offset: 2 -*-
*
* This program `assembles' Adobe Type-1 font programs in pseudo-PostScript
* form into either PFB or PFA format. The human readable/editable input is
* charstring- and eexec-encrypted as specified in the `Adobe Type 1 Font
* Format' version 1.1 (the `black book'). There is a ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_1611_1 |
crossvul-cpp_data_good_160_1 | /*
* 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/good_160_1 |
crossvul-cpp_data_bad_340_5 | /*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it wi... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_340_5 |
crossvul-cpp_data_good_5475_3 | /* $Id$
*
* tiff2pdf - converts a TIFF image to a PDF document
*
* Copyright (c) 2003 Ross Finlayson
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5475_3 |
crossvul-cpp_data_good_4743_2 | /*
* The Python Imaging Library.
* $Id: //modules/pil/libImaging/TiffDecode.c#1 $
*
* LibTiff-based Group3 and Group4 decoder
*
*
* started modding to use non-private tiff functions to port to libtiff 4.x
* eds 3/12/12
*
*/
#include "Imaging.h"
#ifdef HAVE_LIBTIFF
#ifndef uint
#define uint uint32
#endif
#... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4743_2 |
crossvul-cpp_data_good_969_0 | /* SSDP responder
*
* Copyright (c) 2017 Joachim Nilsson <troglobit@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWA... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_969_0 |
crossvul-cpp_data_good_940_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_940_0 |
crossvul-cpp_data_good_3319_0 | /*
* Copyright (c) 2001 Vojtech Pavlik
*
* CATC EL1210A NetMate USB Ethernet driver
*
* Sponsored by SuSE
*
* Based on the work of
* Donald Becker
*
* Old chipset support added by Simon Evans <spse@secret.org.uk> 2002
* - adds support for Belkin F5U011
*/
/*
* This program is free software; you ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3319_0 |
crossvul-cpp_data_bad_5610_0 | /*
* tg3.c: Broadcom Tigon3 ethernet driver.
*
* Copyright (C) 2001, 2002, 2003, 2004 David S. Miller (davem@redhat.com)
* Copyright (C) 2001, 2002, 2003 Jeff Garzik (jgarzik@pobox.com)
* Copyright (C) 2004 Sun Microsystems Inc.
* Copyright (C) 2005-2013 Broadcom Corporation.
*
* Firmware is:
* Derived from pr... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5610_0 |
crossvul-cpp_data_bad_5727_1 | /* $Id$ */
/*
* Copyright (c) 1990-1997 Sam Leffler
* Copyright (c) 1991-1997 Silicon Graphics, Inc.
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5727_1 |
crossvul-cpp_data_good_1063_0 | /*
* asn1.c: ASN.1 decoding functions (DER)
*
* Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 o... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_1063_0 |
crossvul-cpp_data_good_2767_0 | #include "../fbuffer/fbuffer.h"
#include "generator.h"
#ifdef HAVE_RUBY_ENCODING_H
static VALUE CEncoding_UTF_8;
static ID i_encoding, i_encode;
#endif
static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,
mHash, mArray,
#ifdef RUBY_INTEGER_UNIFICATION
mInteger,
#else
... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2767_0 |
crossvul-cpp_data_good_5733_7 | /*
* Copyright (c) 2011 Stefano Sabatini
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5733_7 |
crossvul-cpp_data_bad_1028_0 | /*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code
* distributions retain the above copyright notice and this paragraph
* in its entirety, and (2) distributions including binary code include
* the above copyright notice and this para... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_1028_0 |
crossvul-cpp_data_bad_2271_0 | /*
ettercap -- dissector for PostgreSQL authentication traffic -- TCP 5432
Copyright (C) Dhiru Kholia (dhiru at openwall.com)
Tested with,
1. PostgreSQL 9.2.1 64-bit server on Arch Linux
2. PostgreSQL 9.2.1 64-bit server on Windows 2008 R2 SP1
Special thanks to RhodiumToad from #postgresql
... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2271_0 |
crossvul-cpp_data_good_160_3 | /*
* 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/good_160_3 |
crossvul-cpp_data_good_901_0 | /****************************************************************************
*
* Copyright (C) 2006,2007 A.Kleine
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_901_0 |
crossvul-cpp_data_bad_500_0 | /* Copyright (C) 2008-2018 - pancake, unlogic, emvivre */
#include <r_flag.h>
#include <r_core.h>
#include <r_asm.h>
#include <r_lib.h>
#include <r_types.h>
#include <stdio.h>
#include <string.h>
static ut64 getnum(RAsm *a, const char *s);
#define ENCODING_SHIFT 0
#define OPTYPE_SHIFT 6
#define REGMASK_SHIFT 16
#... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_500_0 |
crossvul-cpp_data_good_578_1 | #ifndef IGNOREALL
/*
dcraw.c -- Dave Coffin's raw photo decoder
Copyright 1997-2015 by Dave Coffin, dcoffin a cybercom o net
This is a command-line ANSI C program to convert raw photos from
any digital camera on any computer running any operating system.
No license is required to download and use dcraw... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_578_1 |
crossvul-cpp_data_bad_4787_9 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% CCC U U TTTTT ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_9 |
crossvul-cpp_data_bad_3603_1 |
/*
* 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 the hope that it will ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3603_1 |
crossvul-cpp_data_good_3563_0 | /*******************************************************************************
*
* This file contains the Linux/SCSI LLD virtual SCSI initiator driver
* for emulated SAS initiator ports
*
* © Copyright 2011 RisingTide Systems LLC.
*
* Licensed to the Linux Foundation under the General Public License (GPL) vers... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3563_0 |
crossvul-cpp_data_bad_4999_2 | /*
* Packet matching code.
*
* Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling
* Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org>
* Copyright (c) 2006-2010 Patrick McHardy <kaber@trash.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the t... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4999_2 |
crossvul-cpp_data_good_143_0 | /* radare - LGPL - Copyright 2017 - pancake, cgvwzq */
// http://webassembly.org/docs/binary-encoding/#module-structure
#include <r_asm.h>
#include <r_lib.h>
#include <string.h>
#include "../../asm/arch/wasm/wasm.h"
#include "../../bin/format/wasm/wasm.h"
static WasmOpDef opcodes[256] = {
[WASM_OP_TRAP] = { "trap"... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_143_0 |
crossvul-cpp_data_good_5079_1 | /*
* Packet matching code.
*
* Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling
* Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org>
* Copyright (C) 2006-2010 Patrick McHardy <kaber@trash.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the t... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5079_1 |
crossvul-cpp_data_good_1594_0 | /*
* Support for Intel AES-NI instructions. This file contains glue
* code, the real AES implementation is in intel-aes_asm.S.
*
* Copyright (C) 2008, Intel Corp.
* Author: Huang Ying <ying.huang@intel.com>
*
* Added RFC4106 AES-GCM support for 128-bit keys under the AEAD
* interface for 64-bit kernels.
* ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_1594_0 |
crossvul-cpp_data_good_5800_0 | /*
* Copyright IBM Corp. 2007, 2009
* Author(s): Utz Bacher <utz.bacher@de.ibm.com>,
* Frank Pavlic <fpavlic@de.ibm.com>,
* Thomas Spatzier <tspat@de.ibm.com>,
* Frank Blaschka <frank.blaschka@de.ibm.com>
*/
#define KMSG_COMPONENT "qeth"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/mo... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5800_0 |
crossvul-cpp_data_good_1066_0 | /*
* libp11 PAM Login Module
* Copyright (C) 2003 Mario Strasser <mast@gmx.net>,
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_1066_0 |
crossvul-cpp_data_good_341_6 | /*
* pkcs15-sc-hsm.c : Initialize PKCS#15 emulation
*
* Copyright (C) 2012 Andreas Schwier, CardContact, Minden, Germany
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
*... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_341_6 |
crossvul-cpp_data_good_2197_0 | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2001, 2007 by the Massachusetts Institute of Technology.
* Copyright 1993 by OpenVision Technologies, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby granted... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2197_0 |
crossvul-cpp_data_good_937_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_937_0 |
crossvul-cpp_data_good_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/good_5344_0 |
crossvul-cpp_data_good_896_0 | #include "mongoose.h"
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/mg_internal.h"
#endif
/*
* Copyright (c) 2014 Cesanta Software Limited
* All rights reserved
*/
#ifndef CS_MONGOOSE_SRC_INTERNAL_H_
#define CS_MONGOOSE_SRC_INTERNAL_H_
/* Amalgamated: #include "common/mg_mem.h" */
#ifndef MBUF_REALLOC
#define MBUF... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_896_0 |
crossvul-cpp_data_bad_5816_0 | /*
* JPEG 2000 image decoder
* Copyright (c) 2007 Kamil Nowosad
* Copyright (c) 2013 Nicolas Bertrand <nicoinattendu@gmail.com>
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5816_0 |
crossvul-cpp_data_good_2553_0 | /* libhttpd.c - HTTP protocol library
**
** Copyright � 1995,1998,1999,2000,2001 by Jef Poskanzer <jef@mail.acme.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 ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2553_0 |
crossvul-cpp_data_bad_552_2 | /*
* Copyright (C) 1997-2005 Jon Nelson <jnelson@boa.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 by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This prog... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_552_2 |
crossvul-cpp_data_bad_344_5 | /*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it wi... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_344_5 |
crossvul-cpp_data_bad_1611_5 | /* t1mac
*
* This program converts Type 1 fonts in PFA or PFB format into Macintosh Type
* 1 fonts stored in MacBinary (I or II), AppleSingle, AppleDouble, BinHex, or
* raw resource fork format.
*
* Copyright (c) 2000-2013 Eddie Kohler
*
* Permission is hereby granted, free of charge, to any person obtaining a
... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_1611_5 |
crossvul-cpp_data_bad_2127_0 | /*
* options.c - handles option processing for PPP.
*
* Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of sourc... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_2127_0 |
crossvul-cpp_data_good_622_2 | /*====================================================================*
- 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_2 |
crossvul-cpp_data_good_5822_0 | /*
* JPEG 2000 image decoder
* Copyright (c) 2007 Kamil Nowosad
* Copyright (c) 2013 Nicolas Bertrand <nicoinattendu@gmail.com>
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5822_0 |
crossvul-cpp_data_good_342_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_342_3 |
crossvul-cpp_data_good_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/good_4957_2 |
crossvul-cpp_data_bad_5284_0 | /*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5284_0 |
crossvul-cpp_data_bad_525_1 | /*
* GPAC - Multimedia Framework C SDK
*
* Authors: Jean Le Feuvre
* Copyright (c) Telecom ParisTech 2005-2012
* All rights reserved
*
* This file is part of GPAC / command-line client
*
* GPAC is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_525_1 |
crossvul-cpp_data_bad_5826_0 | /*
* Go2Webinar decoder
* Copyright (c) 2012 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_5826_0 |
crossvul-cpp_data_bad_3193_0 | /* radare - LGPL - Copyright 2009-2016 - earada, pancake */
#include <stdio.h>
#include <string.h>
#include <r_types.h>
#include <r_lib.h>
#include <r_asm.h>
#include <dalvik/opcode.h>
static int dalvik_disassemble (RAsm *a, RAsmOp *op, const ut8 *buf, int len) {
int vA, vB, vC, payload = 0, i = (int) buf[0];
int... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3193_0 |
crossvul-cpp_data_good_5252_2 | /*
Mac-Telnet - Connect to RouterOS or mactelnetd devices via MAC address
Copyright (C) 2010, Håkon Nessjøen <haakon.nessjoen@gmail.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 Founda... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5252_2 |
crossvul-cpp_data_good_340_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_340_9 |
crossvul-cpp_data_good_4745_2 | /*
* The Python Imaging Library.
* $Id$
*
* decoder for Autodesk Animator FLI/FLC animations
*
* history:
* 97-01-03 fl Created
* 97-01-17 fl Added SS2 support (FLC)
*
* Copyright (c) Fredrik Lundh 1997.
* Copyright (c) Secret Labs AB 1997.
*
* See the README file for information on usage and redistributio... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_4745_2 |
crossvul-cpp_data_bad_3464_0 | /**
* ldm - Support for Windows Logical Disk Manager (Dynamic Disks)
*
* Copyright (C) 2001,2002 Richard Russon <ldm@flatcap.org>
* Copyright (c) 2001-2007 Anton Altaparmakov
* Copyright (C) 2001,2002 Jakob Kemi <jakob.kemi@telia.com>
*
* Documentation is available at http://www.linux-ntfs.org/doku.php?id=downlo... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_3464_0 |
crossvul-cpp_data_good_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/good_5644_0 |
crossvul-cpp_data_bad_622_2 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_622_2 |
crossvul-cpp_data_good_341_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_341_4 |
crossvul-cpp_data_good_2945_0 | #ifndef IGNOREALL
/*
dcraw.c -- Dave Coffin's raw photo decoder
Copyright 1997-2015 by Dave Coffin, dcoffin a cybercom o net
This is a command-line ANSI C program to convert raw photos from
any digital camera on any computer running any operating system.
No license is required to download and use dcraw... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_2945_0 |
crossvul-cpp_data_good_5493_0 | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_5493_0 |
crossvul-cpp_data_good_3924_0 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* RDP Capability Sets
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* 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 Li... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_3924_0 |
crossvul-cpp_data_bad_1849_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_1849_0 |
crossvul-cpp_data_good_345_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_345_4 |
crossvul-cpp_data_good_341_7 | /*
* sc.c: General functions
*
* Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_341_7 |
crossvul-cpp_data_bad_5360_0 | /*-
* Copyright (c) 2003-2007 Tim Kientzle
* 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 c... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_5360_0 |
crossvul-cpp_data_good_1848_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/good_1848_0 |
crossvul-cpp_data_bad_4787_3 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.