diff options
-rw-r--r-- | src/cli.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -40,6 +40,7 @@ #include <fcntl.h> #include <netdb.h> #include <ctype.h> +#include <assert.h> /* Get TCP_FASTOPEN */ #ifdef HAVE_NETINET_TCP_H @@ -914,6 +915,8 @@ bool parse_for_inline_commands_in_buffer(char *buffer, size_t bytes, inline_cmds->new_buffer_ptr = buffer + bytes; } + assert(local_buffer_ptr != NULL); + inline_cmds->current_ptr = local_buffer_ptr; if (local_buffer_ptr[0] == inline_commands_prefix[0] |