Dataset Viewer
Auto-converted to Parquet Duplicate
filename
stringlengths
4
51
language
stringclasses
51 values
vulnerable_code
stringlengths
6
3.06M
fixed_code
stringlengths
6
3.06M
commit_id
stringlengths
40
40
repository_url
stringlengths
26
73
controller.php
php
<?php dd(User::all());
<?php
269320e0e0e06a1785e1a1556da769a34280b7e6
https://github.com/microweber/microweber
trace.h
objective-c
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Christoph Hellwig. */ #undef TRACE_SYSTEM #define TRACE_SYSTEM nfsd #if !defined(_NFSD_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) #define _NFSD_TRACE_H #include <linux/tracepoint.h> #include "export.h" #include "nfsfh.h" #define NFSD_TRACE_PROC_ARG_F...
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Christoph Hellwig. */ #undef TRACE_SYSTEM #define TRACE_SYSTEM nfsd #if !defined(_NFSD_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) #define _NFSD_TRACE_H #include <linux/tracepoint.h> #include "export.h" #include "nfsfh.h" #define NFSD_TRACE_PROC_ARG_F...
7b08cf62b1239a4322427d677ea9363f0ab677c6
https://github.com/torvalds/linux
sanitizer.ts
typescript
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. // sanitize-html uses the url package, so we depend on a standalone version of // it which acts as a polyfill for browsers. import sanitize from 'sanitize-html'; import { ISanitizer } from './tokens'; /** * Helper ...
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. // sanitize-html uses the url package, so we depend on a standalone version of // it which acts as a polyfill for browsers. import sanitize from 'sanitize-html'; import { ISanitizer } from './tokens'; /** * Helper ...
504825938c0abfa2fb8ff8d529308830a5ae42ed
https://github.com/jupyterlab/jupyterlab
make_subset.php
php
<?php /** * @package php-font-lib * @link https://github.com/PhenX/php-font-lib * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ use FontLib\Font; use FontLib\Binary_Stream; $fontfile = null; if (isset($_GET["fontfile"...
<?php /** * @package php-font-lib * @link https://github.com/PhenX/php-font-lib * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ use FontLib\Font; use FontLib\Binary_Stream; $fontfile = null; if (isset($_GET["fontfile"...
d13682b7e27d14a6323c441426f3dde1cd86c751
https://github.com/phenx/php-font-lib
call_plugin.php
php
<?php /** * This file gets used to access {@link Plugin} methods that are marked to be accessible this * way. See {@link Plugin::GetHtsrvMethods()}. * * This file is part of the evoCore framework - {@link http://evocore.net/} * See also {@link https://github.com/b2evolution/b2evolution}. * * @license GNU GPL v2 ...
<?php /** * This file gets used to access {@link Plugin} methods that are marked to be accessible this * way. See {@link Plugin::GetHtsrvMethods()}. * * This file is part of the evoCore framework - {@link http://evocore.net/} * See also {@link https://github.com/b2evolution/b2evolution}. * * @license GNU GPL v2 ...
999b5ad1d59760d7e450ceb541f55432fc74cd27
https://github.com/b2evolution/b2evolution
constants.ts
typescript
import * as os from 'os' import * as chalk from 'chalk' // eslint-disable-next-line dot-notation export const PLATFORMS = global['PLATFORMS'] = global['PLATFORMS'] || {} export const enum processTypeEnum { START = 'start', CREATE = 'create', COMPILE = 'compile', CONVERT = 'convert', COPY = 'copy', GENERAT...
import * as os from 'os' import * as chalk from 'chalk' // eslint-disable-next-line dot-notation export const PLATFORMS = global['PLATFORMS'] = global['PLATFORMS'] || {} export const enum processTypeEnum { START = 'start', CREATE = 'create', COMPILE = 'compile', CONVERT = 'convert', COPY = 'copy', GENERAT...
acadb6c826ba57f2030a626f1de4f7b4608fcdb5
https://github.com/nervjs/taro
index.php
php
"<?php\n\n/**\n * The main admin backend index file.\n *\n * This Source Code Form is subject to the(...TRUNCATED)
"<?php\n\n/**\n * The main admin backend index file.\n *\n * This Source Code Form is subject to the(...TRUNCATED)
3872e7eac2ddeac182fc1335cc312d1392d56f98
https://github.com/thorsten/phpmyfaq
part.choosecalendar.rowfields.php
php
"<?php\necho '<td width=\"20px\"><input id=\"active_' . $_['calendar']['id'] . '\" type=\"checkbox\"(...TRUNCATED)
"<?php\necho '<td width=\"20px\"><input id=\"active_' . $_['calendar']['id'] . '\" type=\"checkbox\"(...TRUNCATED)
f955f6a6857754826af8903475688ba54f72c1bb
https://github.com/owncloud/core
iTermAdvancedSettingsModel.m
objective-c
"//\n// iTermAdvancedSettingsModel.m\n// iTerm\n//\n// Created by George Nachman on 3/18/14.\n//\(...TRUNCATED)
"//\n// iTermAdvancedSettingsModel.m\n// iTerm\n//\n// Created by George Nachman on 3/18/14.\n//\(...TRUNCATED)
e4eb1063529deb575b75b396138d41554428d522
https://github.com/gnachman/iterm2
kohana_error_page.php
php
"<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>\n<!DOCTYPE html PUBLIC \"-//W3C//D(...TRUNCATED)
"<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>\n<!DOCTYPE html PUBLIC \"-//W3C//D(...TRUNCATED)
e4a19768a5c5e5b1276caf3dd5bb721a540ec014
https://github.com/lingej/pnp4nagios
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
8