XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • None
    • Foundation PM Staging

    Description

      There is an implicit conversion operator from QByteArray to `const char *`, which is dangerous API as `const char *` is a very common type in e.g. C Library system native methods on Linux. And really no type should be implicitly convertible to `const char *`.

      This operator can be disabled by defining The QT_NO_CAST_FROM_BYTEARRAY macro, so the goal is to fix build issues when that macro is defined.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-133234
          # Subject Branch Project Status CR V

          Activity

            People

              ahmad.samir Ahmad Samir
              ahmad.samir Ahmad Samir
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change