xz: Check the value of lzma_stream_flags.version in --list.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 26 Jun 2013 10:30:57 +0000 (13:30 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 26 Jun 2013 10:30:57 +0000 (13:30 +0300)
commit84d2da6c9dc252f441deb7626c2522202b005d4d
tree6e7724429f17cd86a1abf68054bae76d0b140150
parent9376f5f8f762296f2173d61af9101112c36f38c0
xz: Check the value of lzma_stream_flags.version in --list.

It is a no-op for now, but if an old xz version is used
together with a newer liblzma that supports something new,
then this check becomes important and will stop the old xz
from trying to parse files that it won't understand.
src/xz/list.c