From: Nick Holland Subject: Re: double free in checkout running as root To: gameoftrees@openbsd.org Date: Mon, 29 Aug 2022 12:23:27 -0400 On 8/29/22 11:39, Mikhail wrote: > On Mon, Aug 29, 2022 at 10:49:47AM -0400, Nick Holland wrote: >> ok, running as root is bad. I get that. >> I shouldn't be doing this. I get that, too >> Came up with a better way to do things. Mission accomplished. >> >> But the error message doesn't look like I'd expect for "you are >> being an idiot". >> >> /root # got checkout /got/ibs.git >> got(6695) in free(): bogus pointer (double free?) 0x7f7ffffee850 >> Abort trap >> >> Same command run as non-root user works fine. >> >> is this a problem, or just a way to say, "maybe you need to >> reevaluate your life choices"? >> >> Nick.Secopn >> > > For me it crashes on 0.74 with the same message, on latest main it works > fine. > Do I win a prize for worst bug report this week? I'm running the latest OpenBSD snapshot package, which is 0.74, OpenBSD/amd64, this particular machine is a couple week old snapshot, but other more recent, machines had same response. Quick test of compiling from source indicates that my complaint isn't there, and I really should spend some time reading the README file before babbling any more. Sorry for the noise. Nick.