Skip to content

Commit

Permalink
Fixed bug CORE-3440 : AV in engine if isc_que_events queued 0 events
Browse files Browse the repository at this point in the history
  • Loading branch information
hvlad committed Apr 13, 2011
1 parent ea89513 commit 3cc1434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jrd/event.cpp
Expand Up @@ -283,7 +283,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();
}
Expand Down

0 comments on commit 3cc1434

Please sign in to comment.