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. tsts.zip
          11 kB
        2. parseTrace_mapgdi.h.txt
          1.75 MB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: