[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8294) slappasswd can use SHA256 for hash but not SHA384 or SHA512...segfault
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8294) slappasswd can use SHA256 for hash but not SHA384 or SHA512...segfault
- From: hyc@symas.com
- Date: Wed, 28 Oct 2015 14:55:52 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
ktmdms@gmail.com wrote:
> --089e0115ec1091312605232ac99f
> Content-Type: text/plain; charset=UTF-8
>
> To add fuel to the fire, if I use pw-sha2 libraries that were built on a
> 2.6 kernel (specifically 2.6.32-358.el6.x86_64) on the 3.18 machine I can
> generate SHA512/384 hashed passwords with no issues. What should I be
> looking for between the two platforms that might cause the core?
Strange that the kernel would make any difference - more likely it's your C
compiler making the difference.
I ran a test on one machine and got an abort in glibc saying there was a stack
overrun. On a different machine I got no such error, and running on the
problem system under valgrind produced no errors.
On the machine that aborted, when I compiled with gcc -fstack-protector-all,
the glibc abort disappeared as well. So, this hasn't helped me identify the
problem yet. (gcc 4.8.4-2ubuntu1~14.04)
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/