Permalink
Browse files

NDMP: fix sd crash when ndmp info is queried

Fixes #845: NetApp OnCommand System Manager calls on SD Port 10000 lead to Segmentation Violation
  • Loading branch information...
pstorz committed Dec 19, 2018
1 parent 5facc3c commit 0fe91c0c5b21c71f2c0095655ba0367c688f599c
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/src/ndmp/ndmos_common.c
@@ -72,6 +72,7 @@ ndmos_sync_config_info (struct ndm_session *sess)
sess->config_info = (ndmp9_config_info *)NDMOS_API_MALLOC (sizeof (ndmp9_config_info));
if (!sess->config_info)
return;
NDMOS_MACRO_ZEROFILL(sess->config_info);
}

if (sess->config_info->hostname) {

0 comments on commit 0fe91c0

Please sign in to comment.