Skip to content

Commit d41aebf

Browse files
authored
EntityBulker SIGSEGV when create_entry attr_count 0 (sonic-net#2224)
*EntityBulker SIGSEGV when create_entry attr_count 0 (sonic-net#2224)
1 parent f52a7b1 commit d41aebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchagent/bulker.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class EntityBulker
224224
auto& attrs = it->second.first;
225225
attrs.insert(attrs.end(), attr_list, attr_list + attr_count);
226226
it->second.second = object_status;
227-
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);
227+
SWSS_LOG_INFO("EntityBulker.create_entry %zu, %zu, %d\n", creating_entries.size(), it->second.first.size(), inserted);
228228
*object_status = SAI_STATUS_NOT_EXECUTED;
229229
return *object_status;
230230
}

0 commit comments

Comments
 (0)