From 018b155ad938ed9a1867214e13b166495599d222 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 6 Nov 2007 01:38:46 +0000 Subject: telnetd: fix problem with zombies (by Paul Fox ) syslogd: strip trailing NULs --- archival/unzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival') diff --git a/archival/unzip.c b/archival/unzip.c index 8462822f1..001f2e128 100644 --- a/archival/unzip.c +++ b/archival/unzip.c @@ -57,7 +57,7 @@ typedef union { uint16_t filename_len; /* 22-23 */ uint16_t extra_len; /* 24-25 */ } formatted ATTRIBUTE_PACKED; -} zip_header_t; +} zip_header_t ATTRIBUTE_PACKED; /* Check the offset of the last element, not the length. This leniency * allows for poor packing, whereby the overall struct may be too long, -- cgit v1.2.3