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:
parent
e4aee883cb
commit
87bb408afc
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user