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

Inconsistent treatment of char[] with embedded NULs when target is QString vs. QByteArray

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • dev
    • None
    • 57a65735f (dev), 9eb670d8d (6.8), 1276bfca6 (6.7)

    Description

      QConcatenable<const char[N>::appendTo behaves differently depending on whether it appends the const char[N] to a QString (preserves embedded NULs) vs. QByteArray (drops them).

      Expected: they behave the same.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes