Add more packet splitting debug assertions
Having more debug assertions in functions that split packets guarantees that they work as expected.
This commit is contained in:
@ -795,6 +795,7 @@ gwbuf_make_contiguous(GWBUF *orig)
|
||||
|
||||
if (orig == NULL)
|
||||
{
|
||||
ss_info_dassert(!true, "gwbuf_make_contiguous: NULL buffer");
|
||||
return NULL;
|
||||
}
|
||||
if (orig->next == NULL)
|
||||
|
Reference in New Issue
Block a user