Codebase list faad2 / 1073aee
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
9494 if (!txt[size])
9595 break;
9696 }
97 txt[sizemax-1] = '\0';
9798
9899 return size;
99100 }