From 1a173715207e367044752804dd85576d2abb78c6 Mon Sep 17 00:00:00 2001
From: Andre Heinecke <aheinecke@intevation.de>
Date: Tue, 17 Mar 2015 10:48:09 +0100
Subject: [PATCH] gpgtar: Fix extracting files with size % 512
- tools/gpgtar-extract.c (extract_regular): Handle size multiples of RECORDSIZE.
- If a hdr->size was a multiple of 512 the last record would not have been written and the files corrupted accordingly.
GnuPG-bug-id: 1926
Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
tools/gpgtar-extract.c | 5 +++++
1 file changed, 5 insertions(+)
1.9.1