id
stringlengths
25
30
content
stringlengths
14
942k
max_stars_repo_path
stringlengths
49
55
crossvul-cpp_data_bad_1611_3
/* t1disasm * * This program `disassembles' Adobe Type-1 font programs in either PFB or PFA * format. It produces a human readable/editable pseudo-PostScript file by * performing eexec and charstring decryption as specified in the `Adobe Type 1 * Font Format' version 1.1 (the `black book'). There is a companion ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_1611_3
crossvul-cpp_data_good_252_0
/** * @file * IMAP CRAM-MD5 authentication method * * @authors * Copyright (C) 1999-2001,2005 Brendan Cully <brendan@kublai.com> * * @copyright * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foun...
./CrossVul/dataset_final_sorted/CWE-119/c/good_252_0
crossvul-cpp_data_good_5824_0
/* * FFV1 decoder * * Copyright (c) 2003-2013 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 Free Software Foundation; either * versio...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5824_0
crossvul-cpp_data_good_4734_0
/* * helper functions for vmalloc video4linux capture buffers * * The functions expect the hardware being able to scatter gatter * (i.e. the buffers are not linear in physical memory, but fragmented * into PAGE_SIZE chunks). They also assume the driver does not need * to touch the video data. * * (c) 2007 Maur...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4734_0
crossvul-cpp_data_good_3277_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/good_3277_0
crossvul-cpp_data_good_4787_3
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4787_3
crossvul-cpp_data_bad_2038_1
/*- * Copyright (c) 2008 Christos Zoulas * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of con...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2038_1
crossvul-cpp_data_bad_344_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_344_10
crossvul-cpp_data_bad_1579_0
/* * 8253/8254 interval timer emulation * * Copyright (c) 2003-2004 Fabrice Bellard * Copyright (c) 2006 Intel Corporation * Copyright (c) 2007 Keir Fraser, XenSource Inc * Copyright (c) 2008 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software a...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_1579_0
crossvul-cpp_data_good_1359_3
/** * @file tree_schema.c * @author Radek Krejci <rkrejci@cesnet.cz> * @brief Manipulation with libyang schema 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 Lic...
./CrossVul/dataset_final_sorted/CWE-119/c/good_1359_3
crossvul-cpp_data_good_4946_7
#include "cache.h" #include "tag.h" #include "blob.h" #include "tree.h" #include "commit.h" #include "diff.h" #include "refs.h" #include "revision.h" #include "graph.h" #include "grep.h" #include "reflog-walk.h" #include "patch-ids.h" #include "decorate.h" #include "log-tree.h" #include "string-list.h" #include "line-l...
./CrossVul/dataset_final_sorted/CWE-119/c/good_4946_7
crossvul-cpp_data_bad_4787_12
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4787_12
crossvul-cpp_data_bad_552_3
/* * Boa, an http server * Copyright (C) 1995 Paul Phillips <paulp@go2net.com> * Copyright (C) 1996-1999 Larry Doolittle <ldoolitt@boa.org> * Copyright (C) 1999-2004 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...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_552_3
crossvul-cpp_data_good_2210_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/good_2210_0
crossvul-cpp_data_bad_5590_2
/* * linux/fs/nls/nls_base.c * * Native language support--charsets and unicode translations. * By Gordon Chaffee 1996, 1997 * * Unicode based case conversion 1999 by Wolfram Pienkoss * */ #include <linux/module.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/kernel.h> #include <linux/errno....
./CrossVul/dataset_final_sorted/CWE-119/c/bad_5590_2
crossvul-cpp_data_bad_4063_2
/* * rre.c * * Routines to implement Rise-and-Run-length Encoding (RRE). This * code is based on krw's original javatel rfbserver. */ /* * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>. * Original Xvnc code Copyright (C) 1999 AT&T Laboratories Cambridge. * All Rights Reserved. * * ...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_4063_2
crossvul-cpp_data_bad_346_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/bad_346_6
crossvul-cpp_data_bad_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/bad_1611_1
crossvul-cpp_data_good_5675_0
/******************************************************************************* * This file contains main functions related to iSCSI Parameter negotiation. * * \u00a9 Copyright 2007-2011 RisingTide Systems LLC. * * Licensed to the Linux Foundation under the General Public License (GPL) version 2. * * Author: Ni...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5675_0
crossvul-cpp_data_bad_340_2
/* * card-muscle.c: Support for MuscleCard Applet from musclecard.com * * Copyright (C) 2006, Identity Alliance, Thomas Harning <support@identityalliance.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_340_2
crossvul-cpp_data_good_5079_0
/* * Packet matching code for ARP packets. * * Based heavily, if not almost entirely, upon ip_tables.c framework. * * Some ARP specific bits are: * * Copyright (C) 2002 David S. Miller (davem@redhat.com) * Copyright (C) 2006-2009 Patrick McHardy <kaber@trash.net> * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " f...
./CrossVul/dataset_final_sorted/CWE-119/c/good_5079_0
crossvul-cpp_data_good_3519_0
/* * linux/fs/jbd2/transaction.c * * Written by Stephen C. Tweedie <sct@redhat.com>, 1998 * * Copyright 1998 Red Hat corp --- All Rights Reserved * * This file is part of the Linux kernel and is made available under * the terms of the GNU General Public License, version 2, or at your * option, any later versio...
./CrossVul/dataset_final_sorted/CWE-119/c/good_3519_0
crossvul-cpp_data_bad_634_5
/************************************************** * isql * ************************************************** * This code was created by Peter Harvey @ CodeByDesign. * Released under GPL 18.FEB.99 * * Contributions from... * ----------------------------------------------- * Peter Harvey - pharvey@codebydesi...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_634_5
crossvul-cpp_data_bad_2912_0
/* * Released under the GPLv2 only. * SPDX-License-Identifier: GPL-2.0 */ #include <linux/usb.h> #include <linux/usb/ch9.h> #include <linux/usb/hcd.h> #include <linux/usb/quirks.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/device.h> #include <asm/byteorder.h> #include "usb.h" #define USB_M...
./CrossVul/dataset_final_sorted/CWE-119/c/bad_2912_0
crossvul-cpp_data_bad_2732_3
/* * Rufus: The Reliable USB Formatting Utility * Standard Dialog Routines (Browse for folder, About, etc) * Copyright © 2011-2017 Pete Batard <pete@akeo.ie> * * 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-494/c/bad_2732_3
crossvul-cpp_data_good_2732_1
/* * Rufus: The Reliable USB Formatting Utility * PKI functions (code signing, etc.) * Copyright © 2015-2016 Pete Batard <pete@akeo.ie> * * 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, e...
./CrossVul/dataset_final_sorted/CWE-494/c/good_2732_1
crossvul-cpp_data_bad_2732_1
/* * Rufus: The Reliable USB Formatting Utility * PKI functions (code signing, etc.) * Copyright © 2015-2016 Pete Batard <pete@akeo.ie> * * 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, e...
./CrossVul/dataset_final_sorted/CWE-494/c/bad_2732_1
crossvul-cpp_data_good_2732_3
/* * Rufus: The Reliable USB Formatting Utility * Standard Dialog Routines (Browse for folder, About, etc) * Copyright © 2011-2017 Pete Batard <pete@akeo.ie> * * 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-494/c/good_2732_3
crossvul-cpp_data_good_581_1
/* Copyright 2008-2018 LibRaw LLC (info@libraw.org) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 2. COMMON...
./CrossVul/dataset_final_sorted/CWE-835/cpp/good_581_1
crossvul-cpp_data_good_1367_0
// ***************************************************************** -*- C++ -*- /* * Copyright (C) 2004-2018 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publish...
./CrossVul/dataset_final_sorted/CWE-835/cpp/good_1367_0
crossvul-cpp_data_bad_1367_0
// ***************************************************************** -*- C++ -*- /* * Copyright (C) 2004-2018 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publish...
./CrossVul/dataset_final_sorted/CWE-835/cpp/bad_1367_0
crossvul-cpp_data_bad_581_1
/* Copyright 2008-2018 LibRaw LLC (info@libraw.org) LibRaw is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 2. COMMON...
./CrossVul/dataset_final_sorted/CWE-835/cpp/bad_581_1
crossvul-cpp_data_good_2584_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2584_0
crossvul-cpp_data_good_4059_0
/* * Copyright (C) 2011-2012 Christian Beier <dontmind@freeshell.org> * Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. * * 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;...
./CrossVul/dataset_final_sorted/CWE-835/c/good_4059_0
crossvul-cpp_data_bad_505_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_505_0
crossvul-cpp_data_good_2782_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2782_0
crossvul-cpp_data_good_2765_1
/* * Apple HTTP Live Streaming demuxer * Copyright (c) 2010 Martin Storsjo * Copyright (c) 2013 Anssi Hannula * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Fou...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2765_1
crossvul-cpp_data_good_2662_0
/* * Copyright (c) 2015 The TCPDUMP 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 ...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2662_0
crossvul-cpp_data_good_3016_0
// SPDX-License-Identifier: GPL-2.0 /* * linux/mm/madvise.c * * Copyright (C) 1999 Linus Torvalds * Copyright (C) 2002 Christoph Hellwig */ #include <linux/mman.h> #include <linux/pagemap.h> #include <linux/syscalls.h> #include <linux/mempolicy.h> #include <linux/page-isolation.h> #include <linux/userfaultfd_k....
./CrossVul/dataset_final_sorted/CWE-835/c/good_3016_0
crossvul-cpp_data_good_3169_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-835/c/good_3169_0
crossvul-cpp_data_bad_2584_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2584_0
crossvul-cpp_data_bad_581_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-835/c/bad_581_0
crossvul-cpp_data_good_4059_1
/* * Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. * * 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 v...
./CrossVul/dataset_final_sorted/CWE-835/c/good_4059_1
crossvul-cpp_data_bad_4059_0
/* * Copyright (C) 2011-2012 Christian Beier <dontmind@freeshell.org> * Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. * * 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;...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_4059_0
crossvul-cpp_data_bad_5710_0
/* * $Id$ * * Lookup contacts in usrloc * * Copyright (C) 2001-2003 FhG Fokus * * This file is part of opensips, a free SIP server. * * opensips 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; eithe...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_5710_0
crossvul-cpp_data_good_2585_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2585_0
crossvul-cpp_data_good_587_0
/* $Id: table.c,v 1.58 2010/08/09 11:59:19 htrb Exp $ */ /* * HTML table */ #include <sys/types.h> #include <stdio.h> #include <string.h> #include <math.h> #include "fm.h" #include "html.h" #include "parsetagx.h" #include "Str.h" #include "myctype.h" int symbol_width = 0; int symbol_width0 = 0; #define RULE_WIDTH ...
./CrossVul/dataset_final_sorted/CWE-835/c/good_587_0
crossvul-cpp_data_good_2948_0
/* * parser.c : an XML 1.0 parser, namespaces and validity support are mostly * implemented on top of the SAX interfaces * * References: * The XML specification: * http://www.w3.org/TR/REC-xml * Original 1.0 version: * http://www.w3.org/TR/1998/REC-xml-19980210 * XML second edition wor...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2948_0
crossvul-cpp_data_bad_4059_1
/* * Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. * * 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 v...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_4059_1
crossvul-cpp_data_good_505_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-835/c/good_505_0
crossvul-cpp_data_good_2564_0
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 Novell, Inc. * Copyright (C) 2008 Red Hat, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Fou...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2564_0
crossvul-cpp_data_bad_2585_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2585_0
crossvul-cpp_data_bad_2668_0
/* * Copyright (c) 1988, 1989, 1990, 1991, 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 co...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2668_0
crossvul-cpp_data_bad_2948_0
/* * parser.c : an XML 1.0 parser, namespaces and validity support are mostly * implemented on top of the SAX interfaces * * References: * The XML specification: * http://www.w3.org/TR/REC-xml * Original 1.0 version: * http://www.w3.org/TR/1998/REC-xml-19980210 * XML second edition wor...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2948_0
crossvul-cpp_data_bad_2564_1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 Novell, Inc. * Copyright (C) 2008 Red Hat, Inc. * Copyright (C) 2008 William Jon McCann <jmccann@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU G...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2564_1
crossvul-cpp_data_bad_319_0
/* * Copyright © 2013 Ran Benita <ran234@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_319_0
crossvul-cpp_data_good_581_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-835/c/good_581_0
crossvul-cpp_data_bad_2782_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2782_0
crossvul-cpp_data_bad_2765_1
/* * Apple HTTP Live Streaming demuxer * Copyright (c) 2010 Martin Storsjo * Copyright (c) 2013 Anssi Hannula * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Fou...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2765_1
crossvul-cpp_data_good_2670_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-835/c/good_2670_0
crossvul-cpp_data_good_1665_0
/* * QEMU VNC display driver * * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws> * Copyright (C) 2006 Fabrice Bellard * Copyright (C) 2009 Red Hat, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
./CrossVul/dataset_final_sorted/CWE-835/c/good_1665_0
crossvul-cpp_data_bad_2670_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-835/c/bad_2670_0
crossvul-cpp_data_good_456_0
//////////////////////////////////////////////////////////////////////////// // **** WAVPACK **** // // Hybrid Lossless Wavefile Compressor // // Copyright (c) 1998 - 2013 Conifer Software. // // ...
./CrossVul/dataset_final_sorted/CWE-835/c/good_456_0
crossvul-cpp_data_bad_3016_0
// SPDX-License-Identifier: GPL-2.0 /* * linux/mm/madvise.c * * Copyright (C) 1999 Linus Torvalds * Copyright (C) 2002 Christoph Hellwig */ #include <linux/mman.h> #include <linux/pagemap.h> #include <linux/syscalls.h> #include <linux/mempolicy.h> #include <linux/page-isolation.h> #include <linux/userfaultfd_k....
./CrossVul/dataset_final_sorted/CWE-835/c/bad_3016_0
crossvul-cpp_data_bad_456_0
//////////////////////////////////////////////////////////////////////////// // **** WAVPACK **** // // Hybrid Lossless Wavefile Compressor // // Copyright (c) 1998 - 2013 Conifer Software. // // ...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_456_0
crossvul-cpp_data_bad_587_0
/* $Id: table.c,v 1.58 2010/08/09 11:59:19 htrb Exp $ */ /* * HTML table */ #include <sys/types.h> #include <stdio.h> #include <string.h> #include <math.h> #include "fm.h" #include "html.h" #include "parsetagx.h" #include "Str.h" #include "myctype.h" int symbol_width = 0; int symbol_width0 = 0; #define RULE_WIDTH ...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_587_0
crossvul-cpp_data_good_319_0
/* * Copyright © 2013 Ran Benita <ran234@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify...
./CrossVul/dataset_final_sorted/CWE-835/c/good_319_0
crossvul-cpp_data_bad_465_0
/* * TechnoTrend PVA (.pva) demuxer * Copyright (c) 2007, 2008 Ivo van Poorten * * 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 o...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_465_0
crossvul-cpp_data_bad_3278_0
/* * 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-835/c/bad_3278_0
crossvul-cpp_data_good_2564_1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 Novell, Inc. * Copyright (C) 2008 Red Hat, Inc. * Copyright (C) 2008 William Jon McCann <jmccann@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU G...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2564_1
crossvul-cpp_data_good_2663_0
/* * Copyright (C) 1995, 1996, 1997, and 1998 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 * notic...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2663_0
crossvul-cpp_data_bad_2663_0
/* * Copyright (C) 1995, 1996, 1997, and 1998 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 * notic...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2663_0
crossvul-cpp_data_bad_2662_0
/* * Copyright (c) 2015 The TCPDUMP 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 ...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2662_0
crossvul-cpp_data_good_465_0
/* * TechnoTrend PVA (.pva) demuxer * Copyright (c) 2007, 2008 Ivo van Poorten * * 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 o...
./CrossVul/dataset_final_sorted/CWE-835/c/good_465_0
crossvul-cpp_data_good_5710_0
/* * $Id$ * * Lookup contacts in usrloc * * Copyright (C) 2001-2003 FhG Fokus * * This file is part of opensips, a free SIP server. * * opensips 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; eithe...
./CrossVul/dataset_final_sorted/CWE-835/c/good_5710_0
crossvul-cpp_data_good_3278_0
/* * 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-835/c/good_3278_0
crossvul-cpp_data_bad_2564_0
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 Novell, Inc. * Copyright (C) 2008 Red Hat, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Fou...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_2564_0
crossvul-cpp_data_bad_3169_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-835/c/bad_3169_0
crossvul-cpp_data_good_2668_0
/* * Copyright (c) 1988, 1989, 1990, 1991, 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 co...
./CrossVul/dataset_final_sorted/CWE-835/c/good_2668_0
crossvul-cpp_data_bad_1665_0
/* * QEMU VNC display driver * * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws> * Copyright (C) 2006 Fabrice Bellard * Copyright (C) 2009 Red Hat, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
./CrossVul/dataset_final_sorted/CWE-835/c/bad_1665_0
crossvul-cpp_data_good_616_1
/* Copyright (C) 2007-2016 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
./CrossVul/dataset_final_sorted/CWE-693/c/good_616_1
crossvul-cpp_data_bad_616_1
/* Copyright (C) 2007-2016 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
./CrossVul/dataset_final_sorted/CWE-693/c/bad_616_1
crossvul-cpp_data_good_616_0
/* Copyright (C) 2007-2017 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
./CrossVul/dataset_final_sorted/CWE-693/c/good_616_0
crossvul-cpp_data_bad_616_0
/* Copyright (C) 2007-2017 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
./CrossVul/dataset_final_sorted/CWE-693/c/bad_616_0
crossvul-cpp_data_good_1298_0
/* * pkcs15-prkey.c: PKCS #15 private key 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 * versi...
./CrossVul/dataset_final_sorted/CWE-672/c/good_1298_0
crossvul-cpp_data_bad_1298_0
/* * pkcs15-prkey.c: PKCS #15 private key 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 * versi...
./CrossVul/dataset_final_sorted/CWE-672/c/bad_1298_0
crossvul-cpp_data_good_1198_11
/* shell.c -- GNU's idea of the POSIX shell specification. */ /* Copyright (C) 1987-2017 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash 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-273/c/good_1198_11
crossvul-cpp_data_bad_1198_10
/* pathexp.c -- The shell interface to the globbing library. */ /* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash 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-273/c/bad_1198_10
crossvul-cpp_data_good_1198_10
/* pathexp.c -- The shell interface to the globbing library. */ /* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash 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-273/c/good_1198_10
crossvul-cpp_data_good_1198_9
/* glob.c -- file-name wildcard pattern matching for Bash. Copyright (C) 1985-2019 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne-Again SHell. Bash 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-273/c/good_1198_9
crossvul-cpp_data_good_1198_2
/* bashline.c -- Bash's interface to the readline library. */ /* Copyright (C) 1987-2019 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash 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-273/c/good_1198_2
crossvul-cpp_data_bad_1198_11
/* shell.c -- GNU's idea of the POSIX shell specification. */ /* Copyright (C) 1987-2017 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash 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-273/c/bad_1198_11
crossvul-cpp_data_bad_1198_9
/* glob.c -- file-name wildcard pattern matching for Bash. Copyright (C) 1985-2019 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne-Again SHell. Bash 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-273/c/bad_1198_9
crossvul-cpp_data_bad_1198_2
/* bashline.c -- Bash's interface to the readline library. */ /* Copyright (C) 1987-2019 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash 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-273/c/bad_1198_2
crossvul-cpp_data_good_3963_0
/* ---------------------------------------------------------------------------- * ATMEL Microcontroller Software Support * ---------------------------------------------------------------------------- * Copyright (c) 2015, Atmel Corporation * * All rights reserved. * * Redistribution and use in source and...
./CrossVul/dataset_final_sorted/CWE-326/c/good_3963_0
crossvul-cpp_data_good_3970_0
/* ecc.c * * Copyright (C) 2006-2020 wolfSSL Inc. * * This file is part of wolfSSL. * * wolfSSL 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) a...
./CrossVul/dataset_final_sorted/CWE-326/c/good_3970_0
crossvul-cpp_data_bad_3970_1
/* tfm.c * * Copyright (C) 2006-2020 wolfSSL Inc. * * This file is part of wolfSSL. * * wolfSSL 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) a...
./CrossVul/dataset_final_sorted/CWE-326/c/bad_3970_1
crossvul-cpp_data_bad_3970_0
/* ecc.c * * Copyright (C) 2006-2020 wolfSSL Inc. * * This file is part of wolfSSL. * * wolfSSL 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) a...
./CrossVul/dataset_final_sorted/CWE-326/c/bad_3970_0
crossvul-cpp_data_good_3970_1
/* tfm.c * * Copyright (C) 2006-2020 wolfSSL Inc. * * This file is part of wolfSSL. * * wolfSSL 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) a...
./CrossVul/dataset_final_sorted/CWE-326/c/good_3970_1
crossvul-cpp_data_bad_3963_0
/* ---------------------------------------------------------------------------- * ATMEL Microcontroller Software Support * ---------------------------------------------------------------------------- * Copyright (c) 2015, Atmel Corporation * * All rights reserved. * * Redistribution and use in source and...
./CrossVul/dataset_final_sorted/CWE-326/c/bad_3963_0