applied gsjaardema's suggested change to ocnode.c
@@ -482,6 +482,8 @@ occorrelater(OCnode* dds, OCnode* dxd)
if(dxd->name != NULL && dxd->name != NULL
&& strcmp(dxd->name,dds->name) != 0) {
OCTHROWCHK((ocstat = OC_EINVAL)); goto fail;
+ } else if(dxd->name != dds->name) { /* test NULL==NULL */
+ OCTHROWCHK((ocstat = OC_EINVAL)); goto fail;
}
if(dxd->array.rank != dds->array.rank) {
