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:
David Cermak
2022-02-18 17:55:37 +01:00
committed by Simon Goldschmidt
parent d8d1e4a015
commit 6b734bbb2c
7 changed files with 94 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
#ifndef LWIP_HDR_TEST_PPPOS_H
#define LWIP_HDR_TEST_PPPOS_H
#include "../lwip_check.h"
#include "netif/ppp/ppp.h"
#if PPP_SUPPORT && PPPOS_SUPPORT
Suite* pppos_suite(void);
#endif /* PPP_SUPPORT && PPPOS_SUPPORT */
#endif /* LWIP_HDR_TEST_PPPOS_H */