Skip to content

Commit 28a1b1c

Browse files
committed
limit possible recursions in tinycbor
1 parent 5738bcc commit 28a1b1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

targets/stm32l432/build/application.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,5 @@ cbor:
8484
cd ../../tinycbor/ && make clean
8585
cd ../../tinycbor/ && make CC="$(CC)" AR=$(AR) \
8686
LDFLAGS="$(LDFLAGS_LIB)" \
87-
CFLAGS="$(CFLAGS) -Os"
87+
CFLAGS="$(CFLAGS) -Os -DCBOR_PARSER_MAX_RECURSIONS=3"
88+

0 commit comments

Comments
 (0)