Re: openssh 9.9p1

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

 



On Mon, 14 Oct 2024, greg tinkler wrote:

> The following alteration needs to be made to loginrec.c in the routine 
> record_failed_login()
> 
> #ifdef USE_UTMP
>          construct_utmp(&li, &ut);
> #endif
> 
> It was missing "#ifdef USE_UTMP" which causes an problem if you are not 
> using UTMP.

That's not correct, as we need to be able to construct a utmp record for
the /var/log/btmp and turning off just this line will cause random data
from the stack to be written instead.

Does your system really have btmp but not utmp? What are you building on?

-d
_______________________________________________
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