[Bug 240230] openssl segfaults if RUN_ONCE fails
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 31 12:03:31 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240230
Bug ID: 240230
Summary: openssl segfaults if RUN_ONCE fails
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: andrew at tao11.riddles.org.uk
RAND_get_rand_method returns NULL if RUN_ONCE fails, but none of its callers
check for this condition, and so they immediately segfault from deferencing the
NULL.
(RUN_ONCE fails if libthr is not in the process, for example because openssl
was static-linked without it. This aspect of the issue is the subject of
another bug report; but if RUN_ONCE can legitimately fail for any other reason,
then this is an independent bug in openssl.)
Affects CURRENT and 12-STABLE, probably not 11 (not checked).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list