Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2333

QSafeRenderer::setAndValidateFrameBuffer() could cause null pointer dereference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QSR 2.1 Beta 3
    • QSR 2.1
    • Runtime
    • None
    • e8c59a037 (dev), ca2efcc40 (tqtc/lts-6.5), bd3e96101 (tqtc/lts-6.5.5)

    Description

      file: qsaferenderer.cpp

      method: QSafeRenderer::setAndValidateFrameBuffer()

       

      It seems to me that m_window->framebuffer() can return NULL;

      Therefore accessing the returned value without checking if it's NULL could cause null pointer dereference.

      Attachments

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

        Activity

          People

            jussi_witick Jussi Witick
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes