Re: slapd-mtread crash on ppc64{,el} in stretch/sid
Hi Breno!
On 07/06/2017 09:31 PM, Breno Leitao wrote:
> I think I found the real case of the problem here. There is an array
> being allocated, and initialized until 'i'.
>
> Later, we use a random number 'r' to access this array, and it will fail
> if 'r' is bigger than 'i', since any value bigger than 'i' will not be
> initialized. It might fail harder if 'r' is being allocated than 'nvalues', but
> I didn't get this scenario during my debugs.
Interesting bug. I wonder how this bug is only triggering on ppc*. Is that
code that is run on these targets only?
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: