Date: Mon, 21 Sep 2020 16:44:19 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 209842] backtrace(3) function can return negative Message-ID: <bug-209842-227-jFVEEp5y1D@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209842-227@https.bugs.freebsd.org/bugzilla/> References: <bug-209842-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209842 --- Comment #1 from commit-hook@FreeBSD.org --- A commit references this bug: Author: phk Date: Mon Sep 21 16:43:39 UTC 2020 New revision: 365952 URL: https://svnweb.freebsd.org/changeset/base/365952 Log: Pull in fix from upstream NetBSD rev. 1.5: If Unwind_Backtrace is broken, ctx.n will still contain ~0, and we wi= ll 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 Changes: head/contrib/libexecinfo/unwind.c --=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-209842-227-jFVEEp5y1D>