SPARK-678 Dont' crash on null array
This commit is contained in:
1 parent
a3de83dd04
commit
adec1bdfd0
2 files changed
+16
-14
No files matched your search
@@ -176,7 +176,7 @@ void safe_call_subscription_callback(raw_subscription_callback cb, EventType typ
|
||||
if (updates.size() > 0)
|
||||
cb(type, &updates[0], updates.size(), extra);
|
||||
else
|
||||
cb(type, nullptr, updates.size(), extra);
|
||||
cb(type, nullptr, 0, extra);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user