prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "use Behat\\Behat\\Context\\Context;\nuse Behat\\Behat\\Context\\SnippetAcceptingContext;\nuse GuzzleHttp\\Client as GClient;\nuse GuzzleHttp\\Message\\ResponseInterface;\nuse Sabre\\DAV\\Client as SClient;", "require __DIR__ . '/../../vendor/autoload.php';", "\ntrait WebDav {\n\t/** @var string*/\n\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [273, 68, 70, 243], "buggy_code_start_loc": [74, 58, 67, 243], "filenames": ["apps/dav/lib/connector/sabre/objecttree.php", "apps/dav/tests/unit/connector/sabre/objecttree.php", "build/integration/features/bootstrap/WebDav.php", "build/integration/features/webdav-related.feature"], "fixing_code_e...
1,262
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "use Behat\\Behat\\Context\\Context;\nuse Behat\\Behat\\Context\\SnippetAcceptingContext;\nuse GuzzleHttp\\Client as GClient;\nuse GuzzleHttp\\Message\\ResponseInterface;\nuse Sabre\\DAV\\Client as SClient;", "require __DIR__ . '/../../vendor/autoload.php';", "\ntrait WebDav {\n\t/** @var string*/\n\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [273, 68, 70, 243], "buggy_code_start_loc": [74, 58, 67, 243], "filenames": ["apps/dav/lib/connector/sabre/objecttree.php", "apps/dav/tests/unit/connector/sabre/objecttree.php", "build/integration/features/bootstrap/WebDav.php", "build/integration/features/webdav-related.feature"], "fixing_code_e...
1,262
Determine whether the {function_name} code is vulnerable or not.
[ "Feature: webdav-related\n\tBackground:\n\t\tGiven using api version \"1\"", "\tScenario: moving a file old way\n\t\tGiven using dav path \"remote.php/webdav\"\n\t\tAnd As an \"admin\"\n\t\tAnd user \"user0\" exists\n\t\tWhen User \"user0\" moves file \"/textfile0.txt\" to \"/FOLDER/textfile0.txt\"\n\t\tThen the ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [273, 68, 70, 243], "buggy_code_start_loc": [74, 58, 67, 243], "filenames": ["apps/dav/lib/connector/sabre/objecttree.php", "apps/dav/tests/unit/connector/sabre/objecttree.php", "build/integration/features/bootstrap/WebDav.php", "build/integration/features/webdav-related.feature"], "fixing_code_e...
1,262
Determine whether the {function_name} code is vulnerable or not.
[ "Feature: webdav-related\n\tBackground:\n\t\tGiven using api version \"1\"", "\tScenario: moving a file old way\n\t\tGiven using dav path \"remote.php/webdav\"\n\t\tAnd As an \"admin\"\n\t\tAnd user \"user0\" exists\n\t\tWhen User \"user0\" moves file \"/textfile0.txt\" to \"/FOLDER/textfile0.txt\"\n\t\tThen the ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [273, 68, 70, 243], "buggy_code_start_loc": [74, 58, 67, 243], "filenames": ["apps/dav/lib/connector/sabre/objecttree.php", "apps/dav/tests/unit/connector/sabre/objecttree.php", "build/integration/features/bootstrap/WebDav.php", "build/integration/features/webdav-related.feature"], "fixing_code_e...
1,262
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare2 - LGPL - Copyright 2021 - condret */", "#include <r_io.h>\n#include <r_util.h>", "R_API RIOBank *r_io_bank_new(const char *name) {\n\tr_return_val_if_fail (name, NULL);\n\tRIOBank *bank = R_NEW0 (RIOBank);\n\tif (!bank) {\n\t\treturn NULL;\n\t}\n\tbank->name = strdup (name);\n\tbank->submaps = r_crb...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [234], "buggy_code_start_loc": [233], "filenames": ["libr/io/io_bank.c"], "fixing_code_end_loc": [237], "fixing_code_start_loc": [233], "message": "Use After Free in GitHub repository radareorg/radare2 prior to 5.6.0.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequire...
1,263
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare2 - LGPL - Copyright 2021 - condret */", "#include <r_io.h>\n#include <r_util.h>", "R_API RIOBank *r_io_bank_new(const char *name) {\n\tr_return_val_if_fail (name, NULL);\n\tRIOBank *bank = R_NEW0 (RIOBank);\n\tif (!bank) {\n\t\treturn NULL;\n\t}\n\tbank->name = strdup (name);\n\tbank->submaps = r_crb...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [234], "buggy_code_start_loc": [233], "filenames": ["libr/io/io_bank.c"], "fixing_code_end_loc": [237], "fixing_code_start_loc": [233], "message": "Use After Free in GitHub repository radareorg/radare2 prior to 5.6.0.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequire...
1,263
Determine whether the {function_name} code is vulnerable or not.
[ "#define pr_fmt(fmt) KBUILD_MODNAME \": \" fmt", "#include <linux/workqueue.h>\n#include <linux/rtnetlink.h>\n#include <linux/cache.h>\n#include <linux/slab.h>\n#include <linux/list.h>\n#include <linux/delay.h>\n#include <linux/sched.h>\n#include <linux/idr.h>\n#include <linux/rculist.h>\n#include <linux/nsproxy....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [271], "buggy_code_start_loc": [270], "filenames": ["net/core/net_namespace.c"], "fixing_code_end_loc": [271], "fixing_code_start_loc": [270], "message": "A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11. The function get_net_ns_by_id()...
1,264
Determine whether the {function_name} code is vulnerable or not.
[ "#define pr_fmt(fmt) KBUILD_MODNAME \": \" fmt", "#include <linux/workqueue.h>\n#include <linux/rtnetlink.h>\n#include <linux/cache.h>\n#include <linux/slab.h>\n#include <linux/list.h>\n#include <linux/delay.h>\n#include <linux/sched.h>\n#include <linux/idr.h>\n#include <linux/rculist.h>\n#include <linux/nsproxy....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [271], "buggy_code_start_loc": [270], "filenames": ["net/core/net_namespace.c"], "fixing_code_end_loc": [271], "fixing_code_start_loc": [270], "message": "A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11. The function get_net_ns_by_id()...
1,264
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2023\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / text import filter\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it under the term...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [361], "buggy_code_start_loc": [317], "filenames": ["src/filters/load_text.c"], "fixing_code_end_loc": [373], "fixing_code_start_loc": [318], "message": "Off-by-one Error in GitHub repository gpac/gpac prior to v2.3.0-DEV.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRe...
1,265
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2023\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / text import filter\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it under the term...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [361], "buggy_code_start_loc": [317], "filenames": ["src/filters/load_text.c"], "fixing_code_end_loc": [373], "fixing_code_start_loc": [318], "message": "Off-by-one Error in GitHub repository gpac/gpac prior to v2.3.0-DEV.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRe...
1,265
Determine whether the {function_name} code is vulnerable or not.
[ "/* Userspace key control operations\n *\n * Copyright (C) 2004-5 Red Hat, Inc. All Rights Reserved.\n * Written by David Howells (dhowells@redhat.com)\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free S...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [768], "buggy_code_start_loc": [768], "filenames": ["security/keys/keyctl.c"], "fixing_code_end_loc": [774], "fixing_code_start_loc": [769], "message": "The keyctl_read_key function in security/keys/keyctl.c in the Key Management subcomponent in the Linux kernel before 4.13.5 does not properly co...
1,266
Determine whether the {function_name} code is vulnerable or not.
[ "/* Userspace key control operations\n *\n * Copyright (C) 2004-5 Red Hat, Inc. All Rights Reserved.\n * Written by David Howells (dhowells@redhat.com)\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free S...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [768], "buggy_code_start_loc": [768], "filenames": ["security/keys/keyctl.c"], "fixing_code_end_loc": [774], "fixing_code_start_loc": [769], "message": "The keyctl_read_key function in security/keys/keyctl.c in the Key Management subcomponent in the Linux kernel before 4.13.5 does not properly co...
1,266
Determine whether the {function_name} code is vulnerable or not.
[ "/** @file compression.c\n * @brief Functions handling compression\n *\n * Copyright (c) 2014 Bartek Fabiszewski\n * http://www.fabiszewski.net\n *\n * This file is part of libmobi.\n * Licensed under LGPL, either version 3, or any later.\n * See <http://www.gnu.org/licenses/>\n */", "#include <string.h>\n#inclu...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [145, 35, 593], "buggy_code_start_loc": [144, 22, 592], "filenames": ["src/compression.c", "src/compression.h", "src/read.c"], "fixing_code_end_loc": [148, 36, 593], "fixing_code_start_loc": [144, 23, 592], "message": "libmobi is vulnerable to Use of Out-of-range Pointer Offset", "other": {"cve":...
1,267
Determine whether the {function_name} code is vulnerable or not.
[ "/** @file compression.c\n * @brief Functions handling compression\n *\n * Copyright (c) 2014 Bartek Fabiszewski\n * http://www.fabiszewski.net\n *\n * This file is part of libmobi.\n * Licensed under LGPL, either version 3, or any later.\n * See <http://www.gnu.org/licenses/>\n */", "#include <string.h>\n#inclu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [145, 35, 593], "buggy_code_start_loc": [144, 22, 592], "filenames": ["src/compression.c", "src/compression.h", "src/read.c"], "fixing_code_end_loc": [148, 36, 593], "fixing_code_start_loc": [144, 23, 592], "message": "libmobi is vulnerable to Use of Out-of-range Pointer Offset", "other": {"cve":...
1,267
Determine whether the {function_name} code is vulnerable or not.
[ "/** @file compression.h\n *\n * Copyright (c) 2014 Bartek Fabiszewski\n * http://www.fabiszewski.net\n *\n * This file is part of libmobi.\n * Licensed under LGPL, either version 3, or any later.\n * See <http://www.gnu.org/licenses/>\n */", "#ifndef libmobi_compression_h\n#define libmobi_compression_h", "#inc...
[ 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [145, 35, 593], "buggy_code_start_loc": [144, 22, 592], "filenames": ["src/compression.c", "src/compression.h", "src/read.c"], "fixing_code_end_loc": [148, 36, 593], "fixing_code_start_loc": [144, 23, 592], "message": "libmobi is vulnerable to Use of Out-of-range Pointer Offset", "other": {"cve":...
1,267
Determine whether the {function_name} code is vulnerable or not.
[ "/** @file compression.h\n *\n * Copyright (c) 2014 Bartek Fabiszewski\n * http://www.fabiszewski.net\n *\n * This file is part of libmobi.\n * Licensed under LGPL, either version 3, or any later.\n * See <http://www.gnu.org/licenses/>\n */", "#ifndef libmobi_compression_h\n#define libmobi_compression_h", "#inc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [145, 35, 593], "buggy_code_start_loc": [144, 22, 592], "filenames": ["src/compression.c", "src/compression.h", "src/read.c"], "fixing_code_end_loc": [148, 36, 593], "fixing_code_start_loc": [144, 23, 592], "message": "libmobi is vulnerable to Use of Out-of-range Pointer Offset", "other": {"cve":...
1,267
Determine whether the {function_name} code is vulnerable or not.
[ "/** @file read.c\n * @brief Functions for reading and parsing of MOBI document\n *\n * Copyright (c) 2014 Bartek Fabiszewski\n * http://www.fabiszewski.net\n *\n * This file is part of libmobi.\n * Licensed under LGPL, either version 3, or any later.\n * See <http://www.gnu.org/licenses/>\n */", "\n#include <st...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [145, 35, 593], "buggy_code_start_loc": [144, 22, 592], "filenames": ["src/compression.c", "src/compression.h", "src/read.c"], "fixing_code_end_loc": [148, 36, 593], "fixing_code_start_loc": [144, 23, 592], "message": "libmobi is vulnerable to Use of Out-of-range Pointer Offset", "other": {"cve":...
1,267
Determine whether the {function_name} code is vulnerable or not.
[ "/** @file read.c\n * @brief Functions for reading and parsing of MOBI document\n *\n * Copyright (c) 2014 Bartek Fabiszewski\n * http://www.fabiszewski.net\n *\n * This file is part of libmobi.\n * Licensed under LGPL, either version 3, or any later.\n * See <http://www.gnu.org/licenses/>\n */", "\n#include <st...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [145, 35, 593], "buggy_code_start_loc": [144, 22, 592], "filenames": ["src/compression.c", "src/compression.h", "src/read.c"], "fixing_code_end_loc": [148, 36, 593], "fixing_code_start_loc": [144, 23, 592], "message": "libmobi is vulnerable to Use of Out-of-range Pointer Offset", "other": {"cve":...
1,267
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2006, 2018 Oracle and/or its affiliates. All rights reserved.\n *\n * This software is available to you under a choice of one of two\n * licenses. You may choose to be licensed under the terms of the GNU\n * General Public License (GPL) Version 2, available from the file\n * COPYING in the ma...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [612], "buggy_code_start_loc": [611], "filenames": ["net/rds/tcp.c"], "fixing_code_end_loc": [612], "fixing_code_start_loc": [611], "message": "An issue was discovered in rds_tcp_kill_sock in net/rds/tcp.c in the Linux kernel before 5.0.8. There is a race condition leading to a use-after-free, re...
1,268
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2006, 2018 Oracle and/or its affiliates. All rights reserved.\n *\n * This software is available to you under a choice of one of two\n * licenses. You may choose to be licensed under the terms of the GNU\n * General Public License (GPL) Version 2, available from the file\n * COPYING in the ma...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [612], "buggy_code_start_loc": [611], "filenames": ["net/rds/tcp.c"], "fixing_code_end_loc": [612], "fixing_code_start_loc": [611], "message": "An issue was discovered in rds_tcp_kill_sock in net/rds/tcp.c in the Linux kernel before 5.0.8. There is a race condition leading to a use-after-free, re...
1,268
Determine whether the {function_name} code is vulnerable or not.
[ "![Rdiffweb Banner](https://gitlab.com/ikus-soft/rdiffweb/-/raw/master/doc/_static/banner.png)", "<p align=\"center\">\n<strong>\n<a href=\"https://www.rdiffweb.org\">website</a>\n• <a href=\"https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/\">docs</a>\n• <a href=\"https://groups.google.com/d/forum/rdif...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "![Rdiffweb Banner](https://gitlab.com/ikus-soft/rdiffweb/-/raw/master/doc/_static/banner.png)", "<p align=\"center\">\n<strong>\n<a href=\"https://www.rdiffweb.org\">website</a>\n• <a href=\"https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/\">docs</a>\n• <a href=\"https://groups.google.com/d/forum/rdif...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\r\n# rdiffweb, A web interface to rdiff-backup repositories\r\n# Copyright (C) 2012-2021 rdiffweb contributors\r\n#\r\n# This program is free software: you can redistribute it and/or modify\r\n# it under the terms of the GNU General Public License as published by\r\n# the Free Software Foun...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\r\n# rdiffweb, A web interface to rdiff-backup repositories\r\n# Copyright (C) 2012-2021 rdiffweb contributors\r\n#\r\n# This program is free software: you can redistribute it and/or modify\r\n# it under the terms of the GNU General Public License as published by\r\n# the Free Software Foun...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [134, 73, 163, 93, 194, 56, 450, 225], "buggy_code_start_loc": [134, 72, 162, 30, 185, 24, 347, 203], "filenames": ["README.md", "rdiffweb/controller/__init__.py", "rdiffweb/controller/page_admin_users.py", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_gen...
1,269
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Kernel-based Virtual Machine driver for Linux\n *\n * This module enables machines with Intel VT-x extensions to run virtual\n * machines without emulation or binary translation.\n *\n * Copyright (C) 2006 Qumranet, Inc.\n * Copyright 2010 Red Hat, Inc. and/or its affiliates.\n *\n * Authors:\n * Avi Kivi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1900], "buggy_code_start_loc": [1900], "filenames": ["virt/kvm/kvm_main.c"], "fixing_code_end_loc": [1904], "fixing_code_start_loc": [1901], "message": "Array index error in the kvm_vm_ioctl_create_vcpu function in virt/kvm/kvm_main.c in the KVM subsystem in the Linux kernel through 3.12.5 allow...
1,270
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Kernel-based Virtual Machine driver for Linux\n *\n * This module enables machines with Intel VT-x extensions to run virtual\n * machines without emulation or binary translation.\n *\n * Copyright (C) 2006 Qumranet, Inc.\n * Copyright 2010 Red Hat, Inc. and/or its affiliates.\n *\n * Authors:\n * Avi Kivi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1900], "buggy_code_start_loc": [1900], "filenames": ["virt/kvm/kvm_main.c"], "fixing_code_end_loc": [1904], "fixing_code_start_loc": [1901], "message": "Array index error in the kvm_vm_ioctl_create_vcpu function in virt/kvm/kvm_main.c in the KVM subsystem in the Linux kernel through 3.12.5 allow...
1,270
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n\t/*\n\t\tClass: BigTreeAdmin\n\t\t\tThe main class used by the admin for manipulating and retrieving data.\n\t*/", "\tclass BigTreeAdminBase {", "\t\tstatic $IRLPrefixes = false;\n\t\tstatic $IRLsCreated = array();\n\t\tstatic $PerPage = 15;\t\t", "\t\t// !View Types\n\t\tstatic $ViewTypes = array(\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [8428], "buggy_code_start_loc": [8422], "filenames": ["core/inc/bigtree/admin.php"], "fixing_code_end_loc": [8425], "fixing_code_start_loc": [8422], "message": "BigTree before 4.2.22 has XSS in the Users management page via the name or company field.", "other": {"cve": {"cisaActionDue": null, "ci...
1,271
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n\t/*\n\t\tClass: BigTreeAdmin\n\t\t\tThe main class used by the admin for manipulating and retrieving data.\n\t*/", "\tclass BigTreeAdminBase {", "\t\tstatic $IRLPrefixes = false;\n\t\tstatic $IRLsCreated = array();\n\t\tstatic $PerPage = 15;\t\t", "\t\t// !View Types\n\t\tstatic $ViewTypes = array(\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [8428], "buggy_code_start_loc": [8422], "filenames": ["core/inc/bigtree/admin.php"], "fixing_code_end_loc": [8425], "fixing_code_start_loc": [8422], "message": "BigTree before 4.2.22 has XSS in the Users management page via the name or company field.", "other": {"cve": {"cisaActionDue": null, "ci...
1,271
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "var Long = require('./long');", "var PARSE_STRING_REGEXP = /^(\\+|-)?(\\d+|(\\d*\\.\\d*))?(E|e)?([-+])?(\\d+)?$/;\nvar PARSE_INF_REGEXP = /^(\\+|-)?(Infinity|inf)$/i;\nvar PARSE_NAN_REGEXP = /^(\\+|-)?NaN$/i;", "var EXPONENT_MAX = 6111;\nvar EXPONENT_MIN = -6176;\nvar EXPONENT_BIAS = 6176;\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [236], "buggy_code_start_loc": [236], "filenames": ["lib/bson/decimal128.js"], "fixing_code_end_loc": [244], "fixing_code_start_loc": [237], "message": "The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of ...
1,272
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "var Long = require('./long');", "var PARSE_STRING_REGEXP = /^(\\+|-)?(\\d+|(\\d*\\.\\d*))?(E|e)?([-+])?(\\d+)?$/;\nvar PARSE_INF_REGEXP = /^(\\+|-)?(Infinity|inf)$/i;\nvar PARSE_NAN_REGEXP = /^(\\+|-)?NaN$/i;", "var EXPONENT_MAX = 6111;\nvar EXPONENT_MIN = -6176;\nvar EXPONENT_BIAS = 6176;\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [236], "buggy_code_start_loc": [236], "filenames": ["lib/bson/decimal128.js"], "fixing_code_end_loc": [244], "fixing_code_start_loc": [237], "message": "The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of ...
1,272
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "/*\n * diff.c: code fo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2927, 737], "buggy_code_start_loc": [2645, 737], "filenames": ["src/diff.c", "src/version.c"], "fixing_code_end_loc": [2947, 740], "fixing_code_start_loc": [2646, 738], "message": "Use After Free in GitHub repository vim/vim prior to 9.0.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAd...
1,273
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "/*\n * diff.c: code fo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2927, 737], "buggy_code_start_loc": [2645, 737], "filenames": ["src/diff.c", "src/version.c"], "fixing_code_end_loc": [2947, 740], "fixing_code_start_loc": [2646, 738], "message": "Use After Free in GitHub repository vim/vim prior to 9.0.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAd...
1,273
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "#include \"vim.h\"",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2927, 737], "buggy_code_start_loc": [2645, 737], "filenames": ["src/diff.c", "src/version.c"], "fixing_code_end_loc": [2947, 740], "fixing_code_start_loc": [2646, 738], "message": "Use After Free in GitHub repository vim/vim prior to 9.0.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAd...
1,273
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "#include \"vim.h\"",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2927, 737], "buggy_code_start_loc": [2645, 737], "filenames": ["src/diff.c", "src/version.c"], "fixing_code_end_loc": [2947, 740], "fixing_code_start_loc": [2646, 738], "message": "Use After Free in GitHub repository vim/vim prior to 9.0.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAd...
1,273
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Wire\n// Copyright (C) 2018 Wire Swiss GmbH\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [329], "buggy_code_start_loc": [21], "filenames": ["Wire-iOS/Sources/Helpers/ColorScheme.swift"], "fixing_code_end_loc": [327], "fixing_code_start_loc": [22], "message": "wire-ios is an iOS client for the Wire secure messaging application. Invalid accent colors of Wire communication partners may ...
1,274
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Wire\n// Copyright (C) 2018 Wire Swiss GmbH\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [329], "buggy_code_start_loc": [21], "filenames": ["Wire-iOS/Sources/Helpers/ColorScheme.swift"], "fixing_code_end_loc": [327], "fixing_code_start_loc": [22], "message": "wire-ios is an iOS client for the Wire secure messaging application. Invalid accent colors of Wire communication partners may ...
1,274
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n *\n * Glewlwyd SSO Server\n *\n * Authentiation server\n * Users are authenticated via various backend available: database, ldap\n * Using various authentication methods available: password, OTP, send code, etc.\n *\n * WebAuthn scheme module\n *\n * Copyright 2019-2020 Nicolas Mora <mail@babelouest.org>\n *...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2641], "buggy_code_start_loc": [2639], "filenames": ["src/scheme/webauthn.c"], "fixing_code_end_loc": [2654], "fixing_code_start_loc": [2639], "message": "scheme/webauthn.c in Glewlwyd SSO server 2.x before 2.6.2 has a buffer overflow associated with a webauthn assertion.", "other": {"cve": {"ci...
1,275
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n *\n * Glewlwyd SSO Server\n *\n * Authentiation server\n * Users are authenticated via various backend available: database, ldap\n * Using various authentication methods available: password, OTP, send code, etc.\n *\n * WebAuthn scheme module\n *\n * Copyright 2019-2020 Nicolas Mora <mail@babelouest.org>\n *...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2641], "buggy_code_start_loc": [2639], "filenames": ["src/scheme/webauthn.c"], "fixing_code_end_loc": [2654], "fixing_code_start_loc": [2639], "message": "scheme/webauthn.c in Glewlwyd SSO server 2.x before 2.6.2 has a buffer overflow associated with a webauthn assertion.", "other": {"cve": {"ci...
1,275
Determine whether the {function_name} code is vulnerable or not.
[ "# Markdown to PDF", "[![Github Actions Badge](https://github.com/simonhaenisch/md-to-pdf/workflows/Node%20CI/badge.svg)](https://github.com/simonhaenisch/md-to-pdf/actions)\n[![NPM version](https://img.shields.io/npm/v/md-to-pdf.svg)](https://www.npmjs.com/md-to-pdf)\n[![XO code style](https://img.shields.io/bad...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "# Markdown to PDF", "[![Github Actions Badge](https://github.com/simonhaenisch/md-to-pdf/workflows/Node%20CI/badge.svg)](https://github.com/simonhaenisch/md-to-pdf/actions)\n[![NPM version](https://img.shields.io/npm/v/md-to-pdf.svg)](https://www.npmjs.com/md-to-pdf)\n[![XO code style](https://img.shields.io/bad...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env node", "// --\n// Packages", "import arg from 'arg';\nimport chalk from 'chalk';\nimport { watch, WatchOptions } from 'chokidar';\nimport getPort from 'get-port';\nimport getStdin from 'get-stdin';\nimport Listr from 'listr';\nimport path from 'path';\nimport { PackageJson } from '.';\nimport { ...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env node", "// --\n// Packages", "import arg from 'arg';\nimport chalk from 'chalk';\nimport { watch, WatchOptions } from 'chokidar';\nimport getPort from 'get-port';\nimport getStdin from 'get-stdin';\nimport Listr from 'listr';\nimport path from 'path';\nimport { PackageJson } from '.';\nimport { ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "import { WatchOptions } from 'chokidar';", "", "import { MarkedOptions } from 'marked';\nimport { resolve } from 'path';\nimport { FrameAddScriptTagOptions, launch, PDFOptions } from 'puppeteer';", "export const defaultConfig: Config = {\n\tbasedir: process.cwd(),\n\tstylesheet: [resolve(__dirname, '..', '.....
[ 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "import { WatchOptions } from 'chokidar';", "import { GrayMatterOption } from 'gray-matter';", "import { MarkedOptions } from 'marked';\nimport { resolve } from 'path';\nimport { FrameAddScriptTagOptions, launch, PDFOptions } from 'puppeteer';", "export const defaultConfig: Config = {\n\tbasedir: process.cwd(...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "import chalk from 'chalk';", "const helpText = `\n ${chalk.bold('$ md-to-pdf')} [options] path/to/file.md", " ${chalk.dim.underline.bold('Options:')}", " -h, --help ${chalk.dim('...............')} Output usage information\n -v, --version ${chalk.dim('............')} Output version\n -w, --watch ${...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "import chalk from 'chalk';", "const helpText = `\n ${chalk.bold('$ md-to-pdf')} [options] path/to/file.md", " ${chalk.dim.underline.bold('Options:')}", " -h, --help ${chalk.dim('...............')} Output usage information\n -v, --version ${chalk.dim('............')} Output version\n -w, --watch ${...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "import { promises as fs } from 'fs';\nimport grayMatter from 'gray-matter';\nimport { dirname, resolve } from 'path';\nimport { Config } from './config';\nimport { generateOutput } from './generate-output';\nimport { getHtml } from './get-html';\nimport { getOutputFilePath } from './get-output-file-path';\nimport ...
[ 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "import { promises as fs } from 'fs';\nimport grayMatter from 'gray-matter';\nimport { dirname, resolve } from 'path';\nimport { Config } from './config';\nimport { generateOutput } from './generate-output';\nimport { getHtml } from './get-html';\nimport { getOutputFilePath } from './get-output-file-path';\nimport ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "import test, { before } from 'ava';\nimport { readFileSync, unlinkSync } from 'fs';\nimport { basename, resolve } from 'path';\nimport { getDocument } from 'pdfjs-dist/legacy/build/pdf';\nimport { mdToPdf } from '..';", "", "\nbefore(() => {\n\tconst filesToDelete = [resolve(__dirname, 'basic', 'api-test.pdf')...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "import test, { before } from 'ava';\nimport { readFileSync, unlinkSync } from 'fs';\nimport { basename, resolve } from 'path';\nimport { getDocument } from 'pdfjs-dist/legacy/build/pdf';\nimport { mdToPdf } from '..';", "\nconst getPdfTextContent = async (content: Buffer) => {\n\tconst doc = await getDocument({ ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [272, 39, 125, 21, 34, 71], "buggy_code_start_loc": [68, 39, 1, 21, 26, 5], "filenames": ["readme.md", "src/cli.ts", "src/lib/config.ts", "src/lib/help.ts", "src/lib/md-to-pdf.ts", "src/test/api.spec.ts"], "fixing_code_end_loc": [283, 41, 142, 23, 41, 98], "fixing_code_start_loc": [69, 40, 2, 22,...
1,276
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2012\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3714, 636, 4511], "buggy_code_start_loc": [3713, 635, 487], "filenames": ["include/gpac/internal/isomedia_dev.h", "src/isomedia/box_code_base.c", "src/isomedia/box_dump.c"], "fixing_code_end_loc": [3714, 636, 4511], "fixing_code_start_loc": [3713, 635, 487], "message": "An issue was discovered i...
1,277
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2012\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3714, 636, 4511], "buggy_code_start_loc": [3713, 635, 487], "filenames": ["include/gpac/internal/isomedia_dev.h", "src/isomedia/box_code_base.c", "src/isomedia/box_dump.c"], "fixing_code_end_loc": [3714, 636, 4511], "fixing_code_start_loc": [3713, 635, 487], "message": "An issue was discovered i...
1,277
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2012\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3714, 636, 4511], "buggy_code_start_loc": [3713, 635, 487], "filenames": ["include/gpac/internal/isomedia_dev.h", "src/isomedia/box_code_base.c", "src/isomedia/box_dump.c"], "fixing_code_end_loc": [3714, 636, 4511], "fixing_code_start_loc": [3713, 635, 487], "message": "An issue was discovered i...
1,277
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2012\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3714, 636, 4511], "buggy_code_start_loc": [3713, 635, 487], "filenames": ["include/gpac/internal/isomedia_dev.h", "src/isomedia/box_code_base.c", "src/isomedia/box_dump.c"], "fixing_code_end_loc": [3714, 636, 4511], "fixing_code_start_loc": [3713, 635, 487], "message": "An issue was discovered i...
1,277
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2012\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3714, 636, 4511], "buggy_code_start_loc": [3713, 635, 487], "filenames": ["include/gpac/internal/isomedia_dev.h", "src/isomedia/box_code_base.c", "src/isomedia/box_dump.c"], "fixing_code_end_loc": [3714, 636, 4511], "fixing_code_start_loc": [3713, 635, 487], "message": "An issue was discovered i...
1,277
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2012\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3714, 636, 4511], "buggy_code_start_loc": [3713, 635, 487], "filenames": ["include/gpac/internal/isomedia_dev.h", "src/isomedia/box_code_base.c", "src/isomedia/box_dump.c"], "fixing_code_end_loc": [3714, 636, 4511], "fixing_code_start_loc": [3713, 635, 487], "message": "An issue was discovered i...
1,277
Determine whether the {function_name} code is vulnerable or not.
[ "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>", "#define CMARK_NO_SHORT_NAMES\n#include \"cmark-gfm.h\"\n#include \"node.h\"\n#include \"../extensions/cmark-gfm-core-extensions.h\"", "#include \"harness.h\"\n#include \"cplusplus.h\"", "#define UTF8_REPL \"\\xEF\\xBF\\xBD\"", "static const cm...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>", "#define CMARK_NO_SHORT_NAMES\n#include \"cmark-gfm.h\"\n#include \"node.h\"\n#include \"../extensions/cmark-gfm-core-extensions.h\"", "#include \"harness.h\"\n#include \"cplusplus.h\"", "#define UTF8_REPL \"\\xEF\\xBF\\xBD\"", "static const cm...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#include <cmark-gfm-extension_api.h>\n#include <html.h>\n#include <inlines.h>\n#include <parser.h>\n#include <references.h>\n#include <string.h>\n#include <render.h>", "#include \"ext_scanners.h\"\n#include \"strikethrough.h\"\n#include \"table.h\"\n#include \"cmark-gfm-core-extensions.h\"", "// Custom node fl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#include <cmark-gfm-extension_api.h>\n#include <html.h>\n#include <inlines.h>\n#include <parser.h>\n#include <references.h>\n#include <string.h>\n#include <render.h>", "#include \"ext_scanners.h\"\n#include \"strikethrough.h\"\n#include \"table.h\"\n#include \"cmark-gfm-core-extensions.h\"", "// Custom node fl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * Block parsing implementation.\n *\n * For a high-level overview of the block parsing process,\n * see http://spec.commonmark.org/0.24/#phase-1-block-structure\n */", "#include <stdlib.h>\n#include <assert.h>\n#include <stdio.h>\n#include <limits.h>", "#include \"cmark_ctype.h\"\n#include \"syntax_exten...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * Block parsing implementation.\n *\n * For a high-level overview of the block parsing process,\n * see http://spec.commonmark.org/0.24/#phase-1-block-structure\n */", "#include <stdlib.h>\n#include <assert.h>\n#include <stdio.h>\n#include <limits.h>", "#include \"cmark_ctype.h\"\n#include \"syntax_exten...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef CMARK_GFM_H\n#define CMARK_GFM_H", "#include <stdio.h>\n#include <stdint.h>\n#include \"cmark-gfm_export.h\"\n#include \"cmark-gfm_version.h\"", "#ifdef __cplusplus\nextern \"C\" {\n#endif", "/** # NAME\n *\n * **cmark-gfm** - CommonMark parsing, manipulating, and rendering\n */", "/** # DESCRIPTIO...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef CMARK_GFM_H\n#define CMARK_GFM_H", "#include <stdio.h>\n#include <stdint.h>\n#include \"cmark-gfm_export.h\"\n#include \"cmark-gfm_version.h\"", "#ifdef __cplusplus\nextern \"C\" {\n#endif", "/** # NAME\n *\n * **cmark-gfm** - CommonMark parsing, manipulating, and rendering\n */", "/** # DESCRIPTIO...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#include <stdlib.h>\n#include <string.h>", "#include \"config.h\"\n#include \"node.h\"\n#include \"syntax_extension.h\"", "", "\nstatic void S_node_unlink(cmark_node *node);", "#define NODE_MEM(node) cmark_node_mem(node)", "void cmark_register_node_flag(cmark_node_internal_flags *flags) {\n static cmark...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#include <stdlib.h>\n#include <string.h>", "#include \"config.h\"\n#include \"node.h\"\n#include \"syntax_extension.h\"", "\n/**\n * Expensive safety checks are off by default, but can be enabled\n * by calling cmark_enable_safety_checks().\n */\nstatic bool enable_safety_checks = false;", "void cmark_enable...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef CMARK_NODE_H\n#define CMARK_NODE_H", "#ifdef __cplusplus\nextern \"C\" {\n#endif", "#include <stdio.h>\n#include <stdint.h>", "#include \"cmark-gfm.h\"\n#include \"cmark-gfm-extension_api.h\"\n#include \"buffer.h\"\n#include \"chunk.h\"", "typedef struct {\n cmark_list_type list_type;\n int marke...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef CMARK_NODE_H\n#define CMARK_NODE_H", "#ifdef __cplusplus\nextern \"C\" {\n#endif", "#include <stdio.h>\n#include <stdint.h>", "#include \"cmark-gfm.h\"\n#include \"cmark-gfm-extension_api.h\"\n#include \"buffer.h\"\n#include \"chunk.h\"", "typedef struct {\n cmark_list_type list_type;\n int marke...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef CMARK_PARSER_H\n#define CMARK_PARSER_H", "#include <stdio.h>\n#include \"references.h\"\n#include \"node.h\"\n#include \"buffer.h\"", "#ifdef __cplusplus\nextern \"C\" {\n#endif", "#define MAX_LINK_LABEL_LENGTH 1000", "struct cmark_parser {\n struct cmark_mem *mem;\n /* A hashtable of urls in the...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef CMARK_PARSER_H\n#define CMARK_PARSER_H", "#include <stdio.h>\n#include \"references.h\"\n#include \"node.h\"\n#include \"buffer.h\"", "#ifdef __cplusplus\nextern \"C\" {\n#endif", "#define MAX_LINK_LABEL_LENGTH 1000", "struct cmark_parser {\n struct cmark_mem *mem;\n /* A hashtable of urls in the...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#include <stdlib.h>\n#include <assert.h>", "#include \"cmark-gfm.h\"\n#include \"syntax_extension.h\"\n#include \"buffer.h\"", "extern cmark_mem CMARK_DEFAULT_MEM_ALLOCATOR;", "static cmark_mem *_mem = &CMARK_DEFAULT_MEM_ALLOCATOR;", "void cmark_syntax_extension_free(cmark_mem *mem, cmark_syntax_extension ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "#include <stdlib.h>\n#include <assert.h>", "#include \"cmark-gfm.h\"\n#include \"syntax_extension.h\"\n#include \"buffer.h\"", "extern cmark_mem CMARK_DEFAULT_MEM_ALLOCATOR;", "static cmark_mem *_mem = &CMARK_DEFAULT_MEM_ALLOCATOR;", "void cmark_syntax_extension_free(cmark_mem *mem, cmark_syntax_extension ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1135, 318, 1480, 38, 90, 146, 53, 33], "buggy_code_start_loc": [1135, 313, 72, 38, 6, 53, 52, 32], "filenames": ["api_test/main.c", "extensions/table.c", "src/blocks.c", "src/cmark-gfm.h", "src/node.c", "src/node.h", "src/parser.h", "src/syntax_extension.c"], "fixing_code_end_loc": [1137, 325, 1...
1,278
Determine whether the {function_name} code is vulnerable or not.
[ "$(function ($) {\n\t'use strict';", "\tvar mybbCmd = {\n\t\talign: ['left', 'center', 'right', 'justify'],\n\t\tfsStr: ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'],\n\t\tfSize: [9, 12, 15, 17, 23, 31],\n\t\tvideo: {\n\t\t\t'Dailymotion': {\n\t\t\t\t'match': /(dailymotion\\.com\\/vid...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [284], "buggy_code_start_loc": [61], "filenames": ["jscripts/bbcodes_sceditor.js"], "fixing_code_end_loc": [283], "fixing_code_start_loc": [61], "message": "In MyBB before version 1.8.24, the custom MyCode (BBCode) for the visual editor doesn't escape input properly when rendering HTML, resulting...
1,279
Determine whether the {function_name} code is vulnerable or not.
[ "$(function ($) {\n\t'use strict';", "\tvar mybbCmd = {\n\t\talign: ['left', 'center', 'right', 'justify'],\n\t\tfsStr: ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'],\n\t\tfSize: [9, 12, 15, 17, 23, 31],\n\t\tvideo: {\n\t\t\t'Dailymotion': {\n\t\t\t\t'match': /(dailymotion\\.com\\/vid...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [284], "buggy_code_start_loc": [61], "filenames": ["jscripts/bbcodes_sceditor.js"], "fixing_code_end_loc": [283], "fixing_code_start_loc": [61], "message": "In MyBB before version 1.8.24, the custom MyCode (BBCode) for the visual editor doesn't escape input properly when rendering HTML, resulting...
1,279
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n * \n * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Matthew R. Harrah\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [87], "buggy_code_start_loc": [87], "filenames": ["core/src/main/java/hudson/security/AuthenticationProcessingFilter2.java"], "fixing_code_end_loc": [89], "fixing_code_start_loc": [88], "message": "Session fixation vulnerability in Jenkins before 1.551 and LTS before 1.532.2 allows remote attacke...
1,280
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n * \n * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Matthew R. Harrah\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [87], "buggy_code_start_loc": [87], "filenames": ["core/src/main/java/hudson/security/AuthenticationProcessingFilter2.java"], "fixing_code_end_loc": [89], "fixing_code_start_loc": [88], "message": "Session fixation vulnerability in Jenkins before 1.551 and LTS before 1.532.2 allows remote attacke...
1,280
Determine whether the {function_name} code is vulnerable or not.
[ "", "2016-07-30 7.0.2-6 Cristy <quetzlzacatenango@image...>\n * Release ImageMagick version 7.0.2-6, GIT revision 18651:df24175:20160729.", "2016-07-29 7.0.2-6 Cristy <quetzlzacatenango@image...>\n * Support -region option (reference\n https://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=29...
[ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [0, 1545], "buggy_code_start_loc": [0, 1059], "filenames": ["ChangeLog", "MagickCore/enhance.c"], "fixing_code_end_loc": [5, 1550], "fixing_code_start_loc": [1, 1060], "message": "Buffer overflow in MagickCore/enhance.c in ImageMagick before 7.0.2-7 allows remote attackers to have unspecified imp...
1,281
Determine whether the {function_name} code is vulnerable or not.
[ "2016-07-01 7.0.2-7 Cristy <quetzlzacatenango@image...>\n * Evaluate lazy pixel cache morphology to prevent buffer overflow (bug report\n from Ibrahim M. El-Sayed).\n", "2016-07-30 7.0.2-6 Cristy <quetzlzacatenango@image...>\n * Release ImageMagick version 7.0.2-6, GIT revision 18651:df24175:20160729.", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [0, 1545], "buggy_code_start_loc": [0, 1059], "filenames": ["ChangeLog", "MagickCore/enhance.c"], "fixing_code_end_loc": [5, 1550], "fixing_code_start_loc": [1, 1060], "message": "Buffer overflow in MagickCore/enhance.c in ImageMagick before 7.0.2-7 allows remote attackers to have unspecified imp...
1,281
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
PreciseBugs
{"buggy_code_end_loc": [0, 1545], "buggy_code_start_loc": [0, 1059], "filenames": ["ChangeLog", "MagickCore/enhance.c"], "fixing_code_end_loc": [5, 1550], "fixing_code_start_loc": [1, 1060], "message": "Buffer overflow in MagickCore/enhance.c in ImageMagick before 7.0.2-7 allows remote attackers to have unspecified imp...
1,281
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [0, 1545], "buggy_code_start_loc": [0, 1059], "filenames": ["ChangeLog", "MagickCore/enhance.c"], "fixing_code_end_loc": [5, 1550], "fixing_code_start_loc": [1, 1060], "message": "Buffer overflow in MagickCore/enhance.c in ImageMagick before 7.0.2-7 allows remote attackers to have unspecified imp...
1,281
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * demod_flex.c\n *\n * Copyright 2004,2006,2010 Free Software Foundation, Inc.\n * Copyright (C) 2015 Craig Shelley (craig@microtron.org.uk)\n *\n * FLEX Radio Paging Decoder - Adapted from GNURadio for use with Multimon\n *\n * GNU Radio is free software; you can redistribute it and/...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [560], "buggy_code_start_loc": [560], "filenames": ["demod_flex.c"], "fixing_code_end_loc": [572], "fixing_code_start_loc": [561], "message": "A vulnerability was found in multimon-ng. It has been rated as critical. This issue affects the function add_ch of the file demod_flex.c. The manipulation...
1,282
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * demod_flex.c\n *\n * Copyright 2004,2006,2010 Free Software Foundation, Inc.\n * Copyright (C) 2015 Craig Shelley (craig@microtron.org.uk)\n *\n * FLEX Radio Paging Decoder - Adapted from GNURadio for use with Multimon\n *\n * GNU Radio is free software; you can redistribute it and/...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [560], "buggy_code_start_loc": [560], "filenames": ["demod_flex.c"], "fixing_code_end_loc": [572], "fixing_code_start_loc": [561], "message": "A vulnerability was found in multimon-ng. It has been rated as critical. This issue affects the function add_ch of the file demod_flex.c. The manipulation...
1,282
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- C++ -*-\n * Copyright 2019 LibRaw LLC (info@libraw.org)\n *\n LibRaw uses code from dcraw.c -- Dave Coffin's raw photo decoder,\n dcraw.c is copyright 1997-2018 by Dave Coffin, dcoffin a cybercom o net.\n LibRaw do not use RESTRICTED code from dcraw.c", " LibRaw is free software; you can redistribute it a...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [348], "buggy_code_start_loc": [347], "filenames": ["src/decoders/decoders_dcraw.cpp"], "fixing_code_end_loc": [348], "fixing_code_start_loc": [347], "message": "In LibRaw, an out-of-bounds read vulnerability exists within the \"LibRaw::adobe_copy_pixel()\" function (libraw\\src\\decoders\\dng.cp...
1,283
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- C++ -*-\n * Copyright 2019 LibRaw LLC (info@libraw.org)\n *\n LibRaw uses code from dcraw.c -- Dave Coffin's raw photo decoder,\n dcraw.c is copyright 1997-2018 by Dave Coffin, dcoffin a cybercom o net.\n LibRaw do not use RESTRICTED code from dcraw.c", " LibRaw is free software; you can redistribute it a...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [348], "buggy_code_start_loc": [347], "filenames": ["src/decoders/decoders_dcraw.cpp"], "fixing_code_end_loc": [348], "fixing_code_start_loc": [347], "message": "In LibRaw, an out-of-bounds read vulnerability exists within the \"LibRaw::adobe_copy_pixel()\" function (libraw\\src\\decoders\\dng.cp...
1,283
Determine whether the {function_name} code is vulnerable or not.
[ "class BuildController < ApplicationController", " def index", " valid_http_methods :get, :post, :put", "\n # for permission check\n if params[:package] and not [\"_repository\", \"_jobhistory\"].include?(params[:package])\n pkg = DbPackage.get_by_project_and_name( params[:project], params[:pac...
[ 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [146, 39], "buggy_code_start_loc": [4, 39], "filenames": ["src/api/app/controllers/build_controller.rb", "src/api/test/functional/build_controller_test.rb"], "fixing_code_end_loc": [142, 66], "fixing_code_start_loc": [4, 40], "message": "A vulnerability in open build service allows remote attacke...
1,284
Determine whether the {function_name} code is vulnerable or not.
[ "class BuildController < ApplicationController", " def index", " valid_http_methods :get, :post", "\n # for permission check\n if params[:package] and not [\"_repository\", \"_jobhistory\"].include?(params[:package])\n pkg = DbPackage.get_by_project_and_name( params[:project], params[:package],...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [146, 39], "buggy_code_start_loc": [4, 39], "filenames": ["src/api/app/controllers/build_controller.rb", "src/api/test/functional/build_controller_test.rb"], "fixing_code_end_loc": [142, 66], "fixing_code_start_loc": [4, 40], "message": "A vulnerability in open build service allows remote attacke...
1,284
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: UTF-8", "require File.expand_path(File.dirname(__FILE__) + \"/..\") + \"/test_helper\"", "require 'rexml/document'\ninclude REXML", "class BuildControllerTest < ActionController::IntegrationTest ", " fixtures :all", " def setup\n prepare_request_valid_user\n end", " def test_index\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [146, 39], "buggy_code_start_loc": [4, 39], "filenames": ["src/api/app/controllers/build_controller.rb", "src/api/test/functional/build_controller_test.rb"], "fixing_code_end_loc": [142, 66], "fixing_code_start_loc": [4, 40], "message": "A vulnerability in open build service allows remote attacke...
1,284
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: UTF-8", "require File.expand_path(File.dirname(__FILE__) + \"/..\") + \"/test_helper\"", "require 'rexml/document'\ninclude REXML", "class BuildControllerTest < ActionController::IntegrationTest ", " fixtures :all", " def setup\n prepare_request_valid_user\n end", " def test_index\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [146, 39], "buggy_code_start_loc": [4, 39], "filenames": ["src/api/app/controllers/build_controller.rb", "src/api/test/functional/build_controller_test.rb"], "fixing_code_end_loc": [142, 66], "fixing_code_start_loc": [4, 40], "message": "A vulnerability in open build service allows remote attacke...
1,284