Re: [PATCH 2/2] meson: mitigate against use of uninitialize stack for exploits

2023-10-09 Thread Daniel P . Berrangé
On Mon, Oct 09, 2023 at 12:15:17PM +0200, Thomas Huth wrote: > On 09/10/2023 09.44, Thomas Huth wrote: > > On 05/10/2023 19.38, Daniel P. Berrangé wrote: > > > When variables are used without being initialized, there is potential > > > to take advantage of data that was pre-existing on the stack fr

Re: [PATCH 2/2] meson: mitigate against use of uninitialize stack for exploits

2023-10-09 Thread Thomas Huth
On 09/10/2023 09.44, Thomas Huth wrote: On 05/10/2023 19.38, Daniel P. Berrangé wrote: When variables are used without being initialized, there is potential to take advantage of data that was pre-existing on the stack from an earlier call, to drive an exploit. It is good practice to always init

Re: [PATCH 2/2] meson: mitigate against use of uninitialize stack for exploits

2023-10-09 Thread Thomas Huth
On 05/10/2023 19.38, Daniel P. Berrangé wrote: When variables are used without being initialized, there is potential to take advantage of data that was pre-existing on the stack from an earlier call, to drive an exploit. It is good practice to always initialize variables, and the compiler can wa