id
stringlengths
25
30
content
stringlengths
14
942k
max_stars_repo_path
stringlengths
49
55
crossvul-cpp_data_bad_815_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-400/c/bad_815_0
crossvul-cpp_data_bad_898_0
/* * The copyright in this software is being made available under the 2-clauses * BSD License, included below. This software may be subject to other third * party and contributor rights, including patent rights, and no such rights * are granted under this license. * * Copyright (c) 2002-2014, Universite catholiqu...
./CrossVul/dataset_final_sorted/CWE-400/c/bad_898_0
crossvul-cpp_data_bad_1247_0
/* * Marvell Wireless LAN device driver: PCIE specific handling * * Copyright (C) 2011-2014, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may use, redist...
./CrossVul/dataset_final_sorted/CWE-400/c/bad_1247_0
crossvul-cpp_data_bad_1266_0
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright (C) 2018 Netronome Systems, Inc. */ #include <linux/bitfield.h> #include <net/pkt_cls.h> #include "../nfpcore/nfp_cpp.h" #include "../nfp_app.h" #include "../nfp_net_repr.h" #include "main.h" struct nfp_abm_u32_match { u32 handle; u32 band; u...
./CrossVul/dataset_final_sorted/CWE-400/c/bad_1266_0
crossvul-cpp_data_bad_1271_0
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ #include <linux/etherdevice.h> #include <linux/lockdep.h> #include <linux/pci.h> #include <linux/skbuff.h> #include <linux/vmalloc.h> #include <net/devlink.h> #include <net/dst_metadata.h> #include "main.h...
./CrossVul/dataset_final_sorted/CWE-400/c/bad_1271_0
crossvul-cpp_data_good_1246_0
/* * Marvell Wireless LAN device driver: PCIE specific handling * * Copyright (C) 2011-2014, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may use, redist...
./CrossVul/dataset_final_sorted/CWE-400/c/good_1246_0
crossvul-cpp_data_bad_1273_3
/* * Copyright 2012-15 Advanced Micro Devices, Inc.cls * * * 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, mo...
./CrossVul/dataset_final_sorted/CWE-400/c/bad_1273_3
crossvul-cpp_data_good_1362_0
/** * @file resolve.c * @author Michal Vasko <mvasko@cesnet.cz> * @brief libyang resolve functions * * Copyright (c) 2015 - 2018 CESNET, z.s.p.o. * * This source code is licensed under BSD 3-Clause License (the "License"). * You may not use this file except in compliance with the License. * You may obtain a co...
./CrossVul/dataset_final_sorted/CWE-400/c/good_1362_0
crossvul-cpp_data_good_196_3
/* * Cantata * * Copyright (c) 2011-2018 Craig Drummond <craig.p.drummond@gmail.com> * * ---- * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (a...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_196_3
crossvul-cpp_data_bad_4235_0
/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2019, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University All...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_4235_0
crossvul-cpp_data_good_4235_19
/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2019, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University All...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_4235_19
crossvul-cpp_data_good_196_5
/* * Cantata * * Copyright (c) 2011-2018 Craig Drummond <craig.p.drummond@gmail.com> * * ---- * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (a...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_196_5
crossvul-cpp_data_bad_196_3
/* * Cantata * * Copyright (c) 2011-2018 Craig Drummond <craig.p.drummond@gmail.com> * * ---- * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (a...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_196_3
crossvul-cpp_data_good_2420_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_2420_0
crossvul-cpp_data_bad_975_0
/************************************************************************ ** ** Copyright (C) 2016 - 2019 Kevin B. Hendricks, Stratford, Ontario, Canada ** Copyright (C) 2012 John Schember <john@nachtimwald.com> ** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com> ** ** This file is...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_975_0
crossvul-cpp_data_bad_196_5
/* * Cantata * * Copyright (c) 2011-2018 Craig Drummond <craig.p.drummond@gmail.com> * * ---- * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (a...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_196_5
crossvul-cpp_data_good_4235_0
/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2019, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University All...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_4235_0
crossvul-cpp_data_bad_974_0
/************************************************************************ ** ** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com> ** ** This file is part of Sigil. ** ** Sigil is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public Lic...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_974_0
crossvul-cpp_data_bad_4235_19
404: Not Found
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_4235_19
crossvul-cpp_data_good_975_0
/************************************************************************ ** ** Copyright (C) 2016 - 2019 Kevin B. Hendricks, Stratford, Ontario, Canada ** Copyright (C) 2012 John Schember <john@nachtimwald.com> ** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com> ** ** This file is...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_975_0
crossvul-cpp_data_bad_2420_0
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_2420_0
crossvul-cpp_data_good_974_0
/************************************************************************ ** ** Copyright (C) 2019 Kevin B. Hendricks, Stratford, Ontario Canada ** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com> ** ** This file is part of Sigil. ** ** Sigil is free software: you can redistribut...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_974_0
crossvul-cpp_data_bad_973_0
/************************************************************************ ** ** Copyright (C) 2016 - 2019 Kevin B. Hendricks, Stratford, Ontario, Canada ** Copyright (C) 2012 John Schember <john@nachtimwald.com> ** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com> ** ** This file is...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_973_0
crossvul-cpp_data_good_74_1
/* Copyright (C) 2010 Roberto Pompermaier Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, ...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_74_1
crossvul-cpp_data_bad_240_0
/* * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_240_0
crossvul-cpp_data_good_240_0
/* * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_240_0
crossvul-cpp_data_good_973_0
/************************************************************************ ** ** Copyright (C) 2016 - 2019 Kevin B. Hendricks, Stratford, Ontario, Canada ** Copyright (C) 2012 John Schember <john@nachtimwald.com> ** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com> ** ** This file is...
./CrossVul/dataset_final_sorted/CWE-22/cpp/good_973_0
crossvul-cpp_data_bad_74_1
/* Copyright (C) 2010 Roberto Pompermaier Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, ...
./CrossVul/dataset_final_sorted/CWE-22/cpp/bad_74_1
crossvul-cpp_data_bad_1520_4
/*- * Copyright (c) 2003-2010 Tim Kientzle * Copyright (c) 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. Redistributions of source code must retain the abo...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_1520_4
crossvul-cpp_data_bad_3514_0
/* * $Id: device-linux.c,v 1.28 2011/02/06 03:41:38 reubenhwk Exp $ * * Authors: * Lars Fenneberg <lf@elemental.net> * * This software is Copyright 1996,1997 by the above mentioned author(s), * All Rights Reserved. * * The license which is distributed with this software in the file COPYRIGHT * ...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_3514_0
crossvul-cpp_data_good_1569_0
/* Copyright (C) 2010 ABRT team Copyright (C) 2010 RedHat 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 Foundation; either version 2 of the License, or (at your option) any later...
./CrossVul/dataset_final_sorted/CWE-22/c/good_1569_0
crossvul-cpp_data_good_440_0
#include "first.h" #include "base.h" #include "log.h" #include "buffer.h" #include "plugin.h" #include <stdlib.h> #include <string.h> /* plugin config for all request/connections */ typedef struct { array *alias; } plugin_config; typedef struct { PLUGIN_DATA; plugin_config **config_storage; plugin_config con...
./CrossVul/dataset_final_sorted/CWE-22/c/good_440_0
crossvul-cpp_data_good_1466_0
/* pigz.c -- parallel implementation of gzip * Copyright (C) 2007-2015 Mark Adler * Version 2.3.2 xx Jan 2015 Mark Adler */ /* This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Per...
./CrossVul/dataset_final_sorted/CWE-22/c/good_1466_0
crossvul-cpp_data_good_1569_1
/* Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com) Copyright (C) 2009 RedHat 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 Foundation; either version 2 of the License, or ...
./CrossVul/dataset_final_sorted/CWE-22/c/good_1569_1
crossvul-cpp_data_bad_1569_1
/* Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com) Copyright (C) 2009 RedHat 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 Foundation; either version 2 of the License, or ...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_1569_1
crossvul-cpp_data_good_422_1
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <mspack.h> #include <ctype.h> #include <sys/stat.h> #include <error.h> #if HAVE_MKDIR # if MKDIR_TAKES_ONE_ARG # define mkdir(a, b) mkdir(a) # endif #else # if HAVE__MKDIR # define mkdir(a, b) _mkdir...
./CrossVul/dataset_final_sorted/CWE-22/c/good_422_1
crossvul-cpp_data_good_1520_4
/*- * Copyright (c) 2003-2010 Tim Kientzle * Copyright (c) 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. Redistributions of source code must retain the abo...
./CrossVul/dataset_final_sorted/CWE-22/c/good_1520_4
crossvul-cpp_data_good_1570_1
/* * Utility routines. * * Copyright (C) 2001 Erik Andersen * * 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-22/c/good_1570_1
crossvul-cpp_data_good_3514_0
/* * $Id: device-linux.c,v 1.28 2011/02/06 03:41:38 reubenhwk Exp $ * * Authors: * Lars Fenneberg <lf@elemental.net> * * This software is Copyright 1996,1997 by the above mentioned author(s), * All Rights Reserved. * * The license which is distributed with this software in the file COPYRIGHT * ...
./CrossVul/dataset_final_sorted/CWE-22/c/good_3514_0
crossvul-cpp_data_bad_1569_0
/* Copyright (C) 2010 ABRT team Copyright (C) 2010 RedHat 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 Foundation; either version 2 of the License, or (at your option) any later...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_1569_0
crossvul-cpp_data_bad_1466_0
/* pigz.c -- parallel implementation of gzip * Copyright (C) 2007-2015 Mark Adler * Version 2.3.2 xx Jan 2015 Mark Adler */ /* This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Per...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_1466_0
crossvul-cpp_data_good_1567_0
/* Copyright (C) 2010 ABRT team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
./CrossVul/dataset_final_sorted/CWE-22/c/good_1567_0
crossvul-cpp_data_bad_249_0
/** * @file * IMAP helper functions * * @authors * Copyright (C) 1996-1998,2010,2012-2013 Michael R. Elkins <me@mutt.org> * Copyright (C) 1996-1999 Brandon Long <blong@fiction.net> * Copyright (C) 1999-2009,2012 Brendan Cully <brendan@kublai.com> * * @copyright * This program is free software: you can redistr...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_249_0
crossvul-cpp_data_good_1566_0
#include <gio/gio.h> #include <stdlib.h> #include <sys/types.h> #include <pwd.h> #include <grp.h> #include "libabrt.h" #include "abrt-polkit.h" #include "abrt_glib.h" #include <libreport/dump_dir.h> #include "problem_api.h" static GMainLoop *loop; static guint g_timeout_source; /* default, settable with -t: */ static ...
./CrossVul/dataset_final_sorted/CWE-22/c/good_1566_0
crossvul-cpp_data_bad_440_0
#include "first.h" #include "base.h" #include "log.h" #include "buffer.h" #include "plugin.h" #include <stdlib.h> #include <string.h> /* plugin config for all request/connections */ typedef struct { array *alias; } plugin_config; typedef struct { PLUGIN_DATA; plugin_config **config_storage; plugin_config con...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_440_0
crossvul-cpp_data_good_1520_1
/*- * Copyright (c) 2003-2007 Tim Kientzle * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of c...
./CrossVul/dataset_final_sorted/CWE-22/c/good_1520_1
crossvul-cpp_data_good_249_0
/** * @file * IMAP helper functions * * @authors * Copyright (C) 1996-1998,2010,2012-2013 Michael R. Elkins <me@mutt.org> * Copyright (C) 1996-1999 Brandon Long <blong@fiction.net> * Copyright (C) 1999-2009,2012 Brendan Cully <brendan@kublai.com> * * @copyright * This program is free software: you can redistr...
./CrossVul/dataset_final_sorted/CWE-22/c/good_249_0
crossvul-cpp_data_bad_1520_1
/*- * Copyright (c) 2003-2007 Tim Kientzle * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of c...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_1520_1
crossvul-cpp_data_bad_422_1
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <mspack.h> #include <ctype.h> #include <sys/stat.h> #include <error.h> #if HAVE_MKDIR # if MKDIR_TAKES_ONE_ARG # define mkdir(a, b) mkdir(a) # endif #else # if HAVE__MKDIR # define mkdir(a, b) _mkdir...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_422_1
crossvul-cpp_data_bad_1567_0
/* Copyright (C) 2010 ABRT team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_1567_0
crossvul-cpp_data_good_1568_0
#include <gio/gio.h> #include <stdlib.h> #include <sys/types.h> #include <pwd.h> #include <grp.h> #include "libabrt.h" #include "abrt-polkit.h" #include "abrt_glib.h" #include <libreport/dump_dir.h> #include "problem_api.h" static GMainLoop *loop; static guint g_timeout_source; /* default, settable with -t: */ static ...
./CrossVul/dataset_final_sorted/CWE-22/c/good_1568_0
crossvul-cpp_data_bad_1570_1
/* * Utility routines. * * Copyright (C) 2001 Erik Andersen * * 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-22/c/bad_1570_1
crossvul-cpp_data_bad_1568_0
#include <gio/gio.h> #include <stdlib.h> #include <sys/types.h> #include <pwd.h> #include <grp.h> #include "libabrt.h" #include "abrt-polkit.h" #include "abrt_glib.h" #include <libreport/dump_dir.h> #include "problem_api.h" static GMainLoop *loop; static guint g_timeout_source; /* default, settable with -t: */ static ...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_1568_0
crossvul-cpp_data_bad_5866_0
404: Not Found
./CrossVul/dataset_final_sorted/CWE-22/c/bad_5866_0
crossvul-cpp_data_bad_1566_0
#include <gio/gio.h> #include <stdlib.h> #include <sys/types.h> #include <pwd.h> #include <grp.h> #include "libabrt.h" #include "abrt-polkit.h" #include "abrt_glib.h" #include <libreport/dump_dir.h> #include "problem_api.h" static GMainLoop *loop; static guint g_timeout_source; /* default, settable with -t: */ static ...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_1566_0
crossvul-cpp_data_good_4261_0
/* Common methods shared between FTP and TFTP engines * * Copyright (c) 2014-2019 Joachim Nilsson <troglobit@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission noti...
./CrossVul/dataset_final_sorted/CWE-22/c/good_4261_0
crossvul-cpp_data_bad_4261_0
/* Common methods shared between FTP and TFTP engines * * Copyright (c) 2014-2019 Joachim Nilsson <troglobit@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission noti...
./CrossVul/dataset_final_sorted/CWE-22/c/bad_4261_0
crossvul-cpp_data_good_5866_0
/* * DidiWiki - a small lightweight wiki engine. * * Copyright 2004 Matthew Allum <mallum@o-hand.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, or (at you...
./CrossVul/dataset_final_sorted/CWE-22/c/good_5866_0
crossvul-cpp_data_bad_2610_0
/* imzmq3.c * * This input plugin enables rsyslog to read messages from a ZeroMQ * queue. * * Copyright 2012 Talksum, Inc. * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation, eithe...
./CrossVul/dataset_final_sorted/CWE-134/c/bad_2610_0
crossvul-cpp_data_bad_2266_0
/**************************************************************************** * RRDtool 1.4.8 Copyright by Tobi Oetiker, 1997-2013 **************************************************************************** * rrd__graph.c produce graphs from data in rrdfiles ******************************************************...
./CrossVul/dataset_final_sorted/CWE-134/c/bad_2266_0
crossvul-cpp_data_good_3455_0
/* vi:set et ai sw=2 sts=2 ts=2: */ /*- * Copyright (c) 2005-2007 Benedikt Meurer <benny@xfce.org> * Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free...
./CrossVul/dataset_final_sorted/CWE-134/c/good_3455_0
crossvul-cpp_data_good_2610_1
/* omzmq3.c * Copyright 2012 Talksum, Inc * Using the czmq interface to zeromq, we output * to a zmq socket. * Copyright (C) 2014 Rainer Gerhards * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Soft...
./CrossVul/dataset_final_sorted/CWE-134/c/good_2610_1
crossvul-cpp_data_bad_1792_0
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) 1998-2015 Zend Technologies Ltd. (http://www.zend.com) | +---------...
./CrossVul/dataset_final_sorted/CWE-134/c/bad_1792_0
crossvul-cpp_data_good_2610_0
/* imzmq3.c * * This input plugin enables rsyslog to read messages from a ZeroMQ * queue. * * Copyright 2012 Talksum, Inc. * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation, eithe...
./CrossVul/dataset_final_sorted/CWE-134/c/good_2610_0
crossvul-cpp_data_bad_3455_0
/* vi:set et ai sw=2 sts=2 ts=2: */ /*- * Copyright (c) 2005-2007 Benedikt Meurer <benny@xfce.org> * Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free...
./CrossVul/dataset_final_sorted/CWE-134/c/bad_3455_0
crossvul-cpp_data_good_2266_0
/**************************************************************************** * RRDtool 1.4.8 Copyright by Tobi Oetiker, 1997-2013 **************************************************************************** * rrd__graph.c produce graphs from data in rrdfiles ******************************************************...
./CrossVul/dataset_final_sorted/CWE-134/c/good_2266_0
crossvul-cpp_data_bad_2610_1
/* omzmq3.c * Copyright 2012 Talksum, Inc * Using the czmq interface to zeromq, we output * to a zmq socket. * Copyright (C) 2014 Rainer Gerhards * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Soft...
./CrossVul/dataset_final_sorted/CWE-134/c/bad_2610_1
crossvul-cpp_data_good_2265_0
/**************************************************************************** * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010 **************************************************************************** * rrd__graph.c produce graphs from data in rrdfiles ******************************************************...
./CrossVul/dataset_final_sorted/CWE-134/c/good_2265_0
crossvul-cpp_data_bad_2265_0
/**************************************************************************** * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010 **************************************************************************** * rrd__graph.c produce graphs from data in rrdfiles ******************************************************...
./CrossVul/dataset_final_sorted/CWE-134/c/bad_2265_0
crossvul-cpp_data_good_1792_0
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) 1998-2015 Zend Technologies Ltd. (http://www.zend.com) | +---------...
./CrossVul/dataset_final_sorted/CWE-134/c/good_1792_0
crossvul-cpp_data_bad_1377_6
404: Not Found
./CrossVul/dataset_final_sorted/CWE-770/cpp/bad_1377_6
crossvul-cpp_data_bad_1378_3
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
./CrossVul/dataset_final_sorted/CWE-770/cpp/bad_1378_3
crossvul-cpp_data_bad_1377_0
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
./CrossVul/dataset_final_sorted/CWE-770/cpp/bad_1377_0
crossvul-cpp_data_good_1377_0
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
./CrossVul/dataset_final_sorted/CWE-770/cpp/good_1377_0
crossvul-cpp_data_good_1378_3
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
./CrossVul/dataset_final_sorted/CWE-770/cpp/good_1378_3
crossvul-cpp_data_good_1377_6
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
./CrossVul/dataset_final_sorted/CWE-770/cpp/good_1377_6
crossvul-cpp_data_bad_4064_0
/* * Copyright (C) 2000-2002 Constantin Kaplinsky. All Rights Reserved. * Copyright (C) 2000 Tridia Corporation. All Rights Reserved. * 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 Gene...
./CrossVul/dataset_final_sorted/CWE-770/c/bad_4064_0
crossvul-cpp_data_bad_4653_0
/* * 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-770/c/bad_4653_0
crossvul-cpp_data_good_4064_0
/* * Copyright (C) 2000-2002 Constantin Kaplinsky. All Rights Reserved. * Copyright (C) 2000 Tridia Corporation. All Rights Reserved. * 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 Gene...
./CrossVul/dataset_final_sorted/CWE-770/c/good_4064_0
crossvul-cpp_data_good_2614_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-770/c/good_2614_0
crossvul-cpp_data_bad_3143_1
/* $OpenBSD: server_file.c,v 1.63 2017/01/30 09:54:41 reyk Exp $ */ /* * Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permissi...
./CrossVul/dataset_final_sorted/CWE-770/c/bad_3143_1
crossvul-cpp_data_good_367_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-770/c/good_367_0
crossvul-cpp_data_good_4653_0
/* * 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-770/c/good_4653_0
crossvul-cpp_data_good_3143_1
/* $OpenBSD: server_file.c,v 1.64 2017/01/31 14:39:47 reyk Exp $ */ /* * Copyright (c) 2006 - 2017 Reyk Floeter <reyk@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permissi...
./CrossVul/dataset_final_sorted/CWE-770/c/good_3143_1
crossvul-cpp_data_bad_2614_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-770/c/bad_2614_0
crossvul-cpp_data_bad_367_0
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
./CrossVul/dataset_final_sorted/CWE-770/c/bad_367_0
crossvul-cpp_data_bad_1054_0
/* 69df5be70289a11fb834869ce4a91c23c1d9dd04baffcbd10e86742d149a080c (2.2.7+) __ __ _ ___\ \/ /_ __ __ _| |_ / _ \\ /| '_ \ / _` | __| | __// \| |_) | (_| | |_ \___/_/\_\ .__/ \__,...
./CrossVul/dataset_final_sorted/CWE-611/c/bad_1054_0
crossvul-cpp_data_good_1054_0
/* 69df5be70289a11fb834869ce4a91c23c1d9dd04baffcbd10e86742d149a080c (2.2.7+) __ __ _ ___\ \/ /_ __ __ _| |_ / _ \\ /| '_ \ / _` | __| | __// \| |_) | (_| | |_ \___/_/\_\ .__/ \__,...
./CrossVul/dataset_final_sorted/CWE-611/c/good_1054_0
crossvul-cpp_data_bad_4362_3
#include <xml_schema.h> static void dealloc(xmlSchemaPtr schema) { NOKOGIRI_DEBUG_START(schema); xmlSchemaFree(schema); NOKOGIRI_DEBUG_END(schema); } /* * call-seq: * validate_document(document) * * Validate a Nokogiri::XML::Document against this Schema. */ static VALUE validate_document(VALUE self, VALUE...
./CrossVul/dataset_final_sorted/CWE-611/c/bad_4362_3
crossvul-cpp_data_good_537_0
/* 19ac4776051591216f1874e34ee99b6a43a3784c8bd7d70efeb9258dd22b906a (2.2.6+) __ __ _ ___\ \/ /_ __ __ _| |_ / _ \\ /| '_ \ / _` | __| | __// \| |_) | (_| | |_ \___/_/\_\ .__/ \__,...
./CrossVul/dataset_final_sorted/CWE-611/c/good_537_0
crossvul-cpp_data_good_4362_2
#include <xml_relax_ng.h> static void dealloc(xmlRelaxNGPtr schema) { NOKOGIRI_DEBUG_START(schema); xmlRelaxNGFree(schema); NOKOGIRI_DEBUG_END(schema); } /* * call-seq: * validate_document(document) * * Validate a Nokogiri::XML::Document against this RelaxNG schema. */ static VALUE validate_document(VALUE...
./CrossVul/dataset_final_sorted/CWE-611/c/good_4362_2
crossvul-cpp_data_good_4362_3
#include <xml_schema.h> static void dealloc(xmlSchemaPtr schema) { NOKOGIRI_DEBUG_START(schema); xmlSchemaFree(schema); NOKOGIRI_DEBUG_END(schema); } /* * call-seq: * validate_document(document) * * Validate a Nokogiri::XML::Document against this Schema. */ static VALUE validate_document(VALUE self, VALUE...
./CrossVul/dataset_final_sorted/CWE-611/c/good_4362_3
crossvul-cpp_data_bad_537_0
/* 19ac4776051591216f1874e34ee99b6a43a3784c8bd7d70efeb9258dd22b906a (2.2.6+) __ __ _ ___\ \/ /_ __ __ _| |_ / _ \\ /| '_ \ / _` | __| | __// \| |_) | (_| | |_ \___/_/\_\ .__/ \__,...
./CrossVul/dataset_final_sorted/CWE-611/c/bad_537_0
crossvul-cpp_data_bad_4362_2
#include <xml_relax_ng.h> static void dealloc(xmlRelaxNGPtr schema) { NOKOGIRI_DEBUG_START(schema); xmlRelaxNGFree(schema); NOKOGIRI_DEBUG_END(schema); } /* * call-seq: * validate_document(document) * * Validate a Nokogiri::XML::Document against this RelaxNG schema. */ static VALUE validate_document(VALUE...
./CrossVul/dataset_final_sorted/CWE-611/c/bad_4362_2
crossvul-cpp_data_good_599_0
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
./CrossVul/dataset_final_sorted/CWE-388/cpp/good_599_0
crossvul-cpp_data_bad_599_0
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
./CrossVul/dataset_final_sorted/CWE-388/cpp/bad_599_0
crossvul-cpp_data_bad_599_1
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
./CrossVul/dataset_final_sorted/CWE-388/cpp/bad_599_1
crossvul-cpp_data_good_599_1
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
./CrossVul/dataset_final_sorted/CWE-388/cpp/good_599_1
crossvul-cpp_data_bad_3321_0
/* * hid-cp2112.c - Silicon Labs HID USB to SMBus master bridge * Copyright (c) 2013,2014 Uplogix, Inc. * David Barksdale <dbarksdale@uplogix.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, as publis...
./CrossVul/dataset_final_sorted/CWE-388/c/bad_3321_0
crossvul-cpp_data_good_3122_0
/* * Copyright © 2014 Broadcom * * 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, merge, publish, dis...
./CrossVul/dataset_final_sorted/CWE-388/c/good_3122_0