Verify that state is not NULL before we dereference it in
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 23 May 2011 02:19:36 +0000 (12:19 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 23 May 2011 04:07:45 +0000 (14:07 +1000)
commitd97d550f93643b655a2f6b330c648108465641bd
tree706588b0705f05d9d65681700e5ab7ba85532f0c
parent41deae1d27e58cd7080d686bc47cad9f5d89bbc6
Verify that state is not NULL before we dereference it in
ctdb_event_script_hndler().

This should not be possible since hndler is called through an event that is a child of state itself.

CQ1023707
server/eventscript.c