https://bugs.kde.org/show_bug.cgi?id=406463

Elvis Angelaccio <elvis.angelac...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |19.12.1
      Latest Commit|                            |https://commits.kde.org/kde
                   |                            |graphics-thumbnailers/af3f3
                   |                            |8a4d8f6ab66a463dd13e78385f3
                   |                            |4f4af933
         Resolution|---                         |FIXED

--- Comment #7 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
Git commit af3f38a4d8f6ab66a463dd13e78385f34f4af933 by Elvis Angelaccio.
Committed on 28/12/2019 at 18:58.
Pushed by elvisangelaccio into branch 'release/19.12'.

Prevent division by zero and force ghostscript run

The `scale` variable can be zero since it's an int. This code should
probably be refactored to use floats, but since no one touched it in
years, this is a quick workaround to not make it crash and to get a
working thumbnail by forcing a ghostscript run with the `break;`.
FIXED-IN: 19.12.1

M  +1    -0    ps/gscreator.cpp

https://commits.kde.org/kdegraphics-thumbnailers/af3f38a4d8f6ab66a463dd13e78385f34f4af933

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to