Skip to content

Conversation

@devnexen
Copy link
Member

@devnexen devnexen commented Dec 5, 2025

  • consolidate encoding error exception b/w inflate_init()/deflate_init().
  • dictionary option is supposed to be packed.

- consolidate encoding error exception b/w inflate_init()/deflate_init().
- dictionary option is supposed to be packed.
HashTable *dictionary = Z_ARR_P(option_buffer);
bool result = true;

if (!HT_IS_PACKED(dictionary)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible to have a non-packed array that only has integer keys. So this check is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants