Skip to content

Commit

Permalink
limit possible recursions in tinycbor
Browse files Browse the repository at this point in the history
  • Loading branch information
conorpp committed Feb 27, 2020
1 parent 5738bcc commit 28a1b1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion targets/stm32l432/build/application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 28a1b1c

Please sign in to comment.