Details
Description
The user can provide anything to the LWIP API as argument. There should be checked, particularly argument used as pointer inside the functions.
Exemple in Lwip_PBuf.c:
size_t
LwIP_Buf_GetTotalLength(LWIP_PBUF_H hPBuf)
{
return hPBuf->tot_len;
}
Furthermore, the hPBuf argument is verified in other functions of this module. The behavior has to be consistent.