limit possible recursions in tinycbor

This commit is contained in:
Conor Patrick 2020-02-27 15:28:01 -05:00
parent 5738bcc7a3
commit 3340d479b6

View File

@ -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"