ffGetFileContent now uses FFstrbuf for preventing buffer overflows

This commit is contained in:
Linus Dierheimer
2021-03-21 16:52:17 +01:00
parent 0d3500c66f
commit 101d19a015
24 changed files with 144 additions and 123 deletions
+1 -2
View File
@@ -29,8 +29,7 @@ void ffPrintShell(FFinstance* instance)
ffPrintLogoAndKey(instance, "Shell");
FFstrbuf shell;
ffStrbufInit(&shell);
FF_STRBUF_CREATE(shell);
if(!ffStrbufIsEmpty(&instance->config.shellFormat))
{