From eacc8571435a9580feb3f999a6c9c44dd57c2685 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sat, 15 May 2021 12:29:58 +0200 Subject: [PATCH] Added SECURITY.md --- SECURITY.md | 12 ++++++++++++ src/fwidget_functions.cpp | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..a2557ded --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,12 @@ +# Security policy + +## Dealing with security vulnerabilities + +There is no separate process for handling security vulnerabilities in FINAL CUT. Security vulnerabilities are fixed and published like all other bugs. Nevertheless, from the moment they are brought to our attention, we try to close them as soon as possible. + +## Reporting a security vulnerability + +Preferably report a vulnerability via email to "guru.mail" + "@" + "muenster.de" or open an issue in the GitHub repository, the latter meaning that you made the vulnerability public before it was fixed. + +If you already have a solution for the security problem, please submit a pull request. + diff --git a/src/fwidget_functions.cpp b/src/fwidget_functions.cpp index 4d915fd8..b21cfdd2 100644 --- a/src/fwidget_functions.cpp +++ b/src/fwidget_functions.cpp @@ -62,7 +62,7 @@ bool isInFWidgetList (const FWidget::FWidgetList* list, const FWidget* obj) return false; return std::any_of ( list->begin(), list->end() - , [&obj] (FWidget* w) { return w == obj; } ); + , [&obj] (const FWidget* w) { return w == obj; } ); } //----------------------------------------------------------------------