[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][debian-mate-team/engrampa][debian/bookworm/updates] 2 commits: debian/patches: CVE-2023-52138: Add...



Title: GitLab

Mike Gabriel pushed to branch debian/bookworm/updates at Debian and Ubuntu MATE Packaging Team / engrampa

Commits:

  • 8e985d6f
    by Mike Gabriel at 2024-02-13T07:39:14+01:00
    debian/patches: CVE-2023-52138: Add 0006_use-unar-instead-of-cpio-for-CPIO-archives.patch. Use unar instead of cpio for CPIO archives. (Closes: #1063494).
    
  • 6830022f
    by Mike Gabriel at 2024-02-13T07:53:06+01:00
    upload to bookworm-security (debian/1.26.0-1+deb12u2)
    

3 changed files:

Changes:

  • debian/changelog
    1
    +engrampa (1.26.0-1+deb12u2) bookworm-security; urgency=medium
    
    2
    +
    
    3
    +  * debian/patches:
    
    4
    +    + CVE-2023-52138: Add 0006_use-unar-instead-of-cpio-for-CPIO-archives.patch.
    
    5
    +      Use unar instead of cpio for CPIO archives. (Closes: #1063494).
    
    6
    +
    
    7
    + -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de>  Tue, 13 Feb 2024 07:44:28 +0100
    
    8
    +
    
    1 9
     engrampa (1.26.0-1+deb12u1) bookworm; urgency=medium
    
    2 10
     
    
    3 11
       * debian/patches:
    

  • debian/patches/0006_use-unar-instead-of-cpio-for-CPIO-archives.patch
    1
    +From 8cd485a58d865d89d71931b66d7e2cb2202fc1be Mon Sep 17 00:00:00 2001
    
    2
    +From: Colomban Wendling <cwendling@hypra.fr>
    
    3
    +Date: Wed, 17 Jan 2024 11:57:48 +0100
    
    4
    +Subject: [PATCH] Use unar instead of cpio for CPIO archives
    
    5
    +
    
    6
    +---
    
    7
    + src/fr-command-cpio.c       | 6 +++---
    
    8
    + src/fr-command-unarchiver.c | 1 +
    
    9
    + 2 files changed, 4 insertions(+), 3 deletions(-)
    
    10
    +
    
    11
    +diff --git a/src/fr-command-cpio.c b/src/fr-command-cpio.c
    
    12
    +index 1b380ad83..31bd069c2 100644
    
    13
    +--- a/src/fr-command-cpio.c
    
    14
    ++++ b/src/fr-command-cpio.c
    
    15
    +@@ -224,7 +224,7 @@ fr_command_cpio_extract (FrCommand *comm,
    
    16
    + }
    
    17
    + 
    
    18
    + 
    
    19
    +-const char *cpio_mime_type[] = { "application/x-cpio", NULL };
    
    20
    ++const char *cpio_mime_type[] = { /*"application/x-cpio",*/ NULL };
    
    21
    + 
    
    22
    + 
    
    23
    + static const char **
    
    24
    +@@ -242,8 +242,8 @@ fr_command_cpio_get_capabilities (FrCommand  *comm,
    
    25
    + 	FrCommandCap capabilities;
    
    26
    + 
    
    27
    + 	capabilities = FR_COMMAND_CAN_ARCHIVE_MANY_FILES;
    
    28
    +-	if (is_program_available (CPIO_PATH, check_command))
    
    29
    +-		capabilities |= FR_COMMAND_CAN_READ;
    
    30
    ++/*	if (is_program_available (CPIO_PATH, check_command))
    
    31
    ++		capabilities |= FR_COMMAND_CAN_READ;*/
    
    32
    + 
    
    33
    + 	return capabilities;
    
    34
    + }
    
    35
    +diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
    
    36
    +index 0a40e6b04..8bc9c75ef 100644
    
    37
    +--- a/src/fr-command-unarchiver.c
    
    38
    ++++ b/src/fr-command-unarchiver.c
    
    39
    +@@ -255,6 +255,7 @@ fr_command_unarchiver_handle_error (FrCommand   *comm,
    
    40
    + const char *unarchiver_mime_type[] = { "application/zip",
    
    41
    + 				       "application/x-cbr",
    
    42
    + 				       "application/x-rar",
    
    43
    ++				       "application/x-cpio",
    
    44
    + 				       NULL };
    
    45
    + 
    
    46
    + 

  • debian/patches/series
    ... ... @@ -3,3 +3,4 @@
    3 3
     0003_file-data-fix-memory-leak.patch
    
    4 4
     0004_Fix-archive-file-save-as-function.patch
    
    5 5
     0005_fr-process-fix-memory-leak.patch
    
    6
    +0006_use-unar-instead-of-cpio-for-CPIO-archives.patch


  • Reply to: