Fix segmentation fault in gmx helix
authorPaul Bauer <paul.bauer.q@gmail.com>
Wed, 17 Oct 2018 12:47:33 +0000 (14:47 +0200)
committerPaul Bauer <paul.bauer.q@gmail.com>
Thu, 18 Oct 2018 10:21:51 +0000 (12:21 +0200)
commit76c65770f8d31b0a9194311c5c0384d897fd0bae
treea3a9733070464b9f758eaf184eb69203163b1d4d
parent21becc05b646b86b4c8008da02ce5893bf99e659
Fix segmentation fault in gmx helix

Changed the logic in tpxio to only try to access the mtop
datastructure if it is actually present.

Fixes #2701

Change-Id: I268af10dc125a57758f5f3e79e4b14a25050b3b3
docs/release-notes/2018/2018.4.rst
src/gromacs/fileio/tpxio.cpp
src/gromacs/fileio/tpxio.h
src/gromacs/gmxana/gmx_helix.cpp