From 28a1b1cc060f07b8fa55a43468dae4e9b6dcedcd Mon Sep 17 00:00:00 2001 From: Conor Patrick Date: Thu, 27 Feb 2020 15:28:01 -0500 Subject: [PATCH] limit possible recursions in tinycbor --- targets/stm32l432/build/application.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/targets/stm32l432/build/application.mk b/targets/stm32l432/build/application.mk index 2f2733a2..71d45ae8 100644 --- a/targets/stm32l432/build/application.mk +++ b/targets/stm32l432/build/application.mk @@ -84,4 +84,5 @@ cbor: cd ../../tinycbor/ && make clean cd ../../tinycbor/ && make CC="$(CC)" AR=$(AR) \ LDFLAGS="$(LDFLAGS_LIB)" \ -CFLAGS="$(CFLAGS) -Os" +CFLAGS="$(CFLAGS) -Os -DCBOR_PARSER_MAX_RECURSIONS=3" +