Vitaly Chikunov 161dbaaeb1 rpmio: Fix lzopen_internal mode parsing when 'Tn' is used
When there is number after "T" (suggested number of threads or "0" for
getncpus), lzopen_internal() mode parser would skip one byte, and when
it's at the end of the string it would then parse undesired garbage from
the memory, making intermittent compression failures.

Fixes: c23872d71 ("Add support for multithreaded xz compression")
Fixes-upstream: 7740d1098.
Upstream-PR: https://github.com/rpm-software-management/rpm/pull/1478
2021-01-16 03:16:55 +03:00
..
2011-01-06 03:30:42 +03:00
2010-08-12 20:41:06 +00:00
2017-11-20 01:42:20 +00:00
2003-11-24 18:59:03 +00:00
2002-03-25 20:16:26 +00:00
2019-01-10 23:20:03 +00:00
2002-03-25 20:16:26 +00:00
2010-08-12 20:41:06 +00:00
2010-08-12 20:41:06 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2005-09-29 16:01:17 +00:00