]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in fix from upstream NetBSD rev. 1.5:
authorPoul-Henning Kamp <phk@FreeBSD.org>
Mon, 21 Sep 2020 16:43:38 +0000 (16:43 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Mon, 21 Sep 2020 16:43:38 +0000 (16:43 +0000)
commit895a7e604db4ddf2b5d58833a82c2b4956585d02
tree2a5c9305cd04f66b65b944a8f44516d23c07e0f8
parent6d4b6bd3ce0c402bbe1b463ae88bb91689a2dc1f
Pull in fix from upstream NetBSD rev. 1.5:

    If Unwind_Backtrace is broken, ctx.n will still contain ~0, and we will
    return that which poor behavior for the user, so return 0 instead.
    We could document ~0 to be an error, but that would deviate from the
    Linux behavior which is not desirable. Noted by Poul-Henning Kamp

PR: 209842
contrib/libexecinfo/unwind.c