Commit da1385c02 for imagemagick.org
commit da1385c0283e9b12d92562eea28015df5aaa779b
Author: Cristy <urban-warrior@imagemagick.org>
Date: Tue Feb 24 20:28:16 2026 -0500
mode is S_MODE
diff --git a/MagickCore/blob.c b/MagickCore/blob.c
index c9561719f..dd58ce87a 100644
--- a/MagickCore/blob.c
+++ b/MagickCore/blob.c
@@ -3685,7 +3685,7 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info,
file;
blob_info->file_info.file=(FILE *) NULL;
- file=open_utf8(filename,flags,0666);
+ file=open_utf8(filename,flags,S_MODE);
if (file >= 0)
blob_info->file_info.file=fdopen(file,type);
if (blob_info->file_info.file != (FILE *) NULL)