Commit c36de4d5 authored by Claes Sjofors's avatar Claes Sjofors

Bugfix in rt_neth GetObjectInfo and SetObjectInfo

parent 13ea20be
...@@ -257,6 +257,7 @@ cvolsm_GetObjectInfo ( ...@@ -257,6 +257,7 @@ cvolsm_GetObjectInfo (
np = hash_Search(NULL, gdbroot->nid_ht, &get->sender.nid); np = hash_Search(NULL, gdbroot->nid_ht, &get->sender.nid);
pwr_Assert(np != NULL); pwr_Assert(np != NULL);
memset( &Attribute, 0, sizeof(Attribute));
ap = vol_ArefToAttribute(&sts, &Attribute, &mp->aref, gdb_mLo_owned, vol_mTrans_alias); ap = vol_ArefToAttribute(&sts, &Attribute, &mp->aref, gdb_mLo_owned, vol_mTrans_alias);
if (ap == NULL || ap->op == NULL) break; if (ap == NULL || ap->op == NULL) break;
...@@ -385,6 +386,8 @@ cvolsm_SetObjectInfo ( ...@@ -385,6 +386,8 @@ cvolsm_SetObjectInfo (
np = hash_Search(NULL, gdbroot->nid_ht, &get->sender.nid); np = hash_Search(NULL, gdbroot->nid_ht, &get->sender.nid);
pwr_Assert(np != NULL); pwr_Assert(np != NULL);
memset( &Attribute, 0, sizeof(Attribute));
ap = vol_ArefToAttribute(&sts, &Attribute, &mp->aref, gdb_mLo_owned, vol_mTrans_alias); ap = vol_ArefToAttribute(&sts, &Attribute, &mp->aref, gdb_mLo_owned, vol_mTrans_alias);
if (ap == NULL || ap->op == NULL) break; if (ap == NULL || ap->op == NULL) break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment