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

QString::arg(double...) crashes with precision below -1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.6.0 RC
    • 4.8.6, 5.2.1
    • None
    • Ubuntu 14.04 64bit
    • 7a8da57a637f7a0b94199bb0e19f97a53958a8f0

    Description

      QString("%L1").arg(28.0, 0, 'f', -2) produces std::bad_alloc on Qt 4.8.6 and segmentation fault on Qt 5.2.1

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            naresh Kamil Klimek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes