Vidya.Thumukunta(a)ibm.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1225086?usp=email )
Change subject: Fix Coverity issues: CID 583547, 542655, 509140
......................................................................
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(a)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
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1225086?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
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(a)ibm.com