File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## Unreleased
8
+ ## Removed
9
+ - Check for chunk header in ` chunk_size_and_padding ` function
10
+
7
11
## [ 0.2.4] - 2022-03-28
8
12
## Changed
9
13
- pack\_ pages function now return an empty byte when given an empty list instead of throwing an exception.
@@ -42,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
42
46
- Fixed bug in extractusm that causes it to fail when output directory doesn't exist.
43
47
- Fixed bug where program fails when directory exists.
44
48
49
+ [ Unreleased ] : https://github.com/donmai-me/WannaCRI/compare/0.2.4...HEAD
45
50
[ 0.2.4 ] : https://github.com/donmai-me/WannaCRI/compare/0.2.3...0.2.4
46
51
[ 0.2.3 ] : https://github.com/donmai-me/WannaCRI/compare/0.2.2...0.2.3
47
52
[ 0.2.2 ] : https://github.com/donmai-me/WannaCRI/compare/0.2.1...0.2.2
Original file line number Diff line number Diff line change @@ -53,9 +53,6 @@ def is_payload_list_pages(payload: bytes) -> bool:
53
53
54
54
def chunk_size_and_padding (header : bytes ) -> Tuple [int , int ]:
55
55
header = bytearray (header )
56
- signature = header [0 :4 ]
57
- if not is_valid_chunk (signature ):
58
- raise ValueError ("Invalid signature" )
59
56
60
57
size = int .from_bytes (header [4 :8 ], "big" )
61
58
offset = header [9 ]
You can’t perform that action at this time.
0 commit comments