Re: [PATCH v5 0/1] MR4666: gdiplus: Prevent uninitializd memory access (Coverity)
12 Dec
2023
12 Dec
'23
12:53 a.m.
On Tue Dec 12 00:19:53 2023 +0000, Nikolay Sivov wrote:
No, sorry for confusion. Uninitialized access issue seems to be about that one record. It is documented in EMF+ specification. According to the spec a previous location of 0 is assumed. For me, this implies that the first element should not always be `0`, but be `0 + points[0]`
IMHO, EmfPlusRecordTypeDrawImagePoints look correct and this wrong. A test could clear this up, but I'm not exactly sure on how to write one. Any tips? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4666#note_55782
735
Age (days ago)
735
Last active (days ago)
0 comments
1 participants
participants (1)
-
Fabian Maurer (@DarkShadow44)