Codebase list faad2 / a73c67f
And another fix for the fix fir the fix. Fabian Greffrath 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6868 fnp[0] = '\0';
6969
7070 - strcat(audioFileName, file_ext[format]);
71 + strncat(audioFileName, file_ext[format], PATH_MAX - sizeof(audioFileName));
71 + strncat(audioFileName, file_ext[format], PATH_MAX - strlen(audioFileName));
7272 }
7373
7474 /* check for mp4 file */