]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in fix from upstream NetBSD rev. 1.5:
authorphk <phk@FreeBSD.org>
Mon, 21 Sep 2020 16:43:38 +0000 (16:43 +0000)
committerphk <phk@FreeBSD.org>
Mon, 21 Sep 2020 16:43:38 +0000 (16:43 +0000)
commit42f0cc34faad1a46f071b628906e62ba8b356fb6
tree2a5c9305cd04f66b65b944a8f44516d23c07e0f8
parenta79ed241fa9bf34b99b61edfceb1213d945ff582
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