Re: [Mingw-w64-public] [PATCH] Fix uninitialized read in mingw-w64-tools/widl/src/typegen.c

2022-04-02 Thread Raphael Isemann
Hi Jacek, thanks, I missed the fact this is actually WINE code. I'll send the patch there, thanks! - Raphael Am Sa., 2. Apr. 2022 um 15:02 Uhr schrieb Jacek Caban : > > Hi Raphael, > > On 4/2/22 13:22, Raphael Isemann wrote: > > The attached patch fixes an uninitialized read from memory in > >

Re: [Mingw-w64-public] [PATCH] Fix uninitialized read in mingw-w64-tools/widl/src/typegen.c

2022-04-02 Thread Jacek Caban
Hi Raphael, On 4/2/22 13:22, Raphael Isemann wrote: The attached patch fixes an uninitialized read from memory in `union_memsize`. The summary of how the bug happens is: 1. union_memsize gets called with a pointer to uninitialized `dummy`. ``` static unsigned int write_union_tfs(FILE *file, co

[Mingw-w64-public] [PATCH] Fix uninitialized read in mingw-w64-tools/widl/src/typegen.c

2022-04-02 Thread Raphael Isemann
The attached patch fixes an uninitialized read from memory in `union_memsize`. The summary of how the bug happens is: 1. union_memsize gets called with a pointer to uninitialized `dummy`. ``` static unsigned int write_union_tfs(FILE *file, const attr_list_t *attrs,