The macro GWBUF_IS_CONTIGOUS() and the actual implementation gwbuf_is_contiguous() can only be called with a non-NULL pointer.
The macro GWBUF_IS_CONTIGOUS() and the actual implementation gwbuf_is_contiguous() can only be called with a non-NULL pointer.