summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2013-02-27 15:23:05 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2013-02-27 15:23:24 (GMT)
commit04f296b28a4927efffced38170d92134982566a6 (patch)
treea761ecb41558338d751ea059548b040cc5ebff9b
parente3e321682cd1e9861ba7680e61ab6dadaf1e2e32 (diff)
downloadbusybox-04f296b28a4927efffced38170d92134982566a6.tar.gz
busybox-04f296b28a4927efffced38170d92134982566a6.tar.bz2
xz: omit explicit \0 from HEADER_MAGIC
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/libarchive/unxz/xz_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libarchive/unxz/xz_stream.h b/archival/libarchive/unxz/xz_stream.h
index 36f2a7c..2ffaa34 100644
--- a/archival/libarchive/unxz/xz_stream.h
+++ b/archival/libarchive/unxz/xz_stream.h
@@ -25,7 +25,7 @@
#define STREAM_HEADER_SIZE 12
-#define HEADER_MAGIC "\3757zXZ\0"
+#define HEADER_MAGIC "\3757zXZ"
#define HEADER_MAGIC_SIZE 6
#define FOOTER_MAGIC "YZ"