Codebase list faad2 / 8a32a61
Fix 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(file_ext[format]));
71 + strncat(audioFileName, file_ext[format], PATH_MAX - sizeof(audioFileName));
7272 }
7373
7474 /* check for mp4 file */