Skip to content

harden mod_lbmethod_heartbeat parsing and overflow handling#629

Open
metsw24-max wants to merge 1 commit intoapache:trunkfrom
metsw24-max:harden-heartbeat-parse-overflow
Open

harden mod_lbmethod_heartbeat parsing and overflow handling#629
metsw24-max wants to merge 1 commit intoapache:trunkfrom
metsw24-max:harden-heartbeat-parse-overflow

Conversation

@metsw24-max
Copy link
Copy Markdown

This hardens heartbeat-based load balancing input handling and arithmetic in mod_lbmethod_heartbeat.c

Replaces permissive numeric parsing in heartbeat data handling with strict bounded parsing

Added strict integer parser using apr_strtoi64

Added safe overflow guards in load-slot accumulation and pick-range computation by saturating at APR_UINT32_MAX

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