[Bug 51139] Application T at X 2021 freezes when trying to transmit data to Elster (German Tax Application)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Dec 30 16:14:06 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=51139

--- Comment #24 from stefan.bruens at rwth-aachen.de ---
I think I have nailed down the underlying problem.

In case `EndFigure` is called with D2D1_FIGURE_END_OPEN, and the last vertex
(point) is coincident with the first one of the figure, later calculations
fail.

As the last segment then has an undefined direction and a length of 0, causing
the `nan`s seen.

Omitting the last segment when it has zero length fixes the problem. This is
already explicitly done when D2D1_FIGURE_END_CLOSED is set.

Anyone who is using openSUSE and wants to give it a try can check:
https://download.opensuse.org/repositories/home:/StefanBruens:/branches:/Emulators/
https://build.opensuse.org/package/show/home:StefanBruens:branches:Emulators/wine

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list