Skip to content

Conversation

@martinhsv
Copy link
Contributor

The old code was providing the pointer from the lmdb API directly to the regex search function. The pointer points to a correct sequence of bytes for the key, but it is not null terminated.

This issue would primarily affect lmdb match scenarios where the ending of the key would affect the search -- for example if the regular expression used an end-anchor ('$').

@martinhsv martinhsv merged commit 135d1fa into owasp-modsecurity:v3/master Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant