From bcb6c7a1d451d3996e2dd8825116492daffa4935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 4 Sep 2019 18:03:02 +0200 Subject: [PATCH 1/3] Create SECURITY.md --- SECURITY.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..8abfa9145 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,11 @@ +# Security Policy + +## Supported Versions + +Always update to the latest version of OctoPrint to keep up with security patches. + +## Reporting a Vulnerability + +Email to security@octoprint.org. + +For the sake of the userbase of OctoPrint please always disclose responsibly and with a 90+ day window. From 39e4cd313651da4e77e410a2a490239cbf641f16 Mon Sep 17 00:00:00 2001 From: Kelly Anderson Date: Sat, 9 Nov 2019 00:54:41 -0700 Subject: [PATCH 2/3] fix another dictionary changed size during iteration exception, possibly triggered only under python3 --- src/octoprint/server/util/flask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/server/util/flask.py b/src/octoprint/server/util/flask.py index f24e890ac..5b777838b 100644 --- a/src/octoprint/server/util/flask.py +++ b/src/octoprint/server/util/flask.py @@ -848,7 +848,7 @@ class PreemptiveCache(object): with self._lock: all_data = self.get_all_data() - for root, entries in all_data.items(): + for root, entries in list(all_data.items()): old_count = len(entries) entries = cleanup_function(root, entries) if not entries: From 2855b0e7a73b09bf419b9ca06356930c98e7fca3 Mon Sep 17 00:00:00 2001 From: Kelly Anderson Date: Sat, 9 Nov 2019 00:59:38 -0700 Subject: [PATCH 3/3] Add cbxbiker61 to AUTHORS.md --- AUTHORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.md b/AUTHORS.md index 38730e8d6..3f1e5836c 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -108,6 +108,7 @@ date of first contribution): * [Piotr Usewicz](https://github.com/pusewicz) * [Aliaksei Pilko](https://github.com/aliaksei135) * [Ben Yarmis](https://github.com/byarmis) + * [Kelly Anderson](https://github.com/cbxbiker61) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and