:: Re: [DNG] Nasty Linux systemd secur…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Steve Litt
Fecha:  
A: dng
Asunto: Re: [DNG] Nasty Linux systemd security bug revealed
Enrico Weigelt, metux IT consult said on Fri, 30 Jul 2021 15:24:07 +0200


>In kernel space, we have the golden rule of not doing any larger stack
>allocations, even not larger fixed sized arrays.


Larger than how much? Surely

bestdistro[12]; strncpy(bestdistro, "Devuan", strlen("Devuan"));

would be OK, right?

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques