Hi Nathan,
Hi Mark,
Hi team,
as I know, we've decided to make me "gatekeeper" of QE team for managing
lib389 and DS git repos.
Can you please update the status of this situation?
Also, there is two tickets with new reviewed testcases, that need to be
pushed. Can you please help me with that? Or if I'll get the rights
soon, I do it by myself. :)
https://fedorahosted.org/389/ticket/47957https://fedorahosted.org/389/ticket/48264
Thanks,
Simon
https://fedorahosted.org/389/ticket/48299https://fedorahosted.org/389/attachment/ticket/48299/0001-Ticket-48299-page…
git patch file (master) -- revised; fixed a bug pointed out by Thierry
(Thank you!!) and a minor memory leak.
On 09/30/2015 01:32 AM, 389 Project wrote:
> Comment (by tbordaz):
>
> Hi noriko,
>
> The fix looks good, just two remarks
> * pagedresults_set_search_result_pb is called each time search result is
> freed. Should not it be called in opshared.c:722 (I find this line
> suspicious should not it be SLAPI_PAGED_RESULTS_INDEX ?)
> * in pagedresults_set_search_result_pb, you call slapi_pblock_set(pb,
> SLAPI_PAGED_RESULTS_INDEX, &index); . My understanding it is to reset the
> pr_idx (index==-1). But later you test 'index'. Did you mean
> slapi_pblock_'''get'''(pb, SLAPI_PAGED_RESULTS_INDEX, &index).
>
https://fedorahosted.org/389/ticket/48298https://fedorahosted.org/389/attachment/ticket/48298/0001-Ticket-48298-ns-s…
On 09/29/2015 08:15 AM, 389 Project wrote:
> Comment:
>
> Unfortunately, it did not pass the IPA tests.
>
Bug Description: The cause of the problem is rather not a race condition but
accessing an already freed agreement in a plug-in:
> The crashed thread is deleting an agreement object, which calls
mep_pre_op.
> It eventually calls op_shared_search with the deleted agreement
object with
> base scope and filter "(|(objectclass=*)(objectclass=ldapsubentry))"
> Since it is a DSE entry it goes to dse_search, in which it calls
agmt_get_
> replarea and crashes in slapi_sdn_copy by NULL dereference in from SDN...
Fix Description: This patch adds the check to agmt_get_replarea, in which if
the agreement is not in the agreement list, it returnes NULL repl area.
When
the NULL repl area is returned the callers back off with an error.
Thanks,
--noriko
https://fedorahosted.org/389/ticket/48298https://fedorahosted.org/389/attachment/ticket/48298/0001-Ticket-48298-ns-s…
git patch file (master) -- additional fixes (merge them when commit)
Thank you, Rich, for the reviews and comments. Do you think (1) is
overkill?
Description: In addition to the previous patch for #48298,
1) agmt_delete - lock all the agreement deletion in PR_Lock(ra->lock).
2) get_agmt_status - retrieve all the ra contents in PR_Lock(ra->lock)
first and use them in the function.
--noriko