Also fix a possible buffer overrun detected by gcc10 and thus revbump for the current gcc.
11 lines
470 B
Diff
11 lines
470 B
Diff
--- src/omx_create_loaders_linux.c 2011-05-20 07:28:17.000000000 +0200
|
|
+++ src/omx_create_loaders_linux.c 2020-09-25 11:33:11.570142732 +0200
|
|
@@ -95,7 +95,7 @@
|
|
if (isFileExisting) {
|
|
loaderFP = fopen(omxloader_registry_filename, "r");
|
|
// dlopen all loaders defined in .omxloaders file
|
|
- libraryFileName = malloc(MAX_LINE_LENGTH);
|
|
+ libraryFileName = malloc(MAX_LINE_LENGTH+1);
|
|
while(1) {
|
|
index_readline = 0;
|
|
while(index_readline < MAX_LINE_LENGTH) {
|