Commit f239b62b authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Restrict size of read.

Showing with 1 addition and 1 deletion
+1 -1
......@@ -71,7 +71,7 @@ void Header_createMeter(Header* this, char* name, HeaderSide side) {
char* paren = strchr(name, '(');
int param = 0;
if (paren) {
int ok = sscanf(paren, "(%d)", &param);
int ok = sscanf(paren, "(%10d)", &param);
if (!ok) param = 0;
*paren = '\0';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment