[PATCH] Avoid a divide by zero crash.

Dmitry Timoshkov dmitry at baikal.ru
Sat Mar 1 03:24:27 CST 2014


Max Woodbury <mtewoodbury at gmail.com> wrote:

> While tmHeight is not _supposed_ to ever be zero, it is an external 
> 
> input and has been found to be zero in a few rare fonts.  Detecting 
> 
> and fixing THAT problem should be handled elsewhere.  This change just 
> 
> keeps the application from being blown away by a divide by zero 
> 
> exception. 

This change needs at least more details and preferrably a test case.

-- 
Dmitry.



More information about the wine-devel mailing list