Control: tags 1074931 + patch Control: tags 1074931 + pending -- Dear maintainer,
I've prepared an NMU for ecryptfs-utils (versioned as 111-7.1) and uploaded it to DELAYED/3. Please feel free to tell me if I should delay it longer. -- Regards Sudip diff -Nru ecryptfs-utils-111/debian/changelog ecryptfs-utils-111/debian/changelog --- ecryptfs-utils-111/debian/changelog 2024-06-01 08:05:28.000000000 +0100 +++ ecryptfs-utils-111/debian/changelog 2025-02-28 17:54:40.000000000 +0000 @@ -1,3 +1,10 @@ +ecryptfs-utils (111-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * d/p/fix-type.patch: Use correct pointer type to fix FTBFS. (Closes: #1074931) + + -- Sudip Mukherjee <sudipm.mukher...@gmail.com> Fri, 28 Feb 2025 17:54:40 +0000 + ecryptfs-utils (111-7) unstable; urgency=medium * Use no for Rules-Requires-Root. diff -Nru ecryptfs-utils-111/debian/patches/fix-type.patch ecryptfs-utils-111/debian/patches/fix-type.patch --- ecryptfs-utils-111/debian/patches/fix-type.patch 1970-01-01 01:00:00.000000000 +0100 +++ ecryptfs-utils-111/debian/patches/fix-type.patch 2025-02-28 17:53:04.000000000 +0000 @@ -0,0 +1,22 @@ +Description: Fix pointer type + tmp_pcrs is being allocated a memory with sizeof(int) and value obtained + from atoi() is stored in it. Since the value stored and memory allocated + are both 'int', the pointer should be 'int *'. + +Author: Sudip Mukherjee <sudipm.mukher...@gmail.com> +Bug-Debian: https://bugs.debian.org/1074931 +Last-Update: 2025-02-27 +--- + + +--- ecryptfs-utils-111.orig/src/utils/ecryptfs_generate_tpm_key.c ++++ ecryptfs-utils-111/src/utils/ecryptfs_generate_tpm_key.c +@@ -89,7 +89,7 @@ int main(int argc, char **argv) + int i, c, *pcrsSelected = NULL, numPcrsSelected = 0; + TSS_UUID *uuid; + BYTE wellknown[] = TSS_WELL_KNOWN_SECRET; +- char *tmp_pcrs; ++ int *tmp_pcrs; + + while (1) { + c = getopt(argc, argv, "p:"); diff -Nru ecryptfs-utils-111/debian/patches/series ecryptfs-utils-111/debian/patches/series --- ecryptfs-utils-111/debian/patches/series 2024-06-01 08:05:28.000000000 +0100 +++ ecryptfs-utils-111/debian/patches/series 2025-02-28 17:52:48.000000000 +0000 @@ -1,3 +1,4 @@ set-up-encrypted-swap-on-nvme-and-mmc.patch use-pkg-config_gpgme.diff swapfile-support.patch +fix-type.patch