Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 86e5424

Browse files
committed
Merge pull request #1117 from rhc54/cmr20/pmixapp
Backport a fix to the PMIx packing of pmix_app_t
2 parents e0cd45e + 1db6db1 commit 86e5424

File tree

1 file changed

+1
-1
lines changed
  • opal/mca/pmix/pmix112/pmix/src/buffer_ops

1 file changed

+1
-1
lines changed

opal/mca/pmix/pmix112/pmix/src/buffer_ops/pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ int pmix_bfrop_pack_app(pmix_buffer_t *buffer, const void *src,
669669
if (PMIX_SUCCESS != (ret = pmix_bfrop_pack_int(buffer, &app[i].argc, 1, PMIX_INT))) {
670670
return ret;
671671
}
672-
for (j=0; j < app->argc; j++) {
672+
for (j=0; j < app[i].argc; j++) {
673673
if (PMIX_SUCCESS != (ret = pmix_bfrop_pack_string(buffer, &app[i].argv[j], 1, PMIX_STRING))) {
674674
return ret;
675675
}

0 commit comments

Comments
 (0)