Skip to content

Commit

Permalink
EntityBulker SIGSEGV when create_entry attr_count 0 (sonic-net#2224)
Browse files Browse the repository at this point in the history
*EntityBulker SIGSEGV when create_entry attr_count 0 (sonic-net#2224)
  • Loading branch information
arvbb committed Aug 31, 2022
1 parent f52a7b1 commit d41aebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/bulker.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class EntityBulker
auto& attrs = it->second.first;
attrs.insert(attrs.end(), attr_list, attr_list + attr_count);
it->second.second = object_status;
SWSS_LOG_INFO("EntityBulker.create_entry %zu, %zu, %d, %d\n", creating_entries.size(), it->second.first.size(), (int)it->second.first[0].id, inserted);
SWSS_LOG_INFO("EntityBulker.create_entry %zu, %zu, %d\n", creating_entries.size(), it->second.first.size(), inserted);
*object_status = SAI_STATUS_NOT_EXECUTED;
return *object_status;
}
Expand Down

0 comments on commit d41aebf

Please sign in to comment.