[Met_help] possible error in METv1.1

J Matt Clark mclark at rush.aero.org
Tue Aug 19 14:54:39 MDT 2008


Sirs:

I have installed and run METv1.1, and discovered a possible error in the 
grid_stat function, 

Reference ./lib/vx_met_util:

In vsdb_columns.cc,  fimction get_column_format is called to build 
fmt_str, which is defined

char fmt_str[max_str_len];

and max_str_len is defined in constants.h:

static const int max_str_len  = 512;

However, get_column_format appears to pack 730 or so characters into 
char_fmt_str - which overflows and
eventually causes a seg fault.

Tnx,

Matt


More information about the Met_help mailing list