Re: [PATCH v1 1/3] lib subcmd: Fix memory leak in uniq

From: Ian Rogers
Date: Thu Jan 04 2024 - 12:57:22 EST


On Tue, Jan 2, 2024 at 11:30 AM Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> On Thu, Dec 7, 2023 at 4:05 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> >
> > uniq will write one command name over another causing the overwritten
> > string to be leaked. Fix by doing a pass that removes duplicates and a
> > second that removes the holes.
> >
> > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
>
> Ping for this series, no comments since sent.

Would be nice to land this set, especially for giving suggestions for
inbuilt commands:
https://lore.kernel.org/lkml/20231208000515.1693746-2-irogers@xxxxxxxxxx/

Thanks,
Ian