Fix memory corruption with strings in grompp
authorBerk Hess <hess@kth.se>
Thu, 10 Sep 2020 09:00:52 +0000 (11:00 +0200)
committerBerk Hess <hess@kth.se>
Thu, 10 Sep 2020 09:01:32 +0000 (11:01 +0200)
commitd78dc1330e586ebaf11da185f78c491ff9c384ec
treefd4f2155b210a2d745e0f3315cffe842fbb74fc1
parent1d8625e4d0aed5c2252180d420ea3deeea5f7674
Fix memory corruption with strings in grompp

Using a string of more than 31 characters as a default value for
a string entry in the mdp file would lead to memory corruption.
src/gromacs/fileio/readinp.cpp