Fix segv in ZOOM_connection_fire_event_socket YAZ-858
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 15 Sep 2015 08:13:27 +0000 (10:13 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 15 Sep 2015 08:13:27 +0000 (10:13 +0200)
commit1426a3da9b0390bb0d928a6ee56ebf5fa0ceb0ef
treed6aaa5d1eeb31e7393de0a9cad974278d8360a49
parent7c6b3363478950a3a5c7f448e5bfa6f4ea19fbab
Fix segv in ZOOM_connection_fire_event_socket YAZ-858

The odr_in memory taken by handle_srw_response, and, thus if result
set is destructed before we expect the HTTP response (hres) it may
be come invalid. Therefore we inspect hres before the call to
ZOOM_handle_sru.
src/zoom-c.c