libevent/libevent — pull request #151 by kuldeepgupta-samsung (2014-06-27 09:01:31+00:00)
Title: Update bufferevent_filter.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 )