@@ -378,6 +378,7 @@ void orte_data_server(int status, orte_process_name_t* sender,
378378
379379 /* unpack any info elements */
380380 count = 1 ;
381+ uid = UINT32_MAX ;
381382 while (ORTE_SUCCESS == (rc = opal_dss .unpack (buffer , & iptr , & count , OPAL_VALUE ))) {
382383 /* if this is the userid, separate it out */
383384 if (0 == strcmp (iptr -> key , OPAL_PMIX_USERID )) {
@@ -389,7 +390,7 @@ void orte_data_server(int status, orte_process_name_t* sender,
389390 /* ignore anything else for now */
390391 OBJ_RELEASE (iptr );
391392 }
392- if (ORTE_ERR_UNPACK_READ_PAST_END_OF_BUFFER != rc ) {
393+ if (ORTE_ERR_UNPACK_READ_PAST_END_OF_BUFFER != rc || UINT32_MAX == uid ) {
393394 ORTE_ERROR_LOG (rc );
394395 opal_argv_free (keys );
395396 goto SEND_ERROR ;
@@ -539,6 +540,7 @@ void orte_data_server(int status, orte_process_name_t* sender,
539540
540541 /* unpack any info elements */
541542 count = 1 ;
543+ uid = UINT32_MAX ;
542544 while (ORTE_SUCCESS == (rc = opal_dss .unpack (buffer , & iptr , & count , OPAL_VALUE ))) {
543545 /* if this is the userid, separate it out */
544546 if (0 == strcmp (iptr -> key , OPAL_PMIX_USERID )) {
@@ -547,7 +549,7 @@ void orte_data_server(int status, orte_process_name_t* sender,
547549 /* ignore anything else for now */
548550 OBJ_RELEASE (iptr );
549551 }
550- if (ORTE_ERR_UNPACK_READ_PAST_END_OF_BUFFER != rc ) {
552+ if (ORTE_ERR_UNPACK_READ_PAST_END_OF_BUFFER != rc || UINT32_MAX == uid ) {
551553 ORTE_ERROR_LOG (rc );
552554 opal_argv_free (keys );
553555 goto SEND_ERROR ;
0 commit comments