Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix null dereference #301

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Fix null dereference #301

merged 1 commit into from
Jan 1, 2025

Conversation

tatsuhiro-t
Copy link
Member

decoder->rstate.name and decoder->rstate.value are nullified after processing each encoder instruction. If they need to be kept, their reference count should be nonzero, and stored in the dynamic table. This null deference occurs when memory allocation fails.

decoder->rstate.name and decoder->rstate.value are nullified after
processing each encoder instruction.  If they need to be kept, their
reference count should be nonzero, and stored in the dynamic table.
This null deference occurs when memory allocation fails.
@tatsuhiro-t tatsuhiro-t added this to the v1.8.0 milestone Jan 1, 2025
@tatsuhiro-t tatsuhiro-t merged commit ca962ba into main Jan 1, 2025
36 checks passed
@tatsuhiro-t tatsuhiro-t deleted the fix-null-dereference branch January 1, 2025 08:23
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