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

QMultiHash::count(key) crashes on empty container

    XMLWordPrintable

Details

    • Windows
    • f226854d256a382a5cc7ff08b10a0d27fbefb0fe (qt/qtbase/dev) 341654213bfd02a448490212e3b9b0d2027dfd2f (qt/qtbase/6.0) 3c224d11228f2560d99078d5f0bf91237657def1 (qt/qtbase/6.1)

    Description

      Using the following code the program crashes.

      QMultiHash count crash
      int main(int argc, char *argv[])
      {
         QCoreApplication a(argc, argv);
      
         QMultiHash<int,int> hash;
         hash.count(2);
      
         return a.exec();
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              laknoll Lars Knoll
              mircomir Mirco Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes