Added two simple unit tests for illegal calls to mem_free()

This commit is contained in:
goldsimon
2017-09-25 21:38:00 +02:00
parent 5e187bb8bc
commit f058364d7f
3 changed files with 79 additions and 10 deletions

View File

@@ -70,4 +70,7 @@
/* MIB2 stats are required to check IPv4 reassembly results */
#define MIB2_STATS 1
/* Check lwip_stats.mem.illegal instead of asserting */
#define LWIP_MEM_ILLEGAL_FREE(msg) /* to nothing */
#endif /* LWIP_HDR_LWIPOPTS_H */