mp4read.c: fix stack-buffer-overflow in stringin()/ftypin() Terminate the string read into the stack buffer, fixes #56.
Fabian Greffrath
3 years ago
1 changed file(s) with
1 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-0
frontend/mp4read.c
less
more
94
94
if (!txt[size])
95
95
break;
96
96
}
97
txt[sizemax-1] = '\0';
97
98
98
99
return size;
99
100
}