[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8327) The mod->sm_numvals values is checked and not seen as valid in mods.c



The full stack trace that didn't get copied in the original ITS :

#0  0x0000003a9b632625 in raise () from /lib64/libc.so.6
#1  0x0000003a9b633e05 in abort () from /lib64/libc.so.6
#2  0x0000003a9b62b74e in __assert_fail_base () from /lib64/libc.so.6
#3  0x0000003a9b62b810 in __assert_fail () from /lib64/libc.so.6
#4  0x000000000047efc8 in modify_add_values (e=0x7f7027ffdc90,
mod=0x7f7018105560, permissive=0, text=0x7f7027ffe170,
textbuf=0x7f7027ffdd00 "", textlen=256) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/mods.c:64
#5  0x00007f706e1909b9 in mdb_modify_internal (op=0x7f7027ffe1c0,
tid=0x2685180, modlist=0x7f7018105560, e=0x7f7027ffdc90,
text=0x7f7027ffe170, textbuf=0x7f7027ffdd00 "", textlen=256)
     at
/home/build/sold-2.4.42.2/openldap/servers/slapd/back-mdb/modify.c:168
#6  0x00007f706e191a1c in mdb_modify (op=0x7f7027ffe1c0,
rs=0x7f7027ffe150) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/back-mdb/modify.c:623
#7  0x00000000004945f0 in overlay_op_walk (op=0x7f7027ffe1c0,
rs=0x7f7027ffe150, which=op_modify, oi=0x24fcef0, on=0xfefefefefefefeff)
at /home/build/sold-2.4.42.2/openldap/servers/slapd/backover.c:677
#8  0x00000000004946a3 in over_op_func (op=0x7f7027ffe1c0,
rs=0x7f7027ffe150, which=op_modify) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/backover.c:730
#9  0x00007f706df53a74 in ppolicy_bind_response (op=0x7f7018106040,
rs=0x7f7027ffe9f0) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/overlays/ppolicy.c:1277
#10 0x000000000043d40c in slap_response_play (op=0x7f7018106040,
rs=0x7f7027ffe9f0) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/result.c:521
#11 0x000000000043d83b in send_ldap_response (op=0x7f7018106040,
rs=0x1da6) at /home/build/sold-2.4.42.2/openldap/servers/slapd/result.c:596
#12 0x000000000043ddd2 in slap_send_ldap_result (op=0x7f7018106040,
rs=0x7f7027ffe9f0) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/result.c:891
#13 0x00007f706e18e9f1 in mdb_bind (op=0x7f7018106040,
rs=0x7f7027ffe9f0) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/back-mdb/bind.c:150
#14 0x00000000004945f0 in overlay_op_walk (op=0x7f7018106040,
rs=0x7f7027ffe9f0, which=op_bind, oi=0x24fcef0, on=0xfefefefefefefeff)
at /home/build/sold-2.4.42.2/openldap/servers/slapd/backover.c:677
#15 0x00000000004946a3 in over_op_func (op=0x7f7018106040,
rs=0x7f7027ffe9f0, which=op_bind) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/backover.c:730
#16 0x000000000044a769 in fe_op_bind (op=0x7f7018106040,
rs=0x7f7027ffe9f0) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/bind.c:383
#17 0x0000000000449f51 in do_bind (op=0x7f7018106040, rs=0x7f7027ffe9f0)
at /home/build/sold-2.4.42.2/openldap/servers/slapd/bind.c:205
#18 0x000000000042ecb6 in connection_operation (ctx=0x7f7027ffeb70,
arg_v=0x7f7018106040) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/connection.c:1158
#19 0x000000000042f4b3 in connection_read_thread (ctx=0x7f7027ffeb70,
argv=<value optimized out>) at
/home/build/sold-2.4.42.2/openldap/servers/slapd/connection.c:1294
#20 0x00007f707002a7bc in ldap_int_thread_pool_wrapper (xpool=<value
optimized out>) at
/home/build/sold-2.4.42.2/openldap/libraries/libldap_r/tpool.c:956
#21 0x0000003a9ba07a51 in start_thread () from /lib64/libpthread.so.0
#22 0x0000003a9b6e896d in clone () from /lib64/libc.so.6