Skip to content

Fix potential integer overflow in buffer growth logic - #3

Closed
mohammidharaz wants to merge 0 commit into
harden-realloc-overflowfrom
harden-realloc-real
Closed

Fix potential integer overflow in buffer growth logic#3
mohammidharaz wants to merge 0 commit into
harden-realloc-overflowfrom
harden-realloc-real

Conversation

@mohammidharaz

Copy link
Copy Markdown
Owner

This patch hardens buffer growth logic in yaml_string_extend, yaml_stack_extend, and yaml_queue_extend by adding a SIZE_MAX guard before doubling allocation sizes. Also fixes CI workflow by disabling the invalid run-test-suite step.

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