Fix unlikely use of unitialized variable 62/318862/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen accepted/tizen/unified/20250131.095239 accepted/tizen/unified/x/20250212.043909 accepted/tizen/unified/x/asan/20250211.003603
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 28 Jan 2025 09:41:53 +0000 (10:41 +0100)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 28 Jan 2025 09:42:55 +0000 (10:42 +0100)
Change-Id: I822a3ae7272905c75e0fca6b0844007e67d71245

src/bm_config_parser.c

index 076ab76585adceb775cf2e90593c01648d02e6bb..f1e37f5031135607ac5b57aea5c796b815786068 100755 (executable)
@@ -30,7 +30,7 @@ static char* bm_read_content_from_file(const char *file_name)
        ENTER;
 
        gsize len = 0;
-       gchar *contents;
+       gchar *contents = NULL;
        GError *error = NULL;
 
        if (!file_name) {