Bug 243500

Summary: segfault in libcrypto at ssleay_rand_bytes ()
Product: Base System Reporter: Adam <adamrosas1972>
Component: miscAssignee: freebsd-bugs mailing list <bugs>
Status: Open ---    
Severity: Affects Some People CC: secteam
Priority: --- Keywords: crash, needs-qa
Version: 11.3-RELEASEFlags: koobs: maintainer-feedback? (secteam)
Hardware: amd64   
OS: Any   

Description Adam 2020-01-22 06:46:48 UTC
when building UnrealIRCd from source on FreeBSD 11.2, 11.3 or in a FreeNAS jail 
upon running the program segfaults, installing pkg openssl-1.1.1d and rebuilding
fixes the segfault.

Starting program: /usr/home/ircd/src/src/ircd
Breakpoint 1, main (argc=1, argv=0x7fffffffeae0) at ircd.c:945
945 gettimeofday(&timeofday_tv, NULL);
Current language: auto; currently minimal
(gdb) n
946 timeofday = timeofday_tv.tv_sec;
(gdb) n
948 safe_strdup(configfile, CONFIGFILE);
(gdb) n
950 init_random(); /* needs to be done very early!! */
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
0x0000000800d0ee6e in ssleay_rand_bytes () from /lib/libcrypto.so.8