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.
[ "/**\n * Licensed to The Apereo Foundation under one or more contributor license\n * agreements. See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n *\n * The Apereo Foundation licenses this file to you under the Educational\n * Community License, Versi...
[ 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [205], "buggy_code_start_loc": [30], "filenames": ["modules/kernel/src/main/java/org/opencastproject/kernel/http/impl/HttpClientImpl.java"], "fixing_code_end_loc": [69], "fixing_code_start_loc": [29], "message": "Opencast before versions 8.9 and 7.9 disables HTTPS hostname verification of its HTT...
395
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * Licensed to The Apereo Foundation under one or more contributor license\n * agreements. See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n *\n * The Apereo Foundation licenses this file to you under the Educational\n * Community License, Versi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [205], "buggy_code_start_loc": [30], "filenames": ["modules/kernel/src/main/java/org/opencastproject/kernel/http/impl/HttpClientImpl.java"], "fixing_code_end_loc": [69], "fixing_code_start_loc": [29], "message": "Opencast before versions 8.9 and 7.9 disables HTTPS hostname verification of its HTT...
395
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [76, 228], "buggy_code_start_loc": [76, 228], "filenames": ["tensorflow/core/kernels/load_and_remap_matrix_op.cc", "tensorflow/python/kernel_tests/io_ops/checkpoint_ops_test.py"], "fixing_code_end_loc": [82, 255], "fixing_code_start_loc": [77, 229], "message": "TensorFlow is an open source platfo...
396
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 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": [76, 228], "buggy_code_start_loc": [76, 228], "filenames": ["tensorflow/core/kernels/load_and_remap_matrix_op.cc", "tensorflow/python/kernel_tests/io_ops/checkpoint_ops_test.py"], "fixing_code_end_loc": [82, 255], "fixing_code_start_loc": [77, 229], "message": "TensorFlow is an open source platfo...
396
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2017 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ...
[ 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": [76, 228], "buggy_code_start_loc": [76, 228], "filenames": ["tensorflow/core/kernels/load_and_remap_matrix_op.cc", "tensorflow/python/kernel_tests/io_ops/checkpoint_ops_test.py"], "fixing_code_end_loc": [82, 255], "fixing_code_start_loc": [77, 229], "message": "TensorFlow is an open source platfo...
396
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2017 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [76, 228], "buggy_code_start_loc": [76, 228], "filenames": ["tensorflow/core/kernels/load_and_remap_matrix_op.cc", "tensorflow/python/kernel_tests/io_ops/checkpoint_ops_test.py"], "fixing_code_end_loc": [82, 255], "fixing_code_start_loc": [77, 229], "message": "TensorFlow is an open source platfo...
396
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n#\n# CherryMusic - a standalone music server\n# Copyright (c) 2012 - 2015 Tom Wallroth & Tilman Boerner\n#\n# Project page:\n# http://fomori.org/cherrymusic/\n# Sources on github:\n# http://github.com/devsnd/cherrymusic/\n#\n# CherryMusic is based on\n# jPlaye...
[ 1, 1, 1, 1, 1, 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": [304, 567], "buggy_code_start_loc": [303, 565], "filenames": ["cherrymusicserver/httphandler.py", "res/js/playlistmanager.js"], "fixing_code_end_loc": [308, 568], "fixing_code_start_loc": [303, 565], "message": "Directory traversal vulnerability in Cherry Music before 0.36.0 allows remote authent...
397
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n#\n# CherryMusic - a standalone music server\n# Copyright (c) 2012 - 2015 Tom Wallroth & Tilman Boerner\n#\n# Project page:\n# http://fomori.org/cherrymusic/\n# Sources on github:\n# http://github.com/devsnd/cherrymusic/\n#\n# CherryMusic is based on\n# jPlaye...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [304, 567], "buggy_code_start_loc": [303, 565], "filenames": ["cherrymusicserver/httphandler.py", "res/js/playlistmanager.js"], "fixing_code_end_loc": [308, 568], "fixing_code_start_loc": [303, 565], "message": "Directory traversal vulnerability in Cherry Music before 0.36.0 allows remote authent...
397
Determine whether the {function_name} code is vulnerable or not.
[ "/* PLAYLIST CREATION AND MANAGEMENT */", "\nvar ManagedPlaylist = function(playlistManager, playlist, options){\n this.playlistManager = playlistManager;\n this.id = options.id;\n this.name = options.name;\n this.closable = options.closable;\n this.public = options.public;\n this.owner = option...
[ 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [304, 567], "buggy_code_start_loc": [303, 565], "filenames": ["cherrymusicserver/httphandler.py", "res/js/playlistmanager.js"], "fixing_code_end_loc": [308, 568], "fixing_code_start_loc": [303, 565], "message": "Directory traversal vulnerability in Cherry Music before 0.36.0 allows remote authent...
397
Determine whether the {function_name} code is vulnerable or not.
[ "/* PLAYLIST CREATION AND MANAGEMENT */", "\nvar ManagedPlaylist = function(playlistManager, playlist, options){\n this.playlistManager = playlistManager;\n this.id = options.id;\n this.name = options.name;\n this.closable = options.closable;\n this.public = options.public;\n this.owner = option...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [304, 567], "buggy_code_start_loc": [303, 565], "filenames": ["cherrymusicserver/httphandler.py", "res/js/playlistmanager.js"], "fixing_code_end_loc": [308, 568], "fixing_code_start_loc": [303, 565], "message": "Directory traversal vulnerability in Cherry Music before 0.36.0 allows remote authent...
397
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Performance events x86 architecture code\n *\n * Copyright (C) 2008 Thomas Gleixner <tglx@linutronix.de>\n * Copyright (C) 2008-2009 Red Hat, Inc., Ingo Molnar\n * Copyright (C) 2009 Jaswinder Singh Rajput\n * Copyright (C) 2009 Advanced Micro Devices, Inc., Robert Richter\n * Copyright (C) 2008-2009 R...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [916], "buggy_code_start_loc": [915], "filenames": ["arch/x86/kernel/cpu/perf_event.c"], "fixing_code_end_loc": [916], "fixing_code_start_loc": [915], "message": "The x86_assign_hw_event function in arch/x86/kernel/cpu/perf_event.c in the Performance Events subsystem in the Linux kernel before 2....
398
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Performance events x86 architecture code\n *\n * Copyright (C) 2008 Thomas Gleixner <tglx@linutronix.de>\n * Copyright (C) 2008-2009 Red Hat, Inc., Ingo Molnar\n * Copyright (C) 2009 Jaswinder Singh Rajput\n * Copyright (C) 2009 Advanced Micro Devices, Inc., Robert Richter\n * Copyright (C) 2008-2009 R...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [916], "buggy_code_start_loc": [915], "filenames": ["arch/x86/kernel/cpu/perf_event.c"], "fixing_code_end_loc": [916], "fixing_code_start_loc": [915], "message": "The x86_assign_hw_event function in arch/x86/kernel/cpu/perf_event.c in the Performance Events subsystem in the Linux kernel before 2....
398
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * nautilus-directory-async.c: Nautilus directory model state machine.\n *\n * Copyright (C) 1999, 2000, 2001 Eazel, Inc.\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 as\n * published by the Free Software Foundation; ...
[ 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, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * nautilus-directory-async.c: Nautilus directory model state machine.\n *\n * Copyright (C) 1999, 2000, 2001 Eazel, Inc.\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 as\n * published by the Free Software Foundation; ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/* nautilus-file-operations.c - Nautilus file operations.\n *\n * Copyright (C) 1999, 2000 Free Software Foundation\n * Copyright (C) 2000, 2001 Eazel, Inc.\n * Copyright (C) 2007 Red Hat, Inc.\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Gener...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/* nautilus-file-operations.c - Nautilus file operations.\n *\n * Copyright (C) 1999, 2000 Free Software Foundation\n * Copyright (C) 2000, 2001 Eazel, Inc.\n * Copyright (C) 2007 Red Hat, Inc.\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Gener...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/* nautilus-file-operations: execute file operations.", " Copyright (C) 1999, 2000 Free Software Foundation\n Copyright (C) 2000, 2001 Eazel, Inc.", " This program is free software; you can redistribute it and/or\n modify it under the terms of the GNU General Public License as\n published by the Free...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/* nautilus-file-operations: execute file operations.", " Copyright (C) 1999, 2000 Free Software Foundation\n Copyright (C) 2000, 2001 Eazel, Inc.", " This program is free software; you can redistribute it and/or\n modify it under the terms of the GNU General Public License as\n published by the Free...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/* nautilus-metadata.c - metadata utils\n *\n * Copyright (C) 2009 Red Hatl, Inc.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (...
[ 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/* nautilus-metadata.c - metadata utils\n *\n * Copyright (C) 2009 Red Hatl, Inc.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n nautilus-metadata.h: #defines and other metadata-related info\n \n Copyright (C) 2000 Eazel, Inc.\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 as\n published by the Free Software Foundation; either version 2 of the\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n nautilus-metadata.h: #defines and other metadata-related info\n \n Copyright (C) 2000 Eazel, Inc.\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 as\n published by the Free Software Foundation; either version 2 of the\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/* nautilus-mime-actions.c - uri-specific versions of mime action functions\n *\n * Copyright (C) 2000, 2001 Eazel, Inc.\n *\n * The Gnome Library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public License as\n * published by the Free Software Found...
[ 1, 1, 1, 1, 1, 1, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/* nautilus-mime-actions.c - uri-specific versions of mime action functions\n *\n * Copyright (C) 2000, 2001 Eazel, Inc.\n *\n * The Gnome Library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public License as\n * published by the Free Software Found...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3590, 8141, 154, 53, 69, 1604], "buggy_code_start_loc": [32, 238, 149, 53, 69, 44], "filenames": ["src/nautilus-directory-async.c", "src/nautilus-file-operations.c", "src/nautilus-file-operations.h", "src/nautilus-metadata.c", "src/nautilus-metadata.h", "src/nautilus-mime-actions.c"], "fixing_co...
399
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2007 Bobby Bingham\n * Copyright 2012 Robert Nagy <ronag89 gmail com>\n * Copyright 2012 Anton Khirnov <anton khirnov net>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [209], "buggy_code_start_loc": [208], "filenames": ["libavfilter/vf_fps.c"], "fixing_code_end_loc": [209], "fixing_code_start_loc": [208], "message": "The filter_frame function in libavfilter/vf_fps.c in FFmpeg before 2.1 does not properly ensure the availability of FIFO content, which allows rem...
400
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2007 Bobby Bingham\n * Copyright 2012 Robert Nagy <ronag89 gmail com>\n * Copyright 2012 Anton Khirnov <anton khirnov net>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [209], "buggy_code_start_loc": [208], "filenames": ["libavfilter/vf_fps.c"], "fixing_code_end_loc": [209], "fixing_code_start_loc": [208], "message": "The filter_frame function in libavfilter/vf_fps.c in FFmpeg before 2.1 does not properly ensure the availability of FIFO content, which allows rem...
400
Determine whether the {function_name} code is vulnerable or not.
[ "# Changelog", "", "\n## 3.3.1 - 2021-09-01", "### Fixes", "* In some situations it was possible for a relationship with just one selected document to list that document several times in the returned result, resulting in very large responses.\n* Permissions roles UI localized correctly.\n* Do not crash on s...
[ 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, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1, 1073, 130, 72], "buggy_code_start_loc": [1, 4, 130, 59], "filenames": ["CHANGELOG.md", "modules/@apostrophecms/attachment/index.js", "modules/@apostrophecms/i18n/i18n/en.json", "package.json"], "fixing_code_end_loc": [8, 1136, 132, 75], "fixing_code_start_loc": [2, 5, 131, 60], "message": "Ap...
401
Determine whether the {function_name} code is vulnerable or not.
[ "# Changelog", "\n## 3.3.2 - 2021-09-07", "### Security", "Users with permission to upload SVG files were previously able to do so even if they contained XSS attacks. In Apostrophe 3.x, the general public so far never has access to upload SVG files, so the risk is minor but could be used to phish access from ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1, 1073, 130, 72], "buggy_code_start_loc": [1, 4, 130, 59], "filenames": ["CHANGELOG.md", "modules/@apostrophecms/attachment/index.js", "modules/@apostrophecms/i18n/i18n/en.json", "package.json"], "fixing_code_end_loc": [8, 1136, 132, 75], "fixing_code_start_loc": [2, 5, 131, 60], "message": "Ap...
401
Determine whether the {function_name} code is vulnerable or not.
[ "const _ = require('lodash');\nconst path = require('path');\nconst fs = require('fs');\nconst Promise = require('bluebird');", "", "\nmodule.exports = {\n options: { alias: 'attachment' },\n cascades: [ 'imageSizes' ],\n imageSizes: {\n add: {\n max: {\n width: 1600,\n height: 1600\n ...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 1073, 130, 72], "buggy_code_start_loc": [1, 4, 130, 59], "filenames": ["CHANGELOG.md", "modules/@apostrophecms/attachment/index.js", "modules/@apostrophecms/i18n/i18n/en.json", "package.json"], "fixing_code_end_loc": [8, 1136, 132, 75], "fixing_code_start_loc": [2, 5, 131, 60], "message": "Ap...
401
Determine whether the {function_name} code is vulnerable or not.
[ "const _ = require('lodash');\nconst path = require('path');\nconst fs = require('fs');\nconst Promise = require('bluebird');", "const createDOMPurify = require('dompurify');\nconst { JSDOM } = require('jsdom');", "\nmodule.exports = {\n options: { alias: 'attachment' },\n cascades: [ 'imageSizes' ],\n image...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1, 1073, 130, 72], "buggy_code_start_loc": [1, 4, 130, 59], "filenames": ["CHANGELOG.md", "modules/@apostrophecms/attachment/index.js", "modules/@apostrophecms/i18n/i18n/en.json", "package.json"], "fixing_code_end_loc": [8, 1136, 132, 75], "fixing_code_start_loc": [2, 5, 131, 60], "message": "Ap...
401
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"addContent\": \"Add Content\",\n \"addItem\": \"Add Item\",\n \"addWidgetType\": \"Add {{ label }}\",\n \"admin\": \"Admin\",\n \"altText\": \"Alt Text\",\n \"altTextHelp\": \"Image description used for accessibility\",\n \"any\": \"Any\",\n \"apostropheAdminUi\": \"Apostrophe admin UI\",\n \"applyT...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 1073, 130, 72], "buggy_code_start_loc": [1, 4, 130, 59], "filenames": ["CHANGELOG.md", "modules/@apostrophecms/attachment/index.js", "modules/@apostrophecms/i18n/i18n/en.json", "package.json"], "fixing_code_end_loc": [8, 1136, 132, 75], "fixing_code_start_loc": [2, 5, 131, 60], "message": "Ap...
401
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"addContent\": \"Add Content\",\n \"addItem\": \"Add Item\",\n \"addWidgetType\": \"Add {{ label }}\",\n \"admin\": \"Admin\",\n \"altText\": \"Alt Text\",\n \"altTextHelp\": \"Image description used for accessibility\",\n \"any\": \"Any\",\n \"apostropheAdminUi\": \"Apostrophe admin UI\",\n \"applyT...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 1073, 130, 72], "buggy_code_start_loc": [1, 4, 130, 59], "filenames": ["CHANGELOG.md", "modules/@apostrophecms/attachment/index.js", "modules/@apostrophecms/i18n/i18n/en.json", "package.json"], "fixing_code_end_loc": [8, 1136, 132, 75], "fixing_code_start_loc": [2, 5, 131, 60], "message": "Ap...
401
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"apostrophe\",\n \"version\": \"3.3.1\",\n \"description\": \"The Apostrophe Content Management System.\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"pretest\": \"npm run lint && npm audit\",\n \"test\": \"nyc --reporter=html mocha -t 10000\",\n \"lint\": \"eslint . && node scripts...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 1073, 130, 72], "buggy_code_start_loc": [1, 4, 130, 59], "filenames": ["CHANGELOG.md", "modules/@apostrophecms/attachment/index.js", "modules/@apostrophecms/i18n/i18n/en.json", "package.json"], "fixing_code_end_loc": [8, 1136, 132, 75], "fixing_code_start_loc": [2, 5, 131, 60], "message": "Ap...
401
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"apostrophe\",\n \"version\": \"3.3.1\",\n \"description\": \"The Apostrophe Content Management System.\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"pretest\": \"npm run lint && npm audit\",\n \"test\": \"nyc --reporter=html mocha -t 10000\",\n \"lint\": \"eslint . && node scripts...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 1073, 130, 72], "buggy_code_start_loc": [1, 4, 130, 59], "filenames": ["CHANGELOG.md", "modules/@apostrophecms/attachment/index.js", "modules/@apostrophecms/i18n/i18n/en.json", "package.json"], "fixing_code_end_loc": [8, 1136, 132, 75], "fixing_code_start_loc": [2, 5, 131, 60], "message": "Ap...
401
Determine whether the {function_name} code is vulnerable or not.
[ "-module(yaws_cgi).\n-author('carsten@codimi.de').\n-author('brunorijsman@hotmail.com'). %% Added support for FastCGI", "-include(\"../include/yaws_api.hrl\").\n-include(\"yaws_debug.hrl\").\n-include(\"../include/yaws.hrl\").", "%%% Returns Out (i.e. same return values as out/1).\n%%%\n-export([call_cg...
[ 1, 1, 1, 1, 1, 1, 1, 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, 1, 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": [374], "buggy_code_start_loc": [371], "filenames": ["src/yaws_cgi.erl"], "fixing_code_end_loc": [385], "fixing_code_start_loc": [371], "message": "yaws before 2.0.4 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the pre...
402
Determine whether the {function_name} code is vulnerable or not.
[ "-module(yaws_cgi).\n-author('carsten@codimi.de').\n-author('brunorijsman@hotmail.com'). %% Added support for FastCGI", "-include(\"../include/yaws_api.hrl\").\n-include(\"yaws_debug.hrl\").\n-include(\"../include/yaws.hrl\").", "%%% Returns Out (i.e. same return values as out/1).\n%%%\n-export([call_cg...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [374], "buggy_code_start_loc": [371], "filenames": ["src/yaws_cgi.erl"], "fixing_code_end_loc": [385], "fixing_code_start_loc": [371], "message": "yaws before 2.0.4 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the pre...
402
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": [1773], "buggy_code_start_loc": [1767], "filenames": ["coders/pnm.c"], "fixing_code_end_loc": [1774], "fixing_code_start_loc": [1766], "message": "ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced assignment.", "other": {"cve": {"ci...
403
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": [1773], "buggy_code_start_loc": [1767], "filenames": ["coders/pnm.c"], "fixing_code_end_loc": [1774], "fixing_code_start_loc": [1766], "message": "ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced assignment.", "other": {"cve": {"ci...
403
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [171, 119], "buggy_code_start_loc": [171, 25], "filenames": ["xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/java/org/xwiki/rendering/internal/macro/context/ContextMacro.java", "xwiki-platform-core/xwiki-platform-render...
404
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 1, 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": [171, 119], "buggy_code_start_loc": [171, 25], "filenames": ["xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/java/org/xwiki/rendering/internal/macro/context/ContextMacro.java", "xwiki-platform-core/xwiki-platform-render...
404
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [171, 119], "buggy_code_start_loc": [171, 25], "filenames": ["xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/java/org/xwiki/rendering/internal/macro/context/ContextMacro.java", "xwiki-platform-core/xwiki-platform-render...
404
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [171, 119], "buggy_code_start_loc": [171, 25], "filenames": ["xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/java/org/xwiki/rendering/internal/macro/context/ContextMacro.java", "xwiki-platform-core/xwiki-platform-render...
404
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "", "\n$year = date('Y',time());\n$gallery_id = 'gallery'. (int) $_REQUEST['gal'];\n$uploads_dir = '../../content/galleries/'.$year.'/'.$gallery_id;", "$max_width = (int) $_REQUEST['w']; // max image width\n$max_height = (int) $_REQUEST['h']; // max image height\n$max_width_tmb = (int) $_REQUEST['w_t...
[ 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 28], "buggy_code_start_loc": [1, 5], "filenames": ["acp/core/files.upload_gallery.php", "acp/templates/gallery_upload_form.tpl"], "fixing_code_end_loc": [67, 29], "fixing_code_start_loc": [2, 5], "message": "flatcore-cms is vulnerable to Unrestricted Upload of File with Dangerous Type", "oth...
405
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "\nsession_start();", "if($_SESSION['user_class'] != \"administrator\"){\n\theader(\"location:../index.php\");\n\tdie(\"PERMISSION DENIED!\");\n}", "require '../../config.php';\nif(is_file('../../'.FC_CONTENT_DIR.'/config.php')) {\n\tinclude '../../'.FC_CONTENT_DIR.'/config.php';\n}", "if($_POST['c...
[ 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": [44, 28], "buggy_code_start_loc": [1, 5], "filenames": ["acp/core/files.upload_gallery.php", "acp/templates/gallery_upload_form.tpl"], "fixing_code_end_loc": [67, 29], "fixing_code_start_loc": [2, 5], "message": "flatcore-cms is vulnerable to Unrestricted Upload of File with Dangerous Type", "oth...
405
Determine whether the {function_name} code is vulnerable or not.
[ "<div class=\"modal fade\" id=\"uploadGalModal\" tabindex=\"-1\" role=\"dialog\">\n <div class=\"modal-dialog modal-lg modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">", " <h5 class=\"modal-title\">Upload into {post_id}</h5>", " <bu...
[ 1, 0, 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 28], "buggy_code_start_loc": [1, 5], "filenames": ["acp/core/files.upload_gallery.php", "acp/templates/gallery_upload_form.tpl"], "fixing_code_end_loc": [67, 29], "fixing_code_start_loc": [2, 5], "message": "flatcore-cms is vulnerable to Unrestricted Upload of File with Dangerous Type", "oth...
405
Determine whether the {function_name} code is vulnerable or not.
[ "<div class=\"modal fade\" id=\"uploadGalModal\" tabindex=\"-1\" role=\"dialog\">\n <div class=\"modal-dialog modal-lg modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">", " <h5 class=\"modal-title\">Upload into Gallery ID #{post_id}</h5>", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [44, 28], "buggy_code_start_loc": [1, 5], "filenames": ["acp/core/files.upload_gallery.php", "acp/templates/gallery_upload_form.tpl"], "fixing_code_end_loc": [67, 29], "fixing_code_start_loc": [2, 5], "message": "flatcore-cms is vulnerable to Unrestricted Upload of File with Dangerous Type", "oth...
405
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Tests for miscellaneous functions.\n * @package tests\n */", "/**\n * SimpleTest config\n */\nrequire_once( dirname(__FILE__).'/../../config.simpletest.php' );", "global $inc_path;", "load_funcs('antispam/model/_antispam.funcs.php');\nload_funcs('_core/_url.funcs.php');", "\n/**\n * @package...
[ 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, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 1329], "buggy_code_start_loc": [56, 1324], "filenames": ["_tests/blogs/evocore/misc.funcs.simpletest.php", "inc/_core/_misc.funcs.php"], "fixing_code_end_loc": [60, 1329], "fixing_code_start_loc": [57, 1324], "message": "Cross-site scripting (XSS) vulnerability in b2evolution 6.7.5 and earli...
406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Tests for miscellaneous functions.\n * @package tests\n */", "/**\n * SimpleTest config\n */\nrequire_once( dirname(__FILE__).'/../../config.simpletest.php' );", "global $inc_path;", "load_funcs('antispam/model/_antispam.funcs.php');\nload_funcs('_core/_url.funcs.php');", "\n/**\n * @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, 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": [56, 1329], "buggy_code_start_loc": [56, 1324], "filenames": ["_tests/blogs/evocore/misc.funcs.simpletest.php", "inc/_core/_misc.funcs.php"], "fixing_code_end_loc": [60, 1329], "fixing_code_start_loc": [57, 1324], "message": "Cross-site scripting (XSS) vulnerability in b2evolution 6.7.5 and earli...
406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * This file implements general purpose functions.\n *\n * This file is part of the evoCore framework - {@link http://evocore.net/}\n * See also {@link https://github.com/b2evolution/b2evolution}.\n *\n * @license GNU GPL v2 - {@link http://b2evolution.net/about/gnu-gpl-license}\n *\n * @copyright (c)2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [56, 1329], "buggy_code_start_loc": [56, 1324], "filenames": ["_tests/blogs/evocore/misc.funcs.simpletest.php", "inc/_core/_misc.funcs.php"], "fixing_code_end_loc": [60, 1329], "fixing_code_start_loc": [57, 1324], "message": "Cross-site scripting (XSS) vulnerability in b2evolution 6.7.5 and earli...
406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * This file implements general purpose functions.\n *\n * This file is part of the evoCore framework - {@link http://evocore.net/}\n * See also {@link https://github.com/b2evolution/b2evolution}.\n *\n * @license GNU GPL v2 - {@link http://b2evolution.net/about/gnu-gpl-license}\n *\n * @copyright (c)2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [56, 1329], "buggy_code_start_loc": [56, 1324], "filenames": ["_tests/blogs/evocore/misc.funcs.simpletest.php", "inc/_core/_misc.funcs.php"], "fixing_code_end_loc": [60, 1329], "fixing_code_start_loc": [57, 1324], "message": "Cross-site scripting (XSS) vulnerability in b2evolution 6.7.5 and earli...
406
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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1518, 782], "buggy_code_start_loc": [1517, 780], "filenames": ["coders/bmp.c", "coders/viff.c"], "fixing_code_end_loc": [1518, 782], "fixing_code_start_loc": [1517, 780], "message": "ImageMagick before 7.0.8-50 has a memory leak vulnerability in the function ReadVIFFImage in coders/viff.c.", "ot...
407
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": [1518, 782], "buggy_code_start_loc": [1517, 780], "filenames": ["coders/bmp.c", "coders/viff.c"], "fixing_code_end_loc": [1518, 782], "fixing_code_start_loc": [1517, 780], "message": "ImageMagick before 7.0.8-50 has a memory leak vulnerability in the function ReadVIFFImage in coders/viff.c.", "ot...
407
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, 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": [1518, 782], "buggy_code_start_loc": [1517, 780], "filenames": ["coders/bmp.c", "coders/viff.c"], "fixing_code_end_loc": [1518, 782], "fixing_code_start_loc": [1517, 780], "message": "ImageMagick before 7.0.8-50 has a memory leak vulnerability in the function ReadVIFFImage in coders/viff.c.", "ot...
407
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 ]
PreciseBugs
{"buggy_code_end_loc": [1518, 782], "buggy_code_start_loc": [1517, 780], "filenames": ["coders/bmp.c", "coders/viff.c"], "fixing_code_end_loc": [1518, 782], "fixing_code_start_loc": [1517, 780], "message": "ImageMagick before 7.0.8-50 has a memory leak vulnerability in the function ReadVIFFImage in coders/viff.c.", "ot...
407
Determine whether the {function_name} code is vulnerable or not.
[ "/* Apache 2.0 - Copyright 2007-2022 - pancake and dso\n class.c rewrite: Adam Pridgen <dso@rice.edu || adam.pridgen@thecoverofnight.com>\n */\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <stdarg.h>\n#include <r_types.h>\n#include <r_util.h>\n#include <r_bin.h>\n#include <math.h>\n#incl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [7015], "buggy_code_start_loc": [3629], "filenames": ["shlr/java/class.c"], "fixing_code_end_loc": [7031], "fixing_code_start_loc": [3630], "message": "Access of Memory Location After End of Buffer in GitHub repository radareorg/radare2 prior to 5.6.2.", "other": {"cve": {"cisaActionDue": null, "...
408
Determine whether the {function_name} code is vulnerable or not.
[ "/* Apache 2.0 - Copyright 2007-2022 - pancake and dso\n class.c rewrite: Adam Pridgen <dso@rice.edu || adam.pridgen@thecoverofnight.com>\n */\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <stdarg.h>\n#include <r_types.h>\n#include <r_util.h>\n#include <r_bin.h>\n#include <math.h>\n#incl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [7015], "buggy_code_start_loc": [3629], "filenames": ["shlr/java/class.c"], "fixing_code_end_loc": [7031], "fixing_code_start_loc": [3630], "message": "Access of Memory Location After End of Buffer in GitHub repository radareorg/radare2 prior to 5.6.2.", "other": {"cve": {"cisaActionDue": null, "...
408
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n# MantisBT - A PHP based bugtracking system", "# MantisBT 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 2 of the License, or\n# (at your option) any later version.\n#\n# Mantis...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [128], "buggy_code_start_loc": [127], "filenames": ["manage_filter_edit_page.php"], "fixing_code_end_loc": [128], "fixing_code_start_loc": [127], "message": "An issue was discovered in manage_filter_edit_page.php in MantisBT 2.x through 2.15.0. A cross-site scripting (XSS) vulnerability in the Ed...
409
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n# MantisBT - A PHP based bugtracking system", "# MantisBT 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 2 of the License, or\n# (at your option) any later version.\n#\n# Mantis...
[ 1, 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": [128], "buggy_code_start_loc": [127], "filenames": ["manage_filter_edit_page.php"], "fixing_code_end_loc": [128], "fixing_code_start_loc": [127], "message": "An issue was discovered in manage_filter_edit_page.php in MantisBT 2.x through 2.15.0. A cross-site scripting (XSS) vulnerability in the Ed...
409
Determine whether the {function_name} code is vulnerable or not.
[ "---@declare-global\n-- The global sync table is copied to the user layer every time the main and sim threads are\n-- synchronized on the sim beat (which is like a tick but happens even when the game is paused)\nSync = {}", "-- UnitData that has been synced. We keep a separate copy of this so when we change\n-- f...
[ 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, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "---@declare-global\n-- The global sync table is copied to the user layer every time the main and sim threads are\n-- synchronized on the sim beat (which is like a tick but happens even when the game is paused)\nSync = {}", "-- UnitData that has been synced. We keep a separate copy of this so when we change\n-- f...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "-- Copyright © 2005 Gas Powered Games, Inc. All rights reserved.\n--\n-- General Sim scripts", "-- ==============================================================================\n-- Diplomacy\n-- ==============================================================================", "local CreateWreckage = import(\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "-- Copyright © 2005 Gas Powered Games, Inc. All rights reserved.\n--\n-- General Sim scripts", "-- ==============================================================================\n-- Diplomacy\n-- ==============================================================================", "local CreateWreckage = import(\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "", "doscript \"/lua/shared/RecallParams.lua\"\n", "---@alias CannotRecallReason \"active\" | \"ai\" | \"gate\" | \"request\" | \"scenario\" | \"vote\" | false", "\nfunction init()", "", " for _, brain in ArmyBrains do", " brain.LastRecallRequestTime = PlayerGateCooldown - PlayerRequestCooldow...
[ 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0...
PreciseBugs
{"buggy_code_end_loc": [134, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "-- import recall parameters", "doscript \"/lua/shared/RecallParams.lua\"\n", "local SyncAnnouncement = import(\"/lua/simdiplomacy.lua\").SyncAnnouncement", "\n---@alias CannotRecallReason false\n---| \"active\"\n---| \"ai\"\n---| \"gate\"\n---| \"request\"\n---| \"scenario\"\n---| \"vote\"\n---| \"observer\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "--*****************************************************************************\n--* File: lua/modules/ui/game/diplomacy.lua\n--* Summary: UI for the diplomacy control\n--*\n--* Copyright © 2006 Gas Powered Games, Inc. All rights reserved.\n--***********************************************************************...
[ 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, 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, 0, 1, 0, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [134, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "--*****************************************************************************\n--* File: lua/modules/ui/game/diplomacy.lua\n--* Summary: UI for the diplomacy control\n--*\n--* Copyright © 2006 Gas Powered Games, Inc. All rights reserved.\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": [134, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "local LayoutHelpers = import(\"/lua/maui/layouthelpers.lua\")\nlocal NinePatch = import(\"/lua/ui/controls/ninepatch.lua\")\nlocal Prefs = import(\"/lua/user/prefs.lua\")\nlocal Tooltip = import(\"/lua/ui/game/tooltip.lua\")\nlocal UIUtil = import(\"/lua/ui/uiutil.lua\")", "local Dragger = import(\"/lua/maui/dra...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 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, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [134, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "local LayoutHelpers = import(\"/lua/maui/layouthelpers.lua\")\nlocal NinePatch = import(\"/lua/ui/controls/ninepatch.lua\")\nlocal Prefs = import(\"/lua/user/prefs.lua\")\nlocal Tooltip = import(\"/lua/ui/game/tooltip.lua\")\nlocal UIUtil = import(\"/lua/ui/uiutil.lua\")", "local Dragger = import(\"/lua/maui/dra...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 259, 464, 388], "buggy_code_start_loc": [127, 705, 1, 39, 61], "filenames": ["lua/SimSync.lua", "lua/SimUtils.lua", "lua/sim/Recall.lua", "lua/ui/game/diplomacy.lua", "lua/ui/game/recall.lua"], "fixing_code_end_loc": [133, 707, 417, 477, 401], "fixing_code_start_loc": [128, 706, 2, 39,...
410
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0-only\n/*\n * net/ipv6/fib6_rules.c\tIPv6 Routing Policy Rules\n *\n * Copyright (C)2003-2006 Helsinki University of Technology\n * Copyright (C)2003-2006 USAGI/WIDE Project\n *\n * Authors\n *\tThomas Graf\t\t<tgraf@suug.ch>\n *\tVille Nuorvala\t\t<vnuorval@tcs.hut.fi>\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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [291, 1595], "buggy_code_start_loc": [290, 12], "filenames": ["net/ipv6/fib6_rules.c", "tools/testing/selftests/net/fib_tests.sh"], "fixing_code_end_loc": [292, 1611], "fixing_code_start_loc": [290, 12], "message": "In the Linux kernel before 5.3.4, a reference count usage error in the fib6_rule_...
411
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0-only\n/*\n * net/ipv6/fib6_rules.c\tIPv6 Routing Policy Rules\n *\n * Copyright (C)2003-2006 Helsinki University of Technology\n * Copyright (C)2003-2006 USAGI/WIDE Project\n *\n * Authors\n *\tThomas Graf\t\t<tgraf@suug.ch>\n *\tVille Nuorvala\t\t<vnuorval@tcs.hut.fi>\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": [291, 1595], "buggy_code_start_loc": [290, 12], "filenames": ["net/ipv6/fib6_rules.c", "tools/testing/selftests/net/fib_tests.sh"], "fixing_code_end_loc": [292, 1611], "fixing_code_start_loc": [290, 12], "message": "In the Linux kernel before 5.3.4, a reference count usage error in the fib6_rule_...
411
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/bash\n# SPDX-License-Identifier: GPL-2.0", "# This test is for checking IPv4 and IPv6 FIB behavior in response to\n# different events.", "ret=0\n# Kselftest framework requirement - SKIP code is 4.\nksft_skip=4", "# all tests in this script. Can be overridden with -t option", "TESTS=\"unregister down...
[ 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, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [291, 1595], "buggy_code_start_loc": [290, 12], "filenames": ["net/ipv6/fib6_rules.c", "tools/testing/selftests/net/fib_tests.sh"], "fixing_code_end_loc": [292, 1611], "fixing_code_start_loc": [290, 12], "message": "In the Linux kernel before 5.3.4, a reference count usage error in the fib6_rule_...
411
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/bash\n# SPDX-License-Identifier: GPL-2.0", "# This test is for checking IPv4 and IPv6 FIB behavior in response to\n# different events.", "ret=0\n# Kselftest framework requirement - SKIP code is 4.\nksft_skip=4", "# all tests in this script. Can be overridden with -t option", "TESTS=\"unregister down...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [291, 1595], "buggy_code_start_loc": [290, 12], "filenames": ["net/ipv6/fib6_rules.c", "tools/testing/selftests/net/fib_tests.sh"], "fixing_code_end_loc": [292, 1611], "fixing_code_start_loc": [290, 12], "message": "In the Linux kernel before 5.3.4, a reference count usage error in the fib6_rule_...
411
Determine whether the {function_name} code is vulnerable or not.
[ "/* mqtt_client.c\n *\n * Copyright (C) 2006-2021 wolfSSL Inc.\n *\n * This file is part of wolfMQTT.\n *\n * wolfMQTT 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 2 of the License, o...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [911], "buggy_code_start_loc": [909], "filenames": ["src/mqtt_client.c"], "fixing_code_end_loc": [912], "fixing_code_start_loc": [909], "message": "wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_HandlePacket and MqttClient_WaitType).", "ot...
412
Determine whether the {function_name} code is vulnerable or not.
[ "/* mqtt_client.c\n *\n * Copyright (C) 2006-2021 wolfSSL Inc.\n *\n * This file is part of wolfMQTT.\n *\n * wolfMQTT 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 2 of the License, o...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [911], "buggy_code_start_loc": [909], "filenames": ["src/mqtt_client.c"], "fixing_code_end_loc": [912], "fixing_code_start_loc": [909], "message": "wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_HandlePacket and MqttClient_WaitType).", "ot...
412
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"trilium\",", " \"version\": \"0.52.1-beta\",", " \"lockfileVersion\": 2,\n \"requires\": true,\n \"packages\": {\n \"\": {\n \"name\": \"trilium\",", " \"version\": \"0.52.1-beta\",", " \"hasInstallScript\": true,\n \"license\": \"AGPL-3.0-only\",\n \"depend...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"trilium\",", " \"version\": \"0.52.3\",", " \"lockfileVersion\": 2,\n \"requires\": true,\n \"packages\": {\n \"\": {\n \"name\": \"trilium\",", " \"version\": \"0.52.3\",", " \"hasInstallScript\": true,\n \"license\": \"AGPL-3.0-only\",\n \"dependencies\": ...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const zipExportService = require('../../services/export/zip');\nconst singleExportService = require('../../services/export/single');\nconst opmlExportService = require('../../services/export/opml');\nconst becca = require('../../becca/becca');\nconst TaskContext = require(\"../../services/task...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const zipExportService = require('../../services/export/zip');\nconst singleExportService = require('../../services/export/single');\nconst opmlExportService = require('../../services/export/opml');\nconst becca = require('../../becca/becca');\nconst TaskContext = require(\"../../services/task...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const protectedSessionService = require('../../services/protected_session');\nconst utils = require('../../services/utils');\nconst log = require('../../services/log');\nconst noteRevisionService = require('../../services/note_revisions');\nconst tmp = require('tmp');\nconst fs = require('fs')...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const protectedSessionService = require('../../services/protected_session');\nconst utils = require('../../services/utils');\nconst log = require('../../services/log');\nconst noteRevisionService = require('../../services/note_revisions');\nconst tmp = require('tmp');\nconst fs = require('fs')...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const imageService = require('../../services/image');\nconst becca = require('../../becca/becca');\nconst RESOURCE_DIR = require('../../services/resource_dir').RESOURCE_DIR;\nconst fs = require('fs');", "function returnImage(req, res) {\n const image = becca.getNote(req.params.noteId);", ...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const imageService = require('../../services/image');\nconst becca = require('../../becca/becca');\nconst RESOURCE_DIR = require('../../services/resource_dir').RESOURCE_DIR;\nconst fs = require('fs');", "function returnImage(req, res) {\n const image = becca.getNote(req.params.noteId);", ...
[ 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": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const beccaService = require('../../becca/becca_service');\nconst protectedSessionService = require('../../services/protected_session');\nconst noteRevisionService = require('../../services/note_revisions');\nconst utils = require('../../services/utils');\nconst sql = require('../../services/s...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const beccaService = require('../../becca/becca_service');\nconst protectedSessionService = require('../../services/protected_session');\nconst noteRevisionService = require('../../services/note_revisions');\nconst utils = require('../../services/utils');\nconst sql = require('../../services/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 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "const log = require('../services/log');\nconst fileUploadService = require('./api/files');\nconst scriptService = require('../services/script');\nconst cls = require('../services/cls');\nconst sql = require(\"../services/sql\");\nconst becca = require(\"../becca/becca\");", "function handleRequest(req, res) {\n ...
[ 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": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "const log = require('../services/log');\nconst fileUploadService = require('./api/files');\nconst scriptService = require('../services/script');\nconst cls = require('../services/cls');\nconst sql = require(\"../services/sql\");\nconst becca = require(\"../becca/becca\");", "function handleRequest(req, res) {\n ...
[ 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": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const setupRoute = require('./setup');\nconst loginRoute = require('./login');\nconst indexRoute = require('./index');\nconst utils = require('../services/utils');\nconst multer = require('multer')();", "// API routes\nconst treeApiRoute = require('./api/tree');\nconst notesApiRoute = requir...
[ 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, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const setupRoute = require('./setup');\nconst loginRoute = require('./login');\nconst indexRoute = require('./index');\nconst utils = require('../services/utils');\nconst multer = require('multer')();", "// API routes\nconst treeApiRoute = require('./api/tree');\nconst notesApiRoute = requir...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const etapiTokenService = require(\"./etapi_tokens\");\nconst log = require('./log');\nconst sqlInit = require('./sql_init');\nconst utils = require('./utils');\nconst passwordEncryptionService = require('./password_encryption');\nconst config = require('./config');\nconst passwordService = re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\";", "const etapiTokenService = require(\"./etapi_tokens\");\nconst log = require('./log');\nconst sqlInit = require('./sql_init');\nconst utils = require('./utils');\nconst passwordEncryptionService = require('./password_encryption');\nconst config = require('./config');\nconst passwordService = re...
[ 1, 1, 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": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "const express = require('express');\nconst path = require('path');", "const shaca = require(\"./shaca/shaca\");\nconst shacaLoader = require(\"./shaca/shaca_loader\");\nconst shareRoot = require(\"./share_root\");\nconst contentRenderer = require(\"./content_renderer\");", "function getSharedSubTreeRoot(note) ...
[ 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, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "const express = require('express');\nconst path = require('path');", "const shaca = require(\"./shaca/shaca\");\nconst shacaLoader = require(\"./shaca/shaca_loader\");\nconst shareRoot = require(\"./share_root\");\nconst contentRenderer = require(\"./content_renderer\");", "function getSharedSubTreeRoot(note) ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [10, 45, 52, 37, 73, 69, 184, 113, 163], "buggy_code_start_loc": [3, 18, 51, 23, 68, 52, 122, 91, 42], "filenames": ["package-lock.json", "src/routes/api/export.js", "src/routes/api/files.js", "src/routes/api/image.js", "src/routes/api/note_revisions.js", "src/routes/custom.js", "src/routes/route...
413
Determine whether the {function_name} code is vulnerable or not.
[ "import express from 'express'\nimport { body, param, query } from 'express-validator'\nimport { MUserAccountUrl } from '@server/types/models'\nimport { UserRight } from '../../../../shared'\nimport { HttpStatusCode } from '../../../../shared/models/http/http-error-codes'\nimport { exists, isBooleanValid, isIdValid...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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 ]
PreciseBugs
{"buggy_code_end_loc": [66, 102], "buggy_code_start_loc": [12, 17], "filenames": ["server/middlewares/validators/videos/video-comments.ts", "server/tests/api/check-params/video-comments.ts"], "fixing_code_end_loc": [88, 164], "fixing_code_start_loc": [12, 17], "message": "peertube is vulnerable to Improper Access Contr...
414
Determine whether the {function_name} code is vulnerable or not.
[ "import express from 'express'\nimport { body, param, query } from 'express-validator'\nimport { MUserAccountUrl } from '@server/types/models'\nimport { UserRight } from '../../../../shared'\nimport { HttpStatusCode } from '../../../../shared/models/http/http-error-codes'\nimport { exists, isBooleanValid, isIdValid...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [66, 102], "buggy_code_start_loc": [12, 17], "filenames": ["server/middlewares/validators/videos/video-comments.ts", "server/tests/api/check-params/video-comments.ts"], "fixing_code_end_loc": [88, 164], "fixing_code_start_loc": [12, 17], "message": "peertube is vulnerable to Improper Access Contr...
414
Determine whether the {function_name} code is vulnerable or not.
[ "/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */", "import 'mocha'\nimport * as chai from 'chai'\nimport {\n checkBadCountPagination,\n checkBadSortPagination,\n checkBadStartPagination,\n cleanupTests,\n createSingleServer,\n makeDeleteRequest,\n makeGetReque...
[ 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [66, 102], "buggy_code_start_loc": [12, 17], "filenames": ["server/middlewares/validators/videos/video-comments.ts", "server/tests/api/check-params/video-comments.ts"], "fixing_code_end_loc": [88, 164], "fixing_code_start_loc": [12, 17], "message": "peertube is vulnerable to Improper Access Contr...
414
Determine whether the {function_name} code is vulnerable or not.
[ "/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */", "import 'mocha'\nimport * as chai from 'chai'\nimport {\n checkBadCountPagination,\n checkBadSortPagination,\n checkBadStartPagination,\n cleanupTests,\n createSingleServer,\n makeDeleteRequest,\n makeGetReque...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [66, 102], "buggy_code_start_loc": [12, 17], "filenames": ["server/middlewares/validators/videos/video-comments.ts", "server/tests/api/check-params/video-comments.ts"], "fixing_code_end_loc": [88, 164], "fixing_code_start_loc": [12, 17], "message": "peertube is vulnerable to Improper Access Contr...
414
Determine whether the {function_name} code is vulnerable or not.
[ "# Changes in HTMLDOC v1.9.13", "- Now install a 32x32 icon for Linux (Issue #432)\n- Fixed an issue with large values for roman numerals and letters in headings\n (Issue #433)\n- Fixed a crash bug when a HTML comment contains an invalid nul character\n (Issue #439)\n- Fixed a crash bug with bogus BMP images (I...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [8, 927], "buggy_code_start_loc": [8, 921], "filenames": ["CHANGES.md", "htmldoc/image.cxx"], "fixing_code_end_loc": [10, 932], "fixing_code_start_loc": [9, 922], "message": "A stack-based buffer overflow in image_load_bmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim conv...
415
Determine whether the {function_name} code is vulnerable or not.
[ "# Changes in HTMLDOC v1.9.13", "- Now install a 32x32 icon for Linux (Issue #432)\n- Fixed an issue with large values for roman numerals and letters in headings\n (Issue #433)\n- Fixed a crash bug when a HTML comment contains an invalid nul character\n (Issue #439)\n- Fixed a crash bug with bogus BMP images (I...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [8, 927], "buggy_code_start_loc": [8, 921], "filenames": ["CHANGES.md", "htmldoc/image.cxx"], "fixing_code_end_loc": [10, 932], "fixing_code_start_loc": [9, 922], "message": "A stack-based buffer overflow in image_load_bmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim conv...
415
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Image handling routines for HTMLDOC, a HTML document processing program.\n *\n * Copyright © 2011-2021 by Michael R Sweet.\n * Copyright © 1997-2010 by Easy Software Products. All rights reserved.\n *\n * This program is free software. Distribution and use rights are outlined in\n * the file \"COPYING\".\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [8, 927], "buggy_code_start_loc": [8, 921], "filenames": ["CHANGES.md", "htmldoc/image.cxx"], "fixing_code_end_loc": [10, 932], "fixing_code_start_loc": [9, 922], "message": "A stack-based buffer overflow in image_load_bmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim conv...
415
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Image handling routines for HTMLDOC, a HTML document processing program.\n *\n * Copyright © 2011-2021 by Michael R Sweet.\n * Copyright © 1997-2010 by Easy Software Products. All rights reserved.\n *\n * This program is free software. Distribution and use rights are outlined in\n * the file \"COPYING\".\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [8, 927], "buggy_code_start_loc": [8, 921], "filenames": ["CHANGES.md", "htmldoc/image.cxx"], "fixing_code_end_loc": [10, 932], "fixing_code_start_loc": [9, 922], "message": "A stack-based buffer overflow in image_load_bmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim conv...
415