|
| 1 | +commit d8a898eb9974683bc725c49ec76722f9a8758f48 |
| 2 | +Author: Lasse Collin < [email protected]> |
| 3 | +Date: 2022-11-30 18:33:05 +0200 |
| 4 | + |
| 5 | + Bump version and soname for 5.2.9. |
| 6 | + |
| 7 | + src/liblzma/Makefile.am | 2 +- |
| 8 | + src/liblzma/api/lzma/version.h | 2 +- |
| 9 | + 2 files changed, 2 insertions(+), 2 deletions(-) |
| 10 | + |
| 11 | +commit efd4430e21f798e198a6ee8a368a79065139eb54 |
| 12 | +Author: Lasse Collin < [email protected]> |
| 13 | +Date: 2022-11-30 18:31:16 +0200 |
| 14 | + |
| 15 | + Add NEWS for 5.2.9. |
| 16 | + |
| 17 | + NEWS | 34 ++++++++++++++++++++++++++++++++++ |
| 18 | + 1 file changed, 34 insertions(+) |
| 19 | + |
| 20 | +commit 2dc1bc97a562ef4d4134c8df4d344d0f403428b8 |
| 21 | +Author: Lasse Collin < [email protected]> |
| 22 | +Date: 2022-11-30 18:08:34 +0200 |
| 23 | + |
| 24 | + Change the bug report address. |
| 25 | + |
| 26 | + It forwards to me and Jia Tan. |
| 27 | + |
| 28 | + Also update the IRC reference in README as #tukaani was moved |
| 29 | + to Libera Chat long ago. |
| 30 | + |
| 31 | + CMakeLists.txt | 2 +- |
| 32 | + README | 11 +++++------ |
| 33 | + configure.ac | 2 +- |
| 34 | + dos/config.h | 2 +- |
| 35 | + windows/README-Windows.txt | 2 +- |
| 36 | + 5 files changed, 9 insertions(+), 10 deletions(-) |
| 37 | + |
| 38 | +commit fb13a234d9def06cbe2b8ed88ece7db0c6d5c39f |
| 39 | +Author: Lasse Collin < [email protected]> |
| 40 | +Date: 2022-11-30 17:38:32 +0200 |
| 41 | + |
| 42 | + Update to HTTPS URLs in AUTHORS. |
| 43 | + |
| 44 | + AUTHORS | 6 +++--- |
| 45 | + 1 file changed, 3 insertions(+), 3 deletions(-) |
| 46 | + |
| 47 | +commit 841448e36d4455d39ff1e1115843360934e7a507 |
| 48 | +Author: Lasse Collin < [email protected]> |
| 49 | +Date: 2022-11-27 01:03:16 +0200 |
| 50 | + |
| 51 | + liblzma: Remove two FIXME comments. |
| 52 | + |
| 53 | + src/liblzma/common/filter_encoder.c | 4 ++-- |
| 54 | + 1 file changed, 2 insertions(+), 2 deletions(-) |
| 55 | + |
| 56 | +commit b61da00c7f535bd48930a878efdf6843d804983e |
| 57 | +Author: Lasse Collin < [email protected]> |
| 58 | +Date: 2022-11-24 14:52:44 +0200 |
| 59 | + |
| 60 | + Build: Don't put GNU/Linux-specific symbol versions into static liblzma. |
| 61 | + |
| 62 | + It not only makes no sense to put symbol versions into a static library |
| 63 | + but it can also cause breakage. |
| 64 | + |
| 65 | + By default Libtool #defines PIC if building a shared library and |
| 66 | + doesn't define it for static libraries. This is documented in the |
| 67 | + Libtool manual. It can be overriden using --with-pic or --without-pic. |
| 68 | + configure.ac detects if --with-pic or --without-pic is used and then |
| 69 | + gives an error if neither --disable-shared nor --disable-static was |
| 70 | + used at the same time. Thus, in normal situations it works to build |
| 71 | + both shared and static library at the same time on GNU/Linux, |
| 72 | + only --with-pic or --without-pic requires that only one type of |
| 73 | + library is built. |
| 74 | + |
| 75 | + Thanks to John Paul Adrian Glaubitz from Debian for reporting |
| 76 | + the problem that occurred on ia64: |
| 77 | + https://www.mail-archive.com/ [email protected]/msg00610.html |
| 78 | + |
| 79 | + CMakeLists.txt | 5 +- |
| 80 | + configure.ac | 143 +++++++++++++++++++++++++++++--------------- |
| 81 | + src/liblzma/common/common.h | 12 ++++ |
| 82 | + 3 files changed, 111 insertions(+), 49 deletions(-) |
| 83 | + |
| 84 | +commit 6c29793b3cac292b25801d011db6d8ccade50396 |
| 85 | +Author: Lasse Collin < [email protected]> |
| 86 | +Date: 2022-11-24 00:02:31 +0200 |
| 87 | + |
| 88 | + CMake: Don't use symbol versioning with static library. |
| 89 | + |
| 90 | + CMakeLists.txt | 10 +++++++--- |
| 91 | + 1 file changed, 7 insertions(+), 3 deletions(-) |
| 92 | + |
| 93 | +commit 872623def5e3e5c7f9f14f366d908f3e012d1007 |
| 94 | +Author: Lasse Collin < [email protected]> |
| 95 | +Date: 2022-11-24 01:26:37 +0200 |
| 96 | + |
| 97 | + liblzma: Fix another invalid free() after memory allocation failure. |
| 98 | + |
| 99 | + This time it can happen when lzma_stream_encoder_mt() is used |
| 100 | + to reinitialize an existing multi-threaded Stream encoder |
| 101 | + and one of 1-4 tiny allocations in lzma_filters_copy() fail. |
| 102 | + |
| 103 | + It's very similar to the previous bug |
| 104 | + 10430fbf3820dafd4eafd38ec8be161a6978ed2b, happening with |
| 105 | + an array of lzma_filter structures whose old options are freed |
| 106 | + but the replacement never arrives due to a memory allocation |
| 107 | + failure in lzma_filters_copy(). |
| 108 | + |
| 109 | + src/liblzma/common/stream_encoder_mt.c | 4 ++++ |
| 110 | + 1 file changed, 4 insertions(+) |
| 111 | + |
| 112 | +commit b0f8d9293ca5a0a56964695a59a098c9d1e82b99 |
| 113 | +Author: Jia Tan < [email protected]> |
| 114 | +Date: 2022-05-05 20:53:42 +0800 |
| 115 | + |
| 116 | + liblzma: Add support for LZMA_SYNC_FLUSH in the Block encoder. |
| 117 | + |
| 118 | + The documentation mentions that lzma_block_encoder() supports |
| 119 | + LZMA_SYNC_FLUSH but it was never added to supported_actions[] |
| 120 | + in the internal structure. Because of this, LZMA_SYNC_FLUSH could |
| 121 | + not be used with the Block encoder unless it was the next coder |
| 122 | + after something like stream_encoder() or stream_encoder_mt(). |
| 123 | + |
| 124 | + src/liblzma/common/block_encoder.c | 1 + |
| 125 | + 1 file changed, 1 insertion(+) |
| 126 | + |
| 127 | +commit 6997e0b5e2339025646cfaec13a3317fb340729b |
| 128 | +Author: Lasse Collin < [email protected]> |
| 129 | +Date: 2022-11-23 21:55:22 +0200 |
| 130 | + |
| 131 | + liblzma: Add lzma_attr_warn_unused_result to lzma_filters_copy(). |
| 132 | + |
| 133 | + src/liblzma/api/lzma/filter.h | 3 ++- |
| 134 | + 1 file changed, 2 insertions(+), 1 deletion(-) |
| 135 | + |
| 136 | +commit f94a3e34603c56c55777056bb5412bfd0e948f0b |
| 137 | +Author: Lasse Collin < [email protected]> |
| 138 | +Date: 2022-11-23 21:26:21 +0200 |
| 139 | + |
| 140 | + liblzma: Fix invalid free() after memory allocation failure. |
| 141 | + |
| 142 | + The bug was in the single-threaded .xz Stream encoder |
| 143 | + in the code that is used for both re-initialization and for |
| 144 | + lzma_filters_update(). To trigger it, an application had |
| 145 | + to either re-initialize an existing encoder instance with |
| 146 | + lzma_stream_encoder() or use lzma_filters_update(), and |
| 147 | + then one of the 1-4 tiny allocations in lzma_filters_copy() |
| 148 | + (called from stream_encoder_update()) must fail. An error |
| 149 | + was correctly reported but the encoder state was corrupted. |
| 150 | + |
| 151 | + This is related to the recent fix in |
| 152 | + f8ee61e74eb40600445fdb601c374d582e1e9c8a which is good but |
| 153 | + it wasn't enough to fix the main problem in stream_encoder.c. |
| 154 | + |
| 155 | + src/liblzma/common/stream_encoder.c | 39 +++++++++++++++++++++++++++++-------- |
| 156 | + 1 file changed, 31 insertions(+), 8 deletions(-) |
| 157 | + |
| 158 | +commit 8309385b444bce23e56256e21fb008a170434008 |
| 159 | +Author: Lasse Collin < [email protected]> |
| 160 | +Date: 2022-11-22 16:37:15 +0200 |
| 161 | + |
| 162 | + liblzma: Fix language in a comment. |
| 163 | + |
| 164 | + src/liblzma/common/stream_encoder.c | 2 +- |
| 165 | + 1 file changed, 1 insertion(+), 1 deletion(-) |
| 166 | + |
| 167 | +commit 5fecba6022cbbeed8103b49d79b2fb36086be72d |
| 168 | +Author: Lasse Collin < [email protected]> |
| 169 | +Date: 2022-11-22 11:20:17 +0200 |
| 170 | + |
| 171 | + liblzma: Fix infinite loop in LZMA encoder init with dict_size >= 2 GiB. |
| 172 | + |
| 173 | + The encoder doesn't support dictionary sizes larger than 1536 MiB. |
| 174 | + This is validated, for example, when calculating the memory usage |
| 175 | + via lzma_raw_encoder_memusage(). It is also enforced by the LZ |
| 176 | + part of the encoder initialization. However, LZMA encoder with |
| 177 | + LZMA_MODE_NORMAL did an unsafe calculation with dict_size before |
| 178 | + such validation and that results in an infinite loop if dict_size |
| 179 | + was 2 << 30 or greater. |
| 180 | + |
| 181 | + src/liblzma/lzma/lzma_encoder.c | 19 +++++++++++++++---- |
| 182 | + 1 file changed, 15 insertions(+), 4 deletions(-) |
| 183 | + |
| 184 | +commit 1946b2b141d8b12c9325ba48d3a04ad8e8206750 |
| 185 | +Author: Lasse Collin < [email protected]> |
| 186 | +Date: 2022-11-21 13:02:33 +0200 |
| 187 | + |
| 188 | + liblzma: Fix two Doxygen commands in the API headers. |
| 189 | + |
| 190 | + These were caught by clang -Wdocumentation. |
| 191 | + |
| 192 | + src/liblzma/api/lzma/hardware.h | 2 +- |
| 193 | + src/liblzma/api/lzma/index_hash.h | 2 +- |
| 194 | + 2 files changed, 2 insertions(+), 2 deletions(-) |
| 195 | + |
1 | 196 | commit 5476089d9c42b9b04e92b80e1800b384a98265cb
|
2 | 197 | Author: Lasse Collin < [email protected]>
|
3 | 198 | Date: 2022-11-13 19:58:47 +0200
|
|
0 commit comments