Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-2891

S5332: False negative when using wide string literals

    XMLWordPrintable

    Details

    • Type: False Negative
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.16
    • Fix Version/s: 6.17
    • Component/s: Rules
    • Labels:
      None

      Description

       auto url = "http://"; // Violation
       auto wurl = L"http://"; // False negative
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              loic.joly Loïc Joly
              Reporter:
              loic.joly Loïc Joly
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: