Vidya.Thumukunta@ibm.com has uploaded this change for review.

View Change

Fix Coverity issues: CID 583547, 542655, 509140

583547: Added NULL check for calloc return in node_names allocation
542655: Used std::move(input) to avoid unnecessary copy in trimIPv6Prefix()
509140: Used std::move(get_value) in SimpleMap constructor to prevent redundant copy

Change-Id: I7915593cd7ab545eb55bc896a7e04ccd03c16edb
Signed-off-by: VidyaThumukunta <Vidya.Thumukunta@ibm.com>
---
M src/monitoring/dynamic_metrics.cc
M src/tools/ganesha-rados-grace.c
2 files changed, 8 insertions(+), 2 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/86/1225086/1

To view, visit change 1225086. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I7915593cd7ab545eb55bc896a7e04ccd03c16edb
Gerrit-Change-Number: 1225086
Gerrit-PatchSet: 1
Gerrit-Owner: Vidya.Thumukunta@ibm.com