8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00

Fixed bug CORE-3440 : AV in engine if isc_que_events queued 0 events

This commit is contained in:
hvlad 2011-04-13 10:38:10 +00:00
parent e4aee883cb
commit 87bb408afc

View File

@ -278,7 +278,7 @@ SLONG EventManager::queEvents(SLONG session_id,
// Sanity check
if (events[0] != EPB_version1)
if (events_length && (!events || events[0] != EPB_version1))
{
Firebird::Arg::Gds(isc_bad_epb_form).raise();
}