:: Re: [DNG] Nasty Linux systemd secur…
Pàgina inicial
Delete this message
Reply to this message
Autor: Steve Litt
Data:  
A: dng
Assumpte: 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