Check number of items read in mdp statements
commitda1b2cd489bb1c1285953bc5bcc59fc7a7884b98
authorErik Lindahl <erik@kth.se>
Sun, 22 May 2016 21:29:24 +0000 (22 23:29 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sat, 4 Jun 2016 04:27:02 +0000 (4 06:27 +0200)
tree3a2dc706d799422d88641d437aced5d4eac28f71
parent4c4c385bcbc381f1e7872a2c4176f233895d87c0
Check number of items read in mdp statements

Added checks for the number of items read in all
sscanf() statements processing data from the mdp
file.

Fixes #1945.

Change-Id: Iecb5e3c7018570fb3a299624ac936c26d03294eb
src/gromacs/gmxpreprocess/readir.cpp