From 19e5279f2389fca5f4417868453c4c435c8ad6b8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 24 Apr 2024 10:49:33 +0200 Subject: [FUSE] Fix uninitialized speed buffer --- src/fuse/cowfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fuse/cowfile.c b/src/fuse/cowfile.c index b22d24a..90ea568 100644 --- a/src/fuse/cowfile.c +++ b/src/fuse/cowfile.c @@ -759,7 +759,7 @@ void *cowfile_statUpdater( UNUSED void *something ) { uint64_t lastUpdateTime = time( NULL ); time_t now; - char speedBuffer[20]; + char speedBuffer[20] = "0"; while ( !uploadLoopDone ) { int modified = 0; -- cgit v1.2.3-55-g7522