From 430e60a898bc5fe6c7d81e745571100d53633ffc Mon Sep 17 00:00:00 2001 From: David Russo Date: Wed, 15 Jul 2020 13:47:07 +0100 Subject: [PATCH] Stop writing file paths into TIFF DocumentNames File paths can contain confidential information such as usernames and directory structures, making the previous behaviour a potential privacy and security risk. (cherry picked from commit a3a88bf6b92639ab194228c2a133326340979801) --- plug-ins/file-tiff/file-tiff-save.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plug-ins/file-tiff/file-tiff-save.c b/plug-ins/file-tiff/file-tiff-save.c index 03c3ac6498..96ed2862b7 100644 --- a/plug-ins/file-tiff/file-tiff-save.c +++ b/plug-ins/file-tiff/file-tiff-save.c @@ -973,8 +973,6 @@ save_image (GFile *file, goto out; } - TIFFSetField (tif, TIFFTAG_DOCUMENTNAME, g_file_get_path (file)); - /* The TIFF spec explicitly says ASCII for the image description. */ if (image_comment) { -- GitLab