XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.0.0
    • Qt Creator 3.5.0, Qt Creator 3.5.1, Qt Creator 3.6.0, Qt Creator 3.6.1, Qt Creator 4.0.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • Windows 7, Ubuntu 15.10, the version of qt is irrelevant

    Description

      Memory overflow in the cpp code with comment in code page windows-1251. With "utf-8" all right.
      The problem in recursive function "parseSimpleDeclaration" in source qtcreator "src\libs\3rdparty\cplusplus\Parser.cpp"
      The header file "mapgdi.h" that cause this problem in archive.
      Simple example in attachment archive.

      This bug not present in qt creator with version less than 3.2.

      additional information:
      qt creator in debug mode in the header "mapgi.h" of the attachment performs the infinite recursive call between the functions of module Parser.cpp parseClassSpecifier and parseSimpleDeclaration

      Attachments

        1. parseTrace_mapgdi.h.txt
          1.75 MB
          Nikolai Kosjar
        2. tsts.zip
          11 kB
          Artem Zakharov

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              artthirt Artem Zakharov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes