Change-Id: I38861744fc1808d4d1efe40779af37733bcfbf39
j = _eo_callback_search_sorted_near(pd, cb);
// Adjust for both case of length == 0 and when priority is equal.
while ((j < pd->callbacks_count) &&
- (pd->callbacks[j]->priority >= cb->priority)) j++;
+ // TIZEN_ONLY(20221003): eo_base_class: Improved stability
+ (pd->callbacks[j] && pd->callbacks[j]->priority >= cb->priority)) j++;
// Increase the callbacks storage by 16 entries at a time
if (_eo_nostep_alloc || (pd->callbacks_count & 0xF) == 0x0)