#280 extensible binary filters do not work
Closed: wontfix None Opened 10 years ago by rmeggins.

The filter values are not being copied correctly - using strdup instead of memcpy

To ssh://git.fedorahosted.org/git/389/ds.git
7b03c97..e8578ca master -> master
commit changeset:e8578ca/389-ds-base
Author: Rich Megginson rmeggins@redhat.com
Date: Fri Feb 3 09:51:46 2012 -0700
Reviewed by: nkinder (Thanks!)
Branch: master
Fix Description: The code was using strdup to copy the value when dup'ing
the filter. We already had code that copied the contents of binary
bervals, so I just put slapi wrappers around them and created and
documented two new slapi functions - slapi_ber_bvcpy and slapi_ber_bvdone.
I found a few places that were manually copying the contents of bervals
and replaced them with slapi_ber_bvcpy and slapi_ber_bvdone. With this
code the filter, I18n, and index tests pass at 100%.
Platforms tested: RHEL6 x86_64, Fedora 16
Flag Day: yes - slapi-plugin.h change
Doc impact: yes - two new slapi functions

Added initial screened field value.

Metadata Update from @rmeggins:
- Issue assigned to rmeggins
- Issue set to the milestone: 1.2.10.rc1

5 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/280

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

2 years ago

Login to comment on this ticket.