Skip to content

reject invalid NameWidth values to prevent unsafe memcpy size#617

Open
metsw24-max wants to merge 1 commit intoapache:trunkfrom
metsw24-max:mod_autoindex-namewidth-validation
Open

reject invalid NameWidth values to prevent unsafe memcpy size#617
metsw24-max wants to merge 1 commit intoapache:trunkfrom
metsw24-max:mod_autoindex-namewidth-validation

Conversation

@metsw24-max
Copy link

This change fixes a potential memory safety issue in mod_autoindex caused by insufficient validation of the NameWidth directive.

Previously values less than 5 were not properly rejected due to a conditional check that allowed 0 to bypass validation

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