diff -urN ./src/omx_create_loaders_linux.c ./src/omx_create_loaders_linux.c --- ./src/omx_create_loaders_linux.c 2011-05-20 13:28:17.000000000 +0800 +++ ./src/omx_create_loaders_linux.c 2021-08-05 18:45:57.607126826 +0800 @@ -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) {