Skip to content

Conversation

@ggouaillardet
Copy link
Contributor

As reported at https://stackoverflow.com/questions/52707242/mpirun-segmentation-fault-whenever-i-use-a-hostfile
mpirun crashes when the hostfile contains a "user@host" line.
The root cause is username was not strdup'ed and free'd twice by opal_argv_free() and free()

Signed-off-by: Gilles Gouaillardet gilles@rist.or.jp

(cherry picked from commit 5803385)

As reported at https://stackoverflow.com/questions/52707242/mpirun-segmentation-fault-whenever-i-use-a-hostfile
mpirun crashes when the hostfile contains a "user@host" line.
The root cause is username was not strdup'ed and free'd twice by opal_argv_free() and free()

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>

(cherry picked from commit open-mpi/ompi@5803385)
@ggouaillardet ggouaillardet added this to the v3.0.3 milestone Oct 9, 2018
@ggouaillardet ggouaillardet requested a review from jsquyres October 9, 2018 04:14
@jsquyres jsquyres changed the title util/hostfile: fix a double free error v3.0.x: util/hostfile: fix a double free error Oct 9, 2018
@bwbarrett bwbarrett merged commit da8c2d8 into open-mpi:v3.0.x Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants