Prusa MINI Firmware overview
connection.cpp File Reference
#include "connection.hpp"
#include <cstring>

Macros

#define LEN_ASSERT(len, p_len, fce)
 Supported function to buffer overflow vulnerability. More...
 

Variables

static const char * HTTP_10 = "HTTP/1.0"
 

Macro Definition Documentation

◆ LEN_ASSERT

#define LEN_ASSERT (   len,
  p_len,
  fce 
)
Value:
if (len > p_len) { \
lwsapi_error(fce ": End of line not found!"); \
return ERR_VAL; \
}

Supported function to buffer overflow vulnerability.

Variable Documentation

◆ HTTP_10

const char* HTTP_10 = "HTTP/1.0"
static
ERR_VAL
Definition: err.h:75