[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: cancel operation
Howard Chu <hyc@symas.com> wrote:
> > op->o_bd->bd_info = (BackendInfo *)(on->on_info);
> Delete that line above.
I now get a memory fault, because I jump to a NULL pointer. Here is the
backtrace:
#0 0x00000000 in ?? ()
#1 0xbb73bb12 in nops_modify (op=0x84b5c00, rs=0xb85ffd70) at
nops.c:139
139 send_ldap_error(op, rs, LDAP_SUCCESS, "");
send_ldap_error is a macro:
#define send_ldap_error( op, rs, err, text ) do { \
(rs)->sr_err = err; (rs)->sr_text = text; \
((op)->o_conn->c_send_ldap_result)( op, rs ); \
} while (0)
And, indeed:
(gdb) print op->o_hdr->oh_conn->c_send_ldap_result
$5 = (SEND_LDAP_RESULT *) 0
I assume it must be something really stupid for someone familiar enough
with the code :-)
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org