Check for blank key coming from client

This commit is contained in:
Jonathan Bennett
2024-08-13 22:34:21 -05:00
parent 2661fc694f
commit 8ce1c07c4e
3 changed files with 17 additions and 3 deletions

View File

@@ -14,4 +14,7 @@ template <class T> constexpr const T &clamp(const T &v, const T &lo, const T &hi
char *strnstr(const char *s, const char *find, size_t slen);
#endif
void printBytes(const char *label, const uint8_t *p, size_t numbytes);
void printBytes(const char *label, const uint8_t *p, size_t numbytes);
// is the memory region filled with a single character?
bool memfll(const uint8_t *mem, uint8_t find, size_t numbytes);