Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6226

Probable division by zero is not taken care of in qpaintengineex_opengl2.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.5.3
    • GUI: OpenGL
    • None
    • ubuntu 9.04 working with X
    • ee0690cdf553b6cf22432488ea113209203fe1ce

    Description

      details:
      file: qpaintengineex_opengl2.cpp
      line: "GLfloat dx = 1.0 / textureSize.width();"

      We came across a situation where a QPixmap was given with a non-existant resource. This led to a pixmap with size (0,0) and textureSize.width() is also 0. We got a floating point exception as a result of this division.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kjernase Trond Kjernåsen (Inactive)
            refaeldakar refael dakar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes