Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2019 12:03:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240230] openssl segfaults if RUN_ONCE fails
Message-ID:  <bug-240230-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240230

            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@FreeBSD.org
          Reporter: andrew@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 rea=
son,
then this is an independent bug in openssl.)

Affects CURRENT and 12-STABLE, probably not 11 (not checked).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240230-227>