Index: boost/graph/read_dimacs.hpp =================================================================== --- boost/graph/read_dimacs.hpp (revision 52227) +++ boost/graph/read_dimacs.hpp (working copy) @@ -55,7 +55,7 @@ no_alines=0; /* no of arc-lines */ std::string in_line; /* for reading input line */ - char pr_type[3]; /* for reading type of the problem */ + char pr_type[4]; /* for reading type of the problem */ char nd; /* source (s) or sink (t) */ int k, /* temporary */