[Date Prev][Date Next]
(ITS#3868) Bug in slapi_int_init_conenction
Full_Name: Nikita Shulga
Submission from: (NULL) (18.104.22.168)
Look at the operation allocation at servers/slapd/slapi/slapi_ops.c, line 144.
At that point, one shouldn't try to reference o_pb, since it defined as
o_hdr->oh_pb, and operation header are yet not allocated.
So, any slapi plugin, which uses slapi_search_internal,
slapi_add_entry_internal, etc, whould chrash slap-daemon.
To fix that, one should allocate Operation in simiar way, as it's done in
slap_op_alloc function in servers/slapd/operation.c.
Proper allocation is implemented in patch, attached to this report.