id stringlengths 25 30 | content stringlengths 14 942k | max_stars_repo_path stringlengths 49 55 |
|---|---|---|
crossvul-cpp_data_good_236_0 | /* Apache 2.0 - Copyright 2007-2018 - pancake and dso
class.c rewrite: Adam Pridgen <dso@rice.edu || adam.pridgen@thecoverofnight.com>
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <r_types.h>
#include <r_util.h>
#include <r_bin.h>
#include <math.h>
#... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_236_0 |
crossvul-cpp_data_bad_3946_1 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* Print Virtual Channel
*
* Copyright 2010-2011 Vic Lee
* Copyright 2015 Thincast Technologies GmbH
* Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
* Copyright 2016 Armin Novak <armin.novak@gmail.com>
* Copyright 2016 David PHAM... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_3946_1 |
crossvul-cpp_data_bad_5241_0 | /*
* io_dp.c
*
* Implements the dynamic pointer interface.
*
* Based on GD.pm code by Lincoln Stein for interfacing to libgd.
* Added support for reading as well as support for 'tell' and 'seek'.
*
* As will all I/O modules, most functions are for local use only (called
* via function pointers in the I/O conte... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_5241_0 |
crossvul-cpp_data_bad_2720_0 | /*
* Copyright (c) 2016 Antonin Décimo, Jean-Raphaël Gaglione
*
* 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 condit... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2720_0 |
crossvul-cpp_data_bad_2644_2 | /*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
* The Regents of the University of California. All rights reserved.
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2644_2 |
crossvul-cpp_data_bad_2672_0 | /*
* Copyright (c) 1992, 1993, 1994, 1995, 1996
* The Regents of the University of California. All rights reserved.
*
* 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 paragr... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2672_0 |
crossvul-cpp_data_bad_4687_0 |
#include <config.h>
#include "ftpd.h"
#include "utils.h"
#ifdef WITH_DMALLOC
# include <dmalloc.h>
#endif
#ifdef HAVE_LIBSODIUM
# if !defined(pure_memzero) || !defined(pure_memcmp)
# error pure_memzero/pure_memcmp not defined
# endif
#else
void pure_memzero(void * const pnt, const size_t len)
{
# ifdef HAVE_EXPLI... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_4687_0 |
crossvul-cpp_data_good_3358_2 | /*
* IPv6 library code, needed by static components when full IPv6 support is
* not configured or static. These functions are needed by GSO/GRO implementation.
*/
#include <linux/export.h>
#include <net/ip.h>
#include <net/ipv6.h>
#include <net/ip6_fib.h>
#include <net/addrconf.h>
#include <net/secure_seq.h>
#inclu... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_3358_2 |
crossvul-cpp_data_bad_767_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_767_0 |
crossvul-cpp_data_good_3186_0 | /*
* Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2008 Sourcefire, Inc.
*
* Authors: Nigel Horne
*
* 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
* publish... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_3186_0 |
crossvul-cpp_data_good_215_0 | /*
* MOV, 3GP, MP4 muxer
* Copyright (c) 2003 Thomas Raivio
* Copyright (c) 2004 Gildas Bazin <gbazin at videolan dot org>
* Copyright (c) 2009 Baptiste Coudurier <baptiste dot coudurier at gmail dot com>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it u... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_215_0 |
crossvul-cpp_data_bad_3376_0 | /**********************************************************************
regexec.c - Oniguruma (regular expression library)
**********************************************************************/
/*-
* Copyright (c) 2002-2016 K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
* All rights reserved.
*
* Redistribution and... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_3376_0 |
crossvul-cpp_data_good_800_0 | /*
* MPEG-4 decoder
* Copyright (c) 2000,2001 Fabrice Bellard
* Copyright (c) 2002-2010 Michael Niedermayer <michaelni@gmx.at>
*
* 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-125/c/good_800_0 |
crossvul-cpp_data_bad_149_0 | /* radare - LGPL - Copyright 2010-2013 eloi<limited-entropy.com> */
#include <string.h>
#include <r_types.h>
#include <r_lib.h>
#include <r_asm.h>
#include <r_anal.h>
#define API static
#define LONG_SIZE 4
#define WORD_SIZE 2
#define BYTE_SIZE 1
/* missing opcodes :
- FPU (opcodes 0xF___)
- opcodes > SH2E
- cmp*... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_149_0 |
crossvul-cpp_data_good_2709_0 | /*
* Copyright (c) 1998-2007 The TCPDUMP project
*
* 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 i... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2709_0 |
crossvul-cpp_data_bad_5299_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_5299_0 |
crossvul-cpp_data_good_5361_1 | /*-
* 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-125/c/good_5361_1 |
crossvul-cpp_data_good_2957_0 | /*
* 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 later version.
*
* FFmpeg is distributed... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2957_0 |
crossvul-cpp_data_bad_351_1 | /*
* Copyright (c) 2007 Athena Smartcard Solutions Inc.
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_351_1 |
crossvul-cpp_data_bad_508_2 | /* $Id$ */
/*
* Copyright (c) 2001-2010 Aaron Turner <aturner at synfin dot net>
* Copyright (c) 2013-2018 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-125/c/bad_508_2 |
crossvul-cpp_data_bad_2804_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-125/c/bad_2804_1 |
crossvul-cpp_data_good_766_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_766_0 |
crossvul-cpp_data_bad_4493_1 | /*************************************************************************
*
* $Id: triostr.c,v 1.36 2010/01/26 13:02:02 breese Exp $
*
* Copyright (C) 2001 Bjorn Reese and Daniel Stenberg.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_4493_1 |
crossvul-cpp_data_bad_4686_0 |
#include <config.h>
#include "ftpd.h"
#include "utils.h"
#ifdef WITH_DMALLOC
# include <dmalloc.h>
#endif
#ifdef HAVE_LIBSODIUM
# if !defined(pure_memzero) || !defined(pure_memcmp)
# error pure_memzero/pure_memcmp not defined
# endif
#else
void pure_memzero(void * const pnt, const size_t len)
{
# ifdef HAVE_EXPLI... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_4686_0 |
crossvul-cpp_data_good_949_1 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_949_1 |
crossvul-cpp_data_bad_3369_0 | // imagew-jpeg.c
// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.
// For more information, see the readme.txt file.
#include "imagew-config.h"
#if IW_SUPPORT_JPEG == 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <setjmp.h>
#include <jpeglib.h>
#include <jerror... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_3369_0 |
crossvul-cpp_data_good_2720_0 | /*
* Copyright (c) 2016 Antonin Décimo, Jean-Raphaël Gaglione
*
* 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 condit... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2720_0 |
crossvul-cpp_data_bad_1370_0 | /*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
* Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
*
* Redistribution and use in source and binary forms, with o... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_1370_0 |
crossvul-cpp_data_good_4938_0 | /*
* Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_4938_0 |
crossvul-cpp_data_bad_2674_0 | /*
* Copyright (c) 2009
* Siemens AG, All rights reserved.
* Dmitry Eremin-Solenikov (dbaryshkov@gmail.com)
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2674_0 |
crossvul-cpp_data_good_235_0 | /* radare2 - LGPL - Copyright 2016-2017 - Davis, Alex Kornitzer */
#include <r_util.h>
#include "mdmp.h"
ut64 r_bin_mdmp_get_paddr(struct r_bin_mdmp_obj *obj, ut64 vaddr) {
/* FIXME: Will only resolve exact matches, probably no need to fix as
** this function will become redundant on the optimisation stage */
str... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_235_0 |
crossvul-cpp_data_bad_5313_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% W W PPPP GGGG ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_5313_0 |
crossvul-cpp_data_good_1370_0 | /*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
* Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
*
* Redistribution and use in source and binary forms, with o... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_1370_0 |
crossvul-cpp_data_good_270_2 | /*
* rdbmp.c
*
* This file was part of the Independent JPEG Group's software:
* Copyright (C) 1994-1996, Thomas G. Lane.
* Modified 2009-2017 by Guido Vollbeding.
* libjpeg-turbo Modifications:
* Modified 2011 by Siarhei Siamashka.
* Copyright (C) 2015, 2017-2018, D. R. Commander.
* For conditions of distribut... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_270_2 |
crossvul-cpp_data_good_3945_0 | /**
* WinPR: Windows Portable Runtime
* NTLM Security Package (Message)
*
* Copyright 2011-2014 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 Lic... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_3945_0 |
crossvul-cpp_data_bad_615_0 | ////////////////////////////////////////////////////////////////////////////
// **** WAVPACK **** //
// Hybrid Lossless Wavefile Compressor //
// Copyright (c) 1998 - 2016 David Bryant. //
// ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_615_0 |
crossvul-cpp_data_bad_1853_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_1853_0 |
crossvul-cpp_data_bad_4039_1 | /*
* rdppm.c
*
* This file was part of the Independent JPEG Group's software:
* Copyright (C) 1991-1997, Thomas G. Lane.
* Modified 2009 by Bill Allombert, Guido Vollbeding.
* libjpeg-turbo Modifications:
* Copyright (C) 2015-2017, D. R. Commander.
* For conditions of distribution and use, see the accompanying ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_4039_1 |
crossvul-cpp_data_bad_328_0 | /*
* Copyright (c) 2001
* Fortress Technologies, Inc. All rights reserved.
* Charlie Lenahan (clenahan@fortresstech.com)
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_328_0 |
crossvul-cpp_data_bad_17_0 | /*
* Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013 Sourcefire, Inc.
*
* Authors: Steven Morgan <smorgan@sourcefire.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ve... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_17_0 |
crossvul-cpp_data_bad_2910_0 | /*
* (Tentative) USB Audio Driver for ALSA
*
* Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>
*
* Many codes borrowed from audio.c by
* Alan Cox (alan@lxorguk.ukuu.org.uk)
* Thomas Sailer (sailer@ife.ee.ethz.ch)
*
*
* This program is free software; you can redistribute it and/or modify
* ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2910_0 |
crossvul-cpp_data_good_4019_3 | /* exif-mnote-data-pentax.c
*
* Copyright (c) 2002, 2003 Lutz Mueller <lutz@users.sourceforge.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 of the Licen... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_4019_3 |
crossvul-cpp_data_good_182_0 | /* radare - LGPL - Copyright 2015 - condret, riq */
/* 6502 info taken from http://unusedino.de/ec64/technical/aay/c64/bchrt651.htm
*
* Mnemonics logic based on:
* http://homepage.ntlworld.com/cyborgsystems/CS_Main/6502/6502.htm
* and:
* http://vice-emu.sourceforge.net/
*/
#include <string.h>
#include <r_types.... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_182_0 |
crossvul-cpp_data_good_3369_0 | // imagew-jpeg.c
// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.
// For more information, see the readme.txt file.
#include "imagew-config.h"
#if IW_SUPPORT_JPEG == 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <setjmp.h>
#include <jpeglib.h>
#include <jerror... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_3369_0 |
crossvul-cpp_data_good_2696_0 | /*
* Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2696_0 |
crossvul-cpp_data_bad_5094_0 |
/* $Id: fpm_status.c 312262 2011-06-18 17:41:56Z felipe $ */
/* (c) 2009 Jerome Loyet */
#include "php.h"
#include "SAPI.h"
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#ifdef HAVE_TIMES
#include <sys/times.h>
#endif
#include "fpm_config.h"
#include "fpm_log.h"
#include "fpm_clock.h"
#include "fpm_pr... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_5094_0 |
crossvul-cpp_data_bad_2644_8 | /*
* Copyright (c) 1992, 1993, 1994, 1995, 1996, 1997
* The Regents of the University of California. All rights reserved.
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2644_8 |
crossvul-cpp_data_good_2711_0 | /*
* Copyright (c) 1992, 1993, 1994, 1995, 1996
* The Regents of the University of California. All rights reserved.
*
* 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 paragr... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2711_0 |
crossvul-cpp_data_good_925_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_925_0 |
crossvul-cpp_data_bad_1014_0 | /*
* QLogic iSCSI Offload Driver
* Copyright (c) 2016 Cavium Inc.
*
* This software is available 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.
*/
#include "qedi_dbg.h"
#include <linux/vmalloc.h>
void
qedi_dbg_er... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_1014_0 |
crossvul-cpp_data_good_1019_2 | /*! @file GPMF_demo.c
*
* @brief Demo to extract GPMF from an MP4
*
* @version 1.0.1
*
* (C) Copyright 2017 GoPro Inc (http://gopro.com/).
*
* Licensed under either:
* - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0
* - MIT license, http://opensource.org/licenses/MIT
* at ... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_1019_2 |
crossvul-cpp_data_good_451_0 | /*
** The Sleuth Kit
**
** This software is subject to the IBM Public License ver. 1.0,
** which was displayed prior to download and is included in the readme.txt
** file accompanying the Sleuth Kit files. It may also be requested from:
** Crucial Security Inc.
** 14900 Conference Center Drive
** Chantilly, VA 20151
*... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_451_0 |
crossvul-cpp_data_bad_351_16 | /*
* PKCS15 emulation layer for TCOS based preformatted cards
*
* Copyright (C) 2011, Peter Koch <pk@opensc-project.org>
*
* 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-125/c/bad_351_16 |
crossvul-cpp_data_bad_5106_0 | /* airpdcap.c
*
* Copyright (c) 2006 CACE Technologies, Davis (California)
* 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 copyr... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_5106_0 |
crossvul-cpp_data_good_5501_0 | /*
* Copyright (C) 2001 MandrakeSoft S.A.
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* MandrakeSoft S.A.
* 43, rue d'Aboukir
* 75002 Paris - France
* http://www.linux-mandrake.com/
* http://www.mandrakesoft.com/
*
* This library is free software; you can redistribute it and/or
... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_5501_0 |
crossvul-cpp_data_good_2661_0 | /* $NetBSD: print-telnet.c,v 1.2 1999/10/11 12:40:12 sjg Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Simon J. Gerraty.
*
* Redistribution and use in source and binary forms, with or w... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2661_0 |
crossvul-cpp_data_bad_157_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-125/c/bad_157_2 |
crossvul-cpp_data_bad_2677_0 | /*
* Copyright (c) 2003 Bruce M. Simpson <bms@spc.org>
* 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, th... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2677_0 |
crossvul-cpp_data_bad_2707_0 | /*
* Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2707_0 |
crossvul-cpp_data_good_5106_0 | /* airpdcap.c
*
* Copyright (c) 2006 CACE Technologies, Davis (California)
* 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 copyr... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_5106_0 |
crossvul-cpp_data_bad_2675_0 | /*
* Copyright (c) 2009
* Siemens AG, All rights reserved.
* Dmitry Eremin-Solenikov (dbaryshkov@gmail.com)
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2675_0 |
crossvul-cpp_data_bad_1835_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_1835_0 |
crossvul-cpp_data_bad_5869_0 | /*
* The two pass scaling function is based on:
* Filtered Image Rescaling
* Based on Gems III
* - Schumacher general filtered image rescaling
* (pp. 414-424)
* by Dale Schumacher
*
* Additional changes by Ray Gardener, Daylon Graphics Ltd.
* December 4, 1999
*
* Ported to libgd by Pierre Joye. Support f... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_5869_0 |
crossvul-cpp_data_bad_3905_0 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* Windowing Alternate Secondary Orders
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
* Copyright 2011 Roman Barabanov <romanbarabanov@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_3905_0 |
crossvul-cpp_data_good_330_0 | /*
* Copyright (C) Arnaldo Carvalho de Melo 2004
* Copyright (C) Ian McDonald 2005
* Copyright (C) Yoshifumi Nishida 2005
*
* This software may be distributed either under the terms of the
* BSD-style license that accompanies tcpdump or the GNU GPL version 2
*/
/* \summary: Datagram Congestion Control Protocol ... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_330_0 |
crossvul-cpp_data_good_142_0 | /* radare - LGPL - Copyright 2011-2018 - pancake, Roc Valles, condret, killabyte */
#if 0
http://www.atmel.com/images/atmel-0856-avr-instruction-set-manual.pdf
https://en.wikipedia.org/wiki/Atmel_AVR_instruction_set
#endif
#include <string.h>
#include <r_types.h>
#include <r_util.h>
#include <r_lib.h>
#include <r_asm... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_142_0 |
crossvul-cpp_data_bad_2648_2 | /*
* 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-125/c/bad_2648_2 |
crossvul-cpp_data_bad_2592_0 | /*
* VC3/DNxHD decoder.
* Copyright (c) 2007 SmartJog S.A., Baptiste Coudurier <baptiste dot coudurier at smartjog dot com>
* Copyright (c) 2011 MirriAd Ltd
* Copyright (c) 2015 Christophe Gisquet
*
* 10 bit support added by MirriAd Ltd, Joseph Artsimovich <joseph@mirriad.com>
* Slice multithreading and MB inter... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2592_0 |
crossvul-cpp_data_good_289_0 | /*
* Copyright (C) 1999 WIDE Project.
* 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 condit... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_289_0 |
crossvul-cpp_data_bad_2731_0 | /*
* Copyright (c) 1992, 1993, 1994, 1995, 1996
* The Regents of the University of California. All rights reserved.
*
* 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 paragr... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2731_0 |
crossvul-cpp_data_good_2675_0 | /*
* Copyright (c) 2009
* Siemens AG, All rights reserved.
* Dmitry Eremin-Solenikov (dbaryshkov@gmail.com)
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2675_0 |
crossvul-cpp_data_bad_2700_0 | /*
* Copyright (C) 2002 WIDE Project.
* 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 condit... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2700_0 |
crossvul-cpp_data_bad_4652_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-125/c/bad_4652_0 |
crossvul-cpp_data_good_1423_0 | /*
* Copyright (c) Christos Zoulas 2003.
* 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 immediately at th... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_1423_0 |
crossvul-cpp_data_bad_3954_0 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* Glyph Cache
*
* 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 License at... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_3954_0 |
crossvul-cpp_data_good_1019_0 | /*! @file GPMF_parser.c
*
* @brief GPMF Parser library
*
* @version 1.2.2
*
* (C) Copyright 2017 GoPro Inc (http://gopro.com/).
*
* Licensed under either:
* - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0
* - MIT license, http://opensource.org/licenses/MIT
* at your opti... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_1019_0 |
crossvul-cpp_data_good_3207_0 | /*
* Yerase's TNEF Stream Reader Library
* Copyright (C) 2003 Randall E. Hand
*
* 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-125/c/good_3207_0 |
crossvul-cpp_data_bad_468_0 | /*
* MPEG-4 decoder
* Copyright (c) 2000,2001 Fabrice Bellard
* Copyright (c) 2002-2010 Michael Niedermayer <michaelni@gmx.at>
*
* 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-125/c/bad_468_0 |
crossvul-cpp_data_good_329_0 | /*
* Copyright (c) 2016 Antonin Décimo, Jean-Raphaël Gaglione
*
* 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 condit... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_329_0 |
crossvul-cpp_data_good_351_7 | /*
* card-gpk: Driver for GPK 4000 cards
*
* Copyright (C) 2002 Olaf Kirch <okir@suse.de>
*
* 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, o... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_351_7 |
crossvul-cpp_data_good_5481_1 | /* $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-125/c/good_5481_1 |
crossvul-cpp_data_bad_4831_1 | ////////////////////////////////////////////////////////////////////////////
// **** WAVPACK **** //
// Hybrid Lossless Wavefile Compressor //
// Copyright (c) 1998 - 2013 Conifer Software. //
// ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_4831_1 |
crossvul-cpp_data_good_2689_0 | /*
* Copyright (c) 1993, 1994, 1995, 1996
* The Regents of the University of California. All rights reserved.
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2689_0 |
crossvul-cpp_data_bad_1283_0 | /*
* This file includes functions to transform a concrete syntax tree (CST) to
* an abstract syntax tree (AST). The main function is Ta3AST_FromNode().
*
*/
#include "Python.h"
#include "Python-ast.h"
#include "node.h"
#include "ast.h"
#include "token.h"
#include "pythonrun.h"
#include <assert.h>
// VS 2010 doesn... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_1283_0 |
crossvul-cpp_data_bad_182_0 | /* radare - LGPL - Copyright 2015 - condret, riq */
/* 6502 info taken from http://unusedino.de/ec64/technical/aay/c64/bchrt651.htm
*
* Mnemonics logic based on:
* http://homepage.ntlworld.com/cyborgsystems/CS_Main/6502/6502.htm
* and:
* http://vice-emu.sourceforge.net/
*/
#include <string.h>
#include <r_types.... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_182_0 |
crossvul-cpp_data_bad_504_0 | /* radare - LGPL - Copyright 2009-2018 - pancake, maijin */
#include "r_util.h"
#include "r_core.h"
#include "r_anal.h"
static const char *help_msg_a[] = {
"Usage:", "a", "[abdefFghoprxstc] [...]",
"aa", "[?]", "analyze all (fcns + bbs) (aa0 to avoid sub renaming)",
"a8", " [hexpairs]", "analyze bytes",
"ab", "[b... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_504_0 |
crossvul-cpp_data_good_5009_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-125/c/good_5009_0 |
crossvul-cpp_data_good_669_3 | /*
* Record values functions
*
* Copyright (C) 2011-2018, Joachim Metz <joachim.metz@gmail.com>
*
* Refer to AUTHORS for acknowledgements.
*
* This software 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 ... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_669_3 |
crossvul-cpp_data_bad_486_6 | /* -*- c-basic-offset: 8 -*-
rdesktop: A Remote Desktop Protocol client.
Protocol services - Multipoint Communications Service
Copyright (C) Matthew Chapman <matthewc.unsw.edu.au> 1999-2008
Copyright 2005-2011 Peter Astrand <astrand@cendio.se> for Cendio AB
Copyright 2018 Henrik Andersson <hean01@cendio.... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_486_6 |
crossvul-cpp_data_bad_5009_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-125/c/bad_5009_0 |
crossvul-cpp_data_bad_3956_0 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* Bitmap Cache V2
*
* 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 Licens... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_3956_0 |
crossvul-cpp_data_good_376_0 | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_376_0 |
crossvul-cpp_data_good_2707_0 | /*
* Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-125/c/good_2707_0 |
crossvul-cpp_data_bad_2696_0 | /*
* Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* 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 ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_2696_0 |
crossvul-cpp_data_good_2648_2 | /*
* 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-125/c/good_2648_2 |
crossvul-cpp_data_bad_4831_0 | ////////////////////////////////////////////////////////////////////////////
// **** WAVPACK **** //
// Hybrid Lossless Wavefile Compressor //
// Copyright (c) 1998 - 2016 David Bryant. //
// ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_4831_0 |
crossvul-cpp_data_bad_451_0 | /*
** The Sleuth Kit
**
** This software is subject to the IBM Public License ver. 1.0,
** which was displayed prior to download and is included in the readme.txt
** file accompanying the Sleuth Kit files. It may also be requested from:
** Crucial Security Inc.
** 14900 Conference Center Drive
** Chantilly, VA 20151
*... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_451_0 |
crossvul-cpp_data_bad_5298_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_5298_0 |
crossvul-cpp_data_bad_157_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-125/c/bad_157_1 |
crossvul-cpp_data_bad_4214_0 | /*
* ndpi_main.c
*
* Copyright (C) 2011-20 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Lic... | ./CrossVul/dataset_final_sorted/CWE-125/c/bad_4214_0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.