From 7d2cbfbd2cb129e776fa40ff94766da83ad6af36 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 6 Nov 2025 17:04:37 +0600 Subject: [PATCH] Fixed crash --- source/libublsettings-file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libublsettings-file.c b/source/libublsettings-file.c index 6ca2da0..e79f940 100644 --- a/source/libublsettings-file.c +++ b/source/libublsettings-file.c @@ -85,6 +85,7 @@ int yon_file_create_full_path(char *path, mode_t rules){ struct passwd *user = getpwnam(yon_ubl_root_user_get()); } else { FILE *fl = fopen(temp,"w"); + if (!fl) return; fclose(fl); }