mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-16 18:03:44 +08:00
PPP: Add test exhibiting empty packet null-deref
Also updates lcp.c to compile with PPP_AUTH_SUPPORT=0 in clang
This commit is contained in:
committed by
Simon Goldschmidt
parent
d8d1e4a015
commit
6b734bbb2c
@@ -16,6 +16,7 @@
|
||||
#include "mdns/test_mdns.h"
|
||||
#include "mqtt/test_mqtt.h"
|
||||
#include "api/test_sockets.h"
|
||||
#include "ppp/test_pppos.h"
|
||||
|
||||
#include "lwip/init.h"
|
||||
#if !NO_SYS
|
||||
@@ -89,6 +90,9 @@ int main(void)
|
||||
mdns_suite,
|
||||
mqtt_suite,
|
||||
sockets_suite
|
||||
#if PPP_SUPPORT && PPPOS_SUPPORT
|
||||
, pppos_suite
|
||||
#endif /* PPP_SUPPORT && PPPOS_SUPPORT */
|
||||
};
|
||||
size_t num = sizeof(suites)/sizeof(void*);
|
||||
LWIP_ASSERT("No suites defined", num > 0);
|
||||
|
||||
Reference in New Issue
Block a user