]> granicus.if.org Git - libevent/commit
test: regression for evbuffer_expand_fast_() with invalid last_with_datap
authorAzat Khuzhin <azat@libevent.org>
Thu, 16 May 2019 06:42:41 +0000 (09:42 +0300)
committerAzat Khuzhin <azat@libevent.org>
Thu, 16 May 2019 07:16:21 +0000 (10:16 +0300)
commit244cacaf8ccfe8b8978df20791998bbc92225dc8
tree2a4608316adb727844fabf7d9d7ca0ef6b49e848
parent98ca307749606d4208c3f868fbc08de3a9f33994
test: regression for evbuffer_expand_fast_() with invalid last_with_datap

Before the fix:
  $ regress --no-fork evbuffer/reserve_invalid_last_with_datap
  evbuffer/empty_chain_expand: [err] ../buffer.c:2138: Assertion chain == buf->first failed in evbuffer_expand_fast_
  Aborted (core dumped)

This is the a shorter version of test from the #806 (with some
comments).
test/regress_buffer.c