fixed too small fixed array in grompp top reading (only used with incorrect input
authorBerk Hess <hess@csbl10.(none)>
Mon, 20 Sep 2010 14:50:01 +0000 (16:50 +0200)
committerBerk Hess <hess@csbl10.(none)>
Mon, 20 Sep 2010 14:50:01 +0000 (16:50 +0200)
src/kernel/toppush.c

index d0cbd9c03351d62b340d129f7a329f974403405c..c5192aaee8a12b5c13019a3b9af2620bdc92aba0 100644 (file)
@@ -915,7 +915,7 @@ push_cmaptype(directive d, t_params bt[], int nral, gpp_atomtype_t at,
        int      i,j,ft,ftype,nn,nrfp,nrfpA,nrfpB;
        int      start;
        int      nxcmap,nycmap,ncmap,read_cmap,sl,nct;
-       char     s[20],alc[MAXATOMLIST+1][20];
+       char     s[20],alc[MAXATOMLIST+2][20];
        t_param  p;
        gmx_bool     bAllowRepeat;
        char     errbuf[256];