ugh, yes - I'll fix. The error was mine and not in Carlo's original patch. On Tue, 7 Sep 2021, Alexander Hall wrote:
> [I failed to cc djm@] > > On September 7, 2021 10:39:05 PM GMT+02:00, Alexander Hall > <alexan...@beard.se> wrote: > >Hi, > > > >from the diff: > > > >+ if (print_pubkey == NULL) > >+ *print_pubkey = 0; > > > >That looks like a terrible fix to me. No? > > > >/Alexander > > > >On September 7, 2021 8:03:51 AM GMT+02:00, Damien Miller > ><d...@cvs.openbsd.org> wrote: > >>CVSROOT: /cvs > >>Module name: src > >>Changes by: d...@cvs.openbsd.org 2021/09/07 00:03:51 > >> > >>Modified files: > >> usr.bin/ssh : ssh-keygen.c > >> > >>Log message: > >>avoid NULL deref in -Y find-principals. Report and fix from > >>Carlo Marcelo Arenas Bel��n > >> > >> > > >