From: René Scharfe Date: Sun, 15 Sep 2019 16:12:13 GMT Subject: Re: [PATCH 2/2] sha1-name: check for overflow of N in "foo^N" and "foo~N" Message-ID: <651e7bdb-c2e8-e607-d78d-5292b3509a8d@web.de> In-Reply-To: <20190915151513.GU11334@genre.crustytoothpaste.net> Am 15.09.19 um 17:15 schrieb brian m. carlson: > This approach seems reasonable. I must admit some curiosity as to how > you discovered this issue, though. Did you have a cat assisting you in > typing revisions? Found it by reading the code, but I'm not sure anymore what I was actually looking for. Would a fuzzer (or a cat) be able to catch that? The function is happily eating extra digits -- it's not crashing for me. René