libevent/libevent — pull request #152 by kuldeepgupta-samsung (2014-06-27 09:49:10+00:00)
Title: Update bufferevent_pair.c

Adding null check for buffer event filter pointer in below API's
static int be_filter_enable(struct bufferevent *bev, short event)
and
static int be_filter_disable(struct bufferevent *bev, short event)

before dereferencing the buffer event filter pointer we should check for null as upcast api might return null (buffer event filter pointer )