Re: Question about ssh-keygen -Y find-principals

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 8 Mar 2024, Wiktor Kwapisiewicz wrote:

> Hi Damien,
> 
> I've verified that slightly modifying your patch makes the problem disappear:

Thanks.

> I've also experimented with the code a bit and found out that if the line that
> skips the whitespace:
>  	cp = cp + strspn(cp, " \t"); /* skip leading whitespace */
> 
> is adjusted slightly to include newline characters:
> 
>  	cp = cp + strspn(cp, " \t\n\r"); /* skip leading whitespace */
> 	if (*cp == '#' || *cp == '\0')   /* <- no change in this line */
> 
> then the problem also disappears.

I've committed this and it will be in next week's release.

Thanks,
Damien
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux