#48289 389-ds-base: ldclt-bin killed by SIGSEGV
Closed: Fixed None Opened 3 years ago by nhosoi.

Description of problem: This problem also exists on RHEL-7. # ldclt-bin -b "ou=people,dc=example,dc=com" -w password -e esearch,randombindd n,randombinddnlow=10,randombinddnhigh=99,randomattrlist=cn:sn:uid:ou:telephoneN umber:facsimileTelephoneNumber:mobile:roomNumber -n 100 -I 32 -r 1 -R 9999 -f "uid=guestXX" -s subtree ldclt version 4.23 Segmentation fault (core dumped) # gdb /usr/bin/ldclt-bin core.14929 ... (gdb) bt #0 0x00007f6ec5fd7811 in __strlen_sse2 () from /lib64/libc.so.6 #1 0x00007f6ec7990371 in parseFilter (src=0x0, head=head@entry=0x7f6ec7ba0b48 <mctx+488>, tail=tail@entry=0x7f6ec7ba0b50 <mctx+496>, ndigits=ndigits@entry=0x7f6ec7ba0b40 <mctx+480>) at ldap/servers/slapd/tools/ldclt/ldclt.c:1225 #2 0x00007f6ec7990b19 in basicInit () at ldap/servers/slapd/tools/ldclt/ldclt.c:1441 #3 0x00007f6ec798753d in main (argc=19, argv=0x7fffc77f6898) at ldap/servers/slapd/tools/ldclt/ldclt.c:3169 Version-Release number of selected component: 389-ds-base-1.3.3.1-13.el7

The patch was provided by Stanislav Zidek in bz1229799

Created attachment 1036892 [details]
Patch fixing the issue

Reviewed by nhosoi and pushed to master:
79aa178..5b33c78 master -> master
commit 5b33c78

Pushed to 389-ds-base-1.3.4:
48308f3..8cd610a 389-ds-base-1.3.4 -> 389-ds-base-1.3.4
commit 8cd610a

Pushed to 389-ds-base-1.2.11:
aa59677..49d0ef6 389-ds-base-1.2.11 -> 389-ds-base-1.2.11
commit 49d0ef6

Metadata Update from @nhosoi:
- Issue set to the milestone: 1.3.5 backlog

2 years ago

Login to comment on this ticket.

Metadata