Fix data block length when uncompressing TNG data.
authorMagnus Lundborg <lundborg.magnus@gmail.com>
Fri, 29 Aug 2014 09:37:44 +0000 (11:37 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 2 Sep 2014 12:13:56 +0000 (14:13 +0200)
commita263449463e2faa5d4e13afa3286ab489df9186c
treecec281b1db93e1ffbde75e99b7632f3ec750a9e8
parent05870ba875c31e74e8f817a0834fa9a682c5c007
Fix data block length when uncompressing TNG data.

Also, if there are no bonds in a molecule do not reserve
memory for them (to avoid a returned NULL pointer).

Change-Id: I06f9ad71711174017a229faec53d6dca08ee99d0
src/external/tng_io/src/lib/tng_io.c