mm2gv: fix buffer overflow when reading malformed MM header
It would be nicer to use %.*s
here and refer to MM_MAX_TOKEN_LENGTH
directly
but it seems this is only supported in printf
, not scanf
.
It would be nicer to use %.*s
here and refer to MM_MAX_TOKEN_LENGTH
directly
but it seems this is only supported in printf
, not scanf
.