Hi,
Ok, so I compiled it all on my laptop. I'm running libressl-2.2.3 and
opensmtpd-5.7.1p1
What happens is RAND_bytes in rand_lib.c in libressl, line 90, calls
arc4random_buf at line 213 in arc4random.c (in opensmtpd), which calls
_rs_random_buf at line 141, which calls _rs_stir_if_needed at line 108,
which calls _rs_stir, line 81, which calls back to RAND_bytes, and there
we have an infinite loop...
Obviously I'm running the wrong libressl version for the wrong opensmtpd
version, or possibly the other way around, but can anyone tell me what I
should be running instead, or if I have done a terrible mistake
somewhere else?
Thank you!
Best regards
Andreas
On 2015-09-09 16:47, andreas wrote:
Hi,
I'm new to this list - nice to be here.
I have a problem running a home compiled opensmtpd 5.7.1 deamon on a
RaspberryPi 2 under rasbian. I would have thought it is armish enough,
but it segfaults on start, specifically on line 88 of rand_lib.c where
it says the buf value is out of bounds.
Looking at the back trace makes me think this has been going in some
kind of recursive loop for quite a while and maybe it's running out of
memory, but I am way out of my depth with this kind of analysis, and
if anyone knows what might cause this, I would love to know!
BTW - what is the recommended compiler for opensmtpd?
Best regards
Andreas
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]