Re: [hackers] [sbase][PATCH] tr gets stuck in infinite loop

From: Laslo Hunhold <dev_AT_frign.de>
Date: Thu, 5 Oct 2017 17:17:24 +0200

On Wed, 4 Oct 2017 23:16:29 -0700
Michael Forney <mforney_AT_mforney.org> wrote:

Dear Michael,

> Thanks for the patch and the analysis. I've been looking through the
> code but am still a bit confused about the intended behavior (and the
> purpose of nextbrack), so I can't really tell if your fix is correct
> or not.
>
> I'll try to take a closer look this weekend.

being the original author of tr(1) I have to apologize for the crude
nature of the parser code. It could be nicer.
I checked Pieter's fix and it is correct. You can merge it, as it does
indeed fix the problem.

With best regards

Laslo

-- 
Laslo Hunhold <dev_AT_frign.de>
Received on Thu Oct 05 2017 - 17:17:24 CEST

This archive was generated by hypermail 2.3.0 : Thu Oct 05 2017 - 17:24:24 CEST