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

Issue #6562 - Prevent undefined behaviour in in filter_stuff_func #6563

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rx1513
Copy link

@Rx1513 Rx1513 commented Jan 31, 2025

Bug Description:

Undefined behaviour caused by escaping null character.

Fix Description:

Add simple check when ldap_bv2escaped_filter_value return null terminator which return error.

relates: #6562

Reviewed by: ???

Bug Description:

Undefined behaviour caused by escaping null character.

Fix Description:

Add simple check when ldap_bv2escaped_filter_value return null terminator.

relates: 389ds#6562

Reviewed by: ???
@Rx1513
Copy link
Author

Rx1513 commented Jan 31, 2025

I guess there's much better solution than this. Like adding check right after function signature or making wrapper for ldap_bv2escaped_filter_value

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