From b03b688f2db181a4f457775179cfca42d4d02dec Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 27 Sep 2021 16:32:21 +0200 Subject: [PATCH] fix(core): avoid accidental build with broken stack protector (boardloader) --- core/embed/boardloader/.changelog.d/1642.security | 1 + core/embed/boardloader/main.c | 1 + 2 files changed, 2 insertions(+) create mode 100644 core/embed/boardloader/.changelog.d/1642.security diff --git a/core/embed/boardloader/.changelog.d/1642.security b/core/embed/boardloader/.changelog.d/1642.security new file mode 100644 index 000000000..cc5ff3093 --- /dev/null +++ b/core/embed/boardloader/.changelog.d/1642.security @@ -0,0 +1 @@ +Avoid accidental build with broken stack protector diff --git a/core/embed/boardloader/main.c b/core/embed/boardloader/main.c index ab1916334..f00d03dab 100644 --- a/core/embed/boardloader/main.c +++ b/core/embed/boardloader/main.c @@ -20,6 +20,7 @@ #include #include "common.h" +#include "compiler_traits.h" #include "display.h" #include "flash.h" #include "image.h"