Fix the fix. :/
Fabian Greffrath
13 years ago
68 | 68 |
fnp[0] = '\0';
|
69 | 69 |
|
70 | 70 |
- 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));
|
72 | 72 |
}
|
73 | 73 |
|
74 | 74 |
/* check for mp4 file */
|