diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 01:38:46 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 01:38:46 +0000 |
commit | 018b155ad938ed9a1867214e13b166495599d222 (patch) | |
tree | cb6b553062b365af521fc27159efa812da59f0bf /archival | |
parent | cb981638f502f4cc5ea830edc7ef62ab71112186 (diff) | |
download | busybox-w32-018b155ad938ed9a1867214e13b166495599d222.tar.gz busybox-w32-018b155ad938ed9a1867214e13b166495599d222.tar.bz2 busybox-w32-018b155ad938ed9a1867214e13b166495599d222.zip |
telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>)
syslogd: strip trailing NULs
Diffstat (limited to 'archival')
-rw-r--r-- | archival/unzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
57 | uint16_t filename_len; /* 22-23 */ | 57 | uint16_t filename_len; /* 22-23 */ |
58 | uint16_t extra_len; /* 24-25 */ | 58 | uint16_t extra_len; /* 24-25 */ |
59 | } formatted ATTRIBUTE_PACKED; | 59 | } formatted ATTRIBUTE_PACKED; |
60 | } zip_header_t; | 60 | } zip_header_t ATTRIBUTE_PACKED; |
61 | 61 | ||
62 | /* Check the offset of the last element, not the length. This leniency | 62 | /* Check the offset of the last element, not the length. This leniency |
63 | * allows for poor packing, whereby the overall struct may be too long, | 63 | * allows for poor packing, whereby the overall struct may be too long, |