id stringlengths 25 30 | content stringlengths 14 942k | max_stars_repo_path stringlengths 49 55 |
|---|---|---|
crossvul-cpp_data_bad_5666_7 | /*
* Synchronous Cryptographic Hash operations.
*
* Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the L... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5666_7 |
crossvul-cpp_data_good_4932_0 | /* Decoder for ASN.1 BER/DER/CER encoded bytestream
*
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_4932_0 |
crossvul-cpp_data_good_5741_0 | /* SCTP kernel implementation
* (C) Copyright IBM Corp. 2002, 2004
* Copyright (c) 2001 Nokia, Inc.
* Copyright (c) 2001 La Monte H.P. Yarroll
* Copyright (c) 2002-2003 Intel Corp.
*
* This file is part of the SCTP kernel implementation
*
* SCTP over IPv6.
*
* This SCTP implementation is free software;
* you... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5741_0 |
crossvul-cpp_data_good_5867_0 | /* X-Chat
* Copyright (C) 1998 Peter Zelezny.
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5867_0 |
crossvul-cpp_data_bad_5666_4 | /*
* Crypto user configuration API.
*
* Copyright (C) 2011 secunet Security Networks AG
* Copyright (C) 2011 Steffen Klassert <steffen.klassert@secunet.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5666_4 |
crossvul-cpp_data_bad_1446_0 | /* ssl/s3_srvr.c -*- mode:C; c-file-style: "eay" -*- */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library i... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_1446_0 |
crossvul-cpp_data_good_3783_3 | /*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_3783_3 |
crossvul-cpp_data_bad_1445_4 | /* ssl/s3_clnt.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commer... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_1445_4 |
crossvul-cpp_data_bad_892_0 | /* cipher-gcm.c - Generic Galois Counter Mode implementation
* Copyright (C) 2013 Dmitry Eremin-Solenikov
* Copyright (C) 2013, 2018-2019 Jussi Kivilinna <jussi.kivilinna@iki.fi>
*
* This file is part of Libgcrypt.
*
* Libgcrypt is free software; you can redistribute it and/or modify
* it under the terms of the... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_892_0 |
crossvul-cpp_data_bad_3783_2 | /*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_3783_2 |
crossvul-cpp_data_good_2152_1 | /* ssl/s3_clnt.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commer... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_2152_1 |
crossvul-cpp_data_good_2309_4 | /* crypto/x509/x_all.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_2309_4 |
crossvul-cpp_data_bad_5666_0 | /*
* Asynchronous block chaining cipher operations.
*
* This is the asynchronous version of blkcipher.c indicating completion
* via a callback.
*
* Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GN... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5666_0 |
crossvul-cpp_data_bad_2309_1 | /* crypto/asn1/a_verify.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and n... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_2309_1 |
crossvul-cpp_data_bad_2309_2 | /* dsa_asn1.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or witho... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_2309_2 |
crossvul-cpp_data_bad_5329_0 | /*
* 'OpenSSL for Ruby' project
* Copyright (C) 2001-2002 Michal Rokos <m.rokos@sh.cvut.cz>
* All rights reserved.
*/
/*
* This program is licensed under the same licence as Ruby.
* (See the file 'LICENCE'.)
*/
#include "ossl.h"
#define NewCipher(klass) \
TypedData_Wrap_Struct((klass), &ossl_cipher_type, 0... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5329_0 |
crossvul-cpp_data_bad_5666_3 | /*
* Block chaining cipher operations.
*
* Generic encrypt/decrypt wrapper for ciphers, handles operations across
* multiple page boundaries by using temporary blocks. In user context,
* the kernel is given a chance to schedule us once per page.
*
* Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5666_3 |
crossvul-cpp_data_good_5666_6 | /*
* Cryptographic API.
*
* RNG operations.
*
* Copyright (c) 2008 Neil Horman <nhorman@tuxdriver.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License,... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5666_6 |
crossvul-cpp_data_good_3783_1 | /*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_3783_1 |
crossvul-cpp_data_good_893_2 | /* Rijndael (AES) for GnuPG
* Copyright (C) 2000, 2001, 2002, 2003, 2007,
* 2008, 2011, 2012 Free Software Foundation, Inc.
*
* This file is part of Libgcrypt.
*
* Libgcrypt is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* p... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_893_2 |
crossvul-cpp_data_good_3428_0 | /*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2010-2011. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
* compliance with the License. You should have received a copy of the
* Erlang Public Licen... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_3428_0 |
crossvul-cpp_data_good_5666_0 | /*
* Asynchronous block chaining cipher operations.
*
* This is the asynchronous version of blkcipher.c indicating completion
* via a callback.
*
* Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GN... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5666_0 |
crossvul-cpp_data_good_5867_1 | /*
* ssl.c v0.0.3
* Copyright (C) 2000 -- DaP <profeta@freemail.c3.hu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5867_1 |
crossvul-cpp_data_bad_893_2 | /* Rijndael (AES) for GnuPG
* Copyright (C) 2000, 2001, 2002, 2003, 2007,
* 2008, 2011, 2012 Free Software Foundation, Inc.
*
* This file is part of Libgcrypt.
*
* Libgcrypt is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* p... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_893_2 |
crossvul-cpp_data_good_3783_2 | /*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_3783_2 |
crossvul-cpp_data_bad_3783_1 | /*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_3783_1 |
crossvul-cpp_data_bad_2309_3 | /* crypto/ecdsa/ecdsa_vrf.c */
/*
* Written by Nils Larsch for the OpenSSL project
*/
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_2309_3 |
crossvul-cpp_data_bad_2310_0 | /* crypto/asn1/a_verify.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and n... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_2310_0 |
crossvul-cpp_data_bad_5666_1 | /*
* AEAD: Authenticated Encryption with Associated Data
*
* This file provides API support for AEAD algorithms.
*
* Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publ... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5666_1 |
crossvul-cpp_data_good_3783_4 | /*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_3783_4 |
crossvul-cpp_data_bad_5867_0 | /* X-Chat
* Copyright (C) 1998 Peter Zelezny.
*
* 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... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5867_0 |
crossvul-cpp_data_good_5666_3 | /*
* Block chaining cipher operations.
*
* Generic encrypt/decrypt wrapper for ciphers, handles operations across
* multiple page boundaries by using temporary blocks. In user context,
* the kernel is given a chance to schedule us once per page.
*
* Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5666_3 |
crossvul-cpp_data_good_5666_7 | /*
* Synchronous Cryptographic Hash operations.
*
* Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the L... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5666_7 |
crossvul-cpp_data_good_1445_3 | /* ssl/d1_srvr.c */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
*/
/* ====================================================================
* Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in sour... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_1445_3 |
crossvul-cpp_data_good_5666_2 | /*
* Asynchronous Cryptographic Hash operations.
*
* This is the asynchronous version of hash.c with notification of
* completion via a callback.
*
* Copyright (c) 2008 Loc Ho <lho@amcc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public ... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5666_2 |
crossvul-cpp_data_good_2309_3 | /* crypto/ecdsa/ecdsa_vrf.c */
/*
* Written by Nils Larsch for the OpenSSL project
*/
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_2309_3 |
crossvul-cpp_data_bad_5741_0 | /* SCTP kernel implementation
* (C) Copyright IBM Corp. 2002, 2004
* Copyright (c) 2001 Nokia, Inc.
* Copyright (c) 2001 La Monte H.P. Yarroll
* Copyright (c) 2002-2003 Intel Corp.
*
* This file is part of the SCTP kernel implementation
*
* SCTP over IPv6.
*
* This SCTP implementation is free software;
* you... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5741_0 |
crossvul-cpp_data_good_2309_2 | /* dsa_asn1.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or witho... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_2309_2 |
crossvul-cpp_data_bad_1445_3 | /* ssl/d1_srvr.c */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
*/
/* ====================================================================
* Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in sour... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_1445_3 |
crossvul-cpp_data_good_5666_4 | /*
* Crypto user configuration API.
*
* Copyright (C) 2011 secunet Security Networks AG
* Copyright (C) 2011 Steffen Klassert <steffen.klassert@secunet.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5666_4 |
crossvul-cpp_data_bad_5666_5 | /*
* Cryptographic API.
*
* Partial (de)compression operations.
*
* Copyright 2008 Sony Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* Thi... | ./CrossVul/dataset_final_sorted/CWE-310/c/bad_5666_5 |
crossvul-cpp_data_good_1445_4 | /* ssl/s3_clnt.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commer... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_1445_4 |
crossvul-cpp_data_good_5666_1 | /*
* AEAD: Authenticated Encryption with Associated Data
*
* This file provides API support for AEAD algorithms.
*
* Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publ... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_5666_1 |
crossvul-cpp_data_good_1446_0 | /* ssl/s3_srvr.c -*- mode:C; c-file-style: "eay" -*- */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library i... | ./CrossVul/dataset_final_sorted/CWE-310/c/good_1446_0 |
crossvul-cpp_data_good_1210_0 | /*
* This file is part of the KeepKey project.
*
* Copyright (C) 2015 KeepKey LLC
*
* 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 3 of the License, or
* (at your ... | ./CrossVul/dataset_final_sorted/CWE-354/c/good_1210_0 |
crossvul-cpp_data_bad_1210_0 | /*
* This file is part of the KeepKey project.
*
* Copyright (C) 2015 KeepKey LLC
*
* 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 3 of the License, or
* (at your ... | ./CrossVul/dataset_final_sorted/CWE-354/c/bad_1210_0 |
crossvul-cpp_data_good_4604_0 | /* $OpenBSD: smtp_session.c,v 1.422 2020/01/28 21:35:00 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
* Copyright (c) 2008-2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
... | ./CrossVul/dataset_final_sorted/CWE-252/c/good_4604_0 |
crossvul-cpp_data_bad_4268_0 | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditions... | ./CrossVul/dataset_final_sorted/CWE-252/c/bad_4268_0 |
crossvul-cpp_data_good_4268_0 | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditions... | ./CrossVul/dataset_final_sorted/CWE-252/c/good_4268_0 |
crossvul-cpp_data_bad_4604_0 | /* $OpenBSD: smtp_session.c,v 1.421 2020/01/08 00:05:38 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
* Copyright (c) 2008-2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
... | ./CrossVul/dataset_final_sorted/CWE-252/c/bad_4604_0 |
crossvul-cpp_data_good_2978_0 | /* Request a key from userspace
*
* Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 Found... | ./CrossVul/dataset_final_sorted/CWE-862/c/good_2978_0 |
crossvul-cpp_data_good_4459_0 | /*
Copyright (C) 2002-2010 Karl J. Runge <runge@karlrunge.com>
All rights reserved.
This file is part of x11vnc.
x11vnc 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 ... | ./CrossVul/dataset_final_sorted/CWE-862/c/good_4459_0 |
crossvul-cpp_data_bad_2978_0 | /* Request a key from userspace
*
* Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 Found... | ./CrossVul/dataset_final_sorted/CWE-862/c/bad_2978_0 |
crossvul-cpp_data_bad_3155_0 | /*
*
* Copyright © 2013 Serge Hallyn <serge.hallyn@ubuntu.com>.
* Copyright © 2013 Canonical Ltd.
*
* 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 distri... | ./CrossVul/dataset_final_sorted/CWE-862/c/bad_3155_0 |
crossvul-cpp_data_bad_4459_0 | /*
Copyright (C) 2002-2010 Karl J. Runge <runge@karlrunge.com>
All rights reserved.
This file is part of x11vnc.
x11vnc 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 ... | ./CrossVul/dataset_final_sorted/CWE-862/c/bad_4459_0 |
crossvul-cpp_data_good_3155_0 | /*
*
* Copyright © 2013 Serge Hallyn <serge.hallyn@ubuntu.com>.
* Copyright © 2013 Canonical Ltd.
*
* 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 distri... | ./CrossVul/dataset_final_sorted/CWE-862/c/good_3155_0 |
crossvul-cpp_data_good_1539_0 | /***************************************************************************
* Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This pr... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/good_1539_0 |
crossvul-cpp_data_bad_1539_0 | /***************************************************************************
* Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This pr... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/bad_1539_0 |
crossvul-cpp_data_bad_3854_0 | /* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
* InspIRCd: (C) 2002-2010 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
* the fil... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/bad_3854_0 |
crossvul-cpp_data_good_5642_0 | /* -*- C++ -*-
* File: libraw_cxx.cpp
* Copyright 2008-2013 LibRaw LLC (info@libraw.org)
* Created: Sat Mar 8 , 2008
*
* LibRaw C++ interface (implementation)
LibRaw is free software; you can redistribute it and/or modify
it under the terms of the one of three licenses as you choose:
1. GNU LESSER GENERAL PUBLI... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/good_5642_0 |
crossvul-cpp_data_bad_1539_2 | /***************************************************************************
* Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This pr... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/bad_1539_2 |
crossvul-cpp_data_bad_1539_6 | /***************************************************************************
* Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This pr... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/bad_1539_6 |
crossvul-cpp_data_good_3854_0 | /* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
* InspIRCd: (C) 2002-2010 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
* the fil... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/good_3854_0 |
crossvul-cpp_data_bad_1539_4 | /***************************************************************************
* Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This pr... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/bad_1539_4 |
crossvul-cpp_data_good_3566_0 | /*
* Copyright (C) 2004-2011 See the AUTHORS file for details.
*
* 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.
*/
#include "zncconfig.h"
#include "znc.h"
#include "User.h"
#i... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/good_3566_0 |
crossvul-cpp_data_good_1539_2 | /***************************************************************************
* Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This pr... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/good_1539_2 |
crossvul-cpp_data_bad_3566_0 | /*
* Copyright (C) 2004-2011 See the AUTHORS file for details.
*
* 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.
*/
#include "zncconfig.h"
#include "znc.h"
#include "User.h"
#i... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/bad_3566_0 |
crossvul-cpp_data_good_1539_6 | /***************************************************************************
* Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This pr... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/good_1539_6 |
crossvul-cpp_data_good_1539_4 | /***************************************************************************
* Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This pr... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/good_1539_4 |
crossvul-cpp_data_bad_5642_0 | /* -*- C++ -*-
* File: libraw_cxx.cpp
* Copyright 2008-2013 LibRaw LLC (info@libraw.org)
* Created: Sat Mar 8 , 2008
*
* LibRaw C++ interface (implementation)
LibRaw is free software; you can redistribute it and/or modify
it under the terms of the one of three licenses as you choose:
1. GNU LESSER GENERAL PUBLI... | ./CrossVul/dataset_final_sorted/CWE-399/cpp/bad_5642_0 |
crossvul-cpp_data_good_3449_0 | /*
* fs/inotify_user.c - inotify support for userspace
*
* Authors:
* John McCutchan <ttb@tentacle.dhs.org>
* Robert Love <rml@novell.com>
*
* Copyright (C) 2005 John McCutchan
* Copyright 2006 Hewlett-Packard Development Company, L.P.
*
* Copyright (C) 2009 Eric Paris <Red Hat Inc>
* inotify was largely rew... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_3449_0 |
crossvul-cpp_data_bad_1856_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_1856_0 |
crossvul-cpp_data_bad_2392_8 | /*
* 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-399/c/bad_2392_8 |
crossvul-cpp_data_bad_3486_2 | /*
* ARMv7 Cortex-A8 and Cortex-A9 Performance Events handling code.
*
* ARMv7 support: Jean Pihet <jpihet@mvista.com>
* 2010 (c) MontaVista Software, LLC.
*
* Copied from ARMv6 code, with the low level code inspired
* by the ARMv7 Oprofile code.
*
* Cortex-A8 has up to 4 configurable performance counters and... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_3486_2 |
crossvul-cpp_data_bad_5318_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_5318_0 |
crossvul-cpp_data_bad_2059_0 | /*
* wanXL serial card driver for Linux
* host part
*
* Copyright (C) 2003 Krzysztof Halasa <khc@pm.waw.pl>
*
* 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.
*
* Status:
... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_2059_0 |
crossvul-cpp_data_good_2172_0 | /* SCTP kernel implementation
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 2002 International Business Machines, Corp.
*
* This file is part of the SCTP kernel implementation
*
* These functions are the methods for accessing the SCTP inqueue.
*
* An SCTP inqueu... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_2172_0 |
crossvul-cpp_data_bad_5650_0 | /*
* linux/kernel/signal.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* 1997-11-02 Modified for POSIX.1b signals by Richard Henderson
*
* 2003-06-02 Jim Houston - Concurrent Computer Corp.
* Changes to use preallocated sigqueue structures
* to allow signals to be sent reliably.
*/
#include <linux... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_5650_0 |
crossvul-cpp_data_good_1416_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_1416_0 |
crossvul-cpp_data_good_3471_0 | /*
* linux/fs/lockd/clntproc.c
*
* RPC procedures for the client side NLM implementation
*
* Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/nfs_fs.h>
#include <linux/ut... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_3471_0 |
crossvul-cpp_data_bad_3573_0 | /*
* An async IO implementation for Linux
* Written by Benjamin LaHaise <bcrl@kvack.org>
*
* Implements an efficient asynchronous io interface.
*
* Copyright 2000, 2001, 2002 Red Hat, Inc. All Rights Reserved.
*
* See ../COPYING for licensing terms.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#includ... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_3573_0 |
crossvul-cpp_data_bad_5561_0 | /*
* Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_5561_0 |
crossvul-cpp_data_good_3486_6 | /*
* linux/arch/arm/mm/fault.c
*
* Copyright (C) 1995 Linus Torvalds
* Modifications for ARM processor (c) 1995-2004 Russell King
*
* 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 Foun... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_3486_6 |
crossvul-cpp_data_bad_2262_2 | /*
* linux/fs/isofs/rock.c
*
* (C) 1992, 1993 Eric Youngdale
*
* Rock Ridge Extensions to iso9660
*/
#include <linux/slab.h>
#include <linux/pagemap.h>
#include "isofs.h"
#include "rock.h"
/*
* These functions are designed to read the system areas of a directory record
* and extract relevant information.... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_2262_2 |
crossvul-cpp_data_bad_3431_3 | /*
* reflection.c: Routines for creating an image at runtime.
*
* Author:
* Paolo Molaro (lupus@ximian.com)
*
* Copyright 2001-2003 Ximian, Inc (http://www.ximian.com)
* Copyright 2004-2009 Novell, Inc (http://www.novell.com)
*
*/
#include <config.h>
#include "mono/utils/mono-digest.h"
#include "mono/utils/... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_3431_3 |
crossvul-cpp_data_bad_931_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_931_0 |
crossvul-cpp_data_bad_905_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_905_0 |
crossvul-cpp_data_bad_3574_0 | /*
* Linux NET3: Internet Group Management Protocol [IGMP]
*
* This code implements the IGMP protocol as defined in RFC1112. There has
* been a further revision of this protocol since which is now supported.
*
* If you have trouble with this module be careful what gcc you have used,
* the older version didn't c... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_3574_0 |
crossvul-cpp_data_good_2393_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 t... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_2393_0 |
crossvul-cpp_data_good_3486_9 | /*
* Handle unaligned accesses by emulation.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1996, 1998, 1999, 2002 by Ralf Baechle
* Copyright (C) 1999 Silicon Graphics,... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_3486_9 |
crossvul-cpp_data_bad_2322_0 | /******************************************************************************
* emulate.c
*
* Generic x86 (32-bit and 64-bit) instruction decoder and emulator.
*
* Copyright (c) 2005 Keir Fraser
*
* Linux coding style, mod r/m decoder, segment base fixes, real-mode
* privileged instructions:
*
* Copyright (... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_2322_0 |
crossvul-cpp_data_bad_5672_0 | #include <linux/err.h>
#include <linux/igmp.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/rculist.h>
#include <linux/skbuff.h>
#include <linux/if_ether.h>
#include <net/ip.h>
#include <net/netlink.h>
#if IS_ENABLED(CONFIG_IPV6)
#include <net/ipv6.h>
#endif
#include "br_private.h"
static in... | ./CrossVul/dataset_final_sorted/CWE-399/c/bad_5672_0 |
crossvul-cpp_data_good_3427_0 | /*
* Bridge multicast support.
*
* Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at yo... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_3427_0 |
crossvul-cpp_data_good_1677_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.
*
* The User Datagram Protocol (UDP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_1677_0 |
crossvul-cpp_data_good_4815_1 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_4815_1 |
crossvul-cpp_data_good_4966_2 | /* scm.c - Socket level control messages processing.
*
* Author: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
* Alignment and value checking mods by Craig Metz
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publishe... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_4966_2 |
crossvul-cpp_data_good_3622_0 | /*
* kvm_ia64.c: Basic KVM suppport On Itanium series processors
*
*
* Copyright (C) 2007, Intel Corporation.
* Xiantao Zhang (xiantao.zhang@intel.com)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_3622_0 |
crossvul-cpp_data_good_1493_0 | /* crypto/bn/bn_gf2m.c */
/* ====================================================================
* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
*
* The Elliptic Curve Public-Key Crypto Library (ECC Code) included
* herein is developed by SUN MICROSYSTEMS, INC., and is contributed
* to the OpenSSL pr... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_1493_0 |
crossvul-cpp_data_good_1415_0 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_1415_0 |
crossvul-cpp_data_good_5721_1 | /*
* 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.
*
* The User Datagram Protocol (UDP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG... | ./CrossVul/dataset_final_sorted/CWE-399/c/good_5721_1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.