"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
tog blame crashes on empty file
To:
gameoftrees@openbsd.org
Date:
Wed, 20 Jan 2021 17:17:39 +0100

Download raw body.

Thread
tog's blame view segfaults when invoked on a zero-length file.
That shouldn't happen.

I'm less clear on what should happen.  I guess the current code
tries to do nothing, but that might be confusing.  An "empty" blame
view [0/0]?  The code is really not set up for this now.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de