Skip to content

Commit ff652fc

Browse files
committed
Update to byte-pool 0.2.4
1 parent 9066257 commit ff652fc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
`ImapStream` can wrap any kinds of streams, including streams which may become open again later,
1717
like files which can be rewinded after reaching end of file or appended to.
1818

19+
### Fixes
20+
21+
- Update byte-pool to 0.2.4 to fix `ensure_capacity()`.
22+
Previously this bug could have resulted in an attempt to read into a buffer of zero size
23+
and erronous detection of the end of stream.
24+
1925
## [0.7.0] - 2023-04-03
2026

2127
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pin-utils = "0.1.0-alpha.4"
3333
futures = "0.3.15"
3434
ouroboros = "0.15"
3535
stop-token = "0.7"
36-
byte-pool = "0.2.2"
36+
byte-pool = "0.2.4"
3737
once_cell = "1.8.0"
3838
log = "0.4.8"
3939
thiserror = "1.0.9"

0 commit comments

Comments
 (0)