.. | .. |
---|
2 | 2 | * LZMA2 decoder |
---|
3 | 3 | * |
---|
4 | 4 | * Authors: Lasse Collin <lasse.collin@tukaani.org> |
---|
5 | | - * Igor Pavlov <http://7-zip.org/> |
---|
| 5 | + * Igor Pavlov <https://7-zip.org/> |
---|
6 | 6 | * |
---|
7 | 7 | * This file has been put into the public domain. |
---|
8 | 8 | * You can do whatever you want with this file. |
---|
.. | .. |
---|
1060 | 1060 | |
---|
1061 | 1061 | s->lzma2.sequence = SEQ_LZMA_PREPARE; |
---|
1062 | 1062 | |
---|
1063 | | - /* Fall through */ |
---|
| 1063 | + /* fall through */ |
---|
1064 | 1064 | |
---|
1065 | 1065 | case SEQ_LZMA_PREPARE: |
---|
1066 | 1066 | if (s->lzma2.compressed < RC_INIT_BYTES) |
---|
.. | .. |
---|
1072 | 1072 | s->lzma2.compressed -= RC_INIT_BYTES; |
---|
1073 | 1073 | s->lzma2.sequence = SEQ_LZMA_RUN; |
---|
1074 | 1074 | |
---|
1075 | | - /* Fall through */ |
---|
| 1075 | + /* fall through */ |
---|
1076 | 1076 | |
---|
1077 | 1077 | case SEQ_LZMA_RUN: |
---|
1078 | 1078 | /* |
---|
.. | .. |
---|
1163 | 1163 | |
---|
1164 | 1164 | if (DEC_IS_DYNALLOC(s->dict.mode)) { |
---|
1165 | 1165 | if (s->dict.allocated < s->dict.size) { |
---|
| 1166 | + s->dict.allocated = s->dict.size; |
---|
1166 | 1167 | vfree(s->dict.buf); |
---|
1167 | 1168 | s->dict.buf = vmalloc(s->dict.size); |
---|
1168 | 1169 | if (s->dict.buf == NULL) { |
---|