Skip to content

Conversation

@vsenko
Copy link

@vsenko vsenko commented May 4, 2022

zlib.NewReader can return nil value in case of malformed compressed data (https://cs.opensource.google/go/go/+/refs/tags/go1.18.1:src/compress/zlib/reader.go;l=82), this would lead to a crash on an attempt to use zlibReader. Implemented error handling will eliminate such crashes.

vsenko added a commit to sigex-kz/ddc that referenced this pull request May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant