# std/deflate: Avoid reading past end of stream · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/20fba0933f74efcf9a411749d28bea880cd8e0b1)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 20fba0933f74efcf9a411749d28bea880cd8e0b1

Requested commit: 20fba0933f74efcf9a411749d28bea880cd8e0b1

Commit: 20fba0933f74efcf9a411749d28bea880cd8e0b1

Tree: e2d4dd23f3d74cbffd599f38c90ad71b028fec0f

Author: LemonBoy

Committer: LemonBoy

## Message

```
std/deflate: Avoid reading past end of stream

Use a conservative (and slower) approach in the Huffman decoder fast
path.

Closes #6847

```

## Parents

- [88eb3ae8e5ff5aa53ff197ca3e008502b043936f](https://git.cafe/gitcafe/zig/commit/88eb3ae8e5ff5aa53ff197ca3e008502b043936f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/20fba0933f74efcf9a411749d28bea880cd8e0b1?format=markdown)
