From d41aebfd03e527f75315466bbaedd2f2e941a3be Mon Sep 17 00:00:00 2001 From: Arvind Bhat Date: Wed, 31 Aug 2022 09:05:06 -0700 Subject: [PATCH] EntityBulker SIGSEGV when create_entry attr_count 0 (#2224) *EntityBulker SIGSEGV when create_entry attr_count 0 (#2224) --- orchagent/bulker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchagent/bulker.h b/orchagent/bulker.h index 2ff86644acb3..bb5ca496c951 100644 --- a/orchagent/bulker.h +++ b/orchagent/bulker.h @@ -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; }