gitlab.flawfinder.MultiByteToWideChar-1

137
Download Count*
License

The software does not properly handle when an input contains Unicode encoding.

Run Locally

Run in CI

Defintion

rules:
  - id: flawfinder.MultiByteToWideChar-1
    languages:
      - c
    message: >
      The software does not properly handle when an input contains Unicode
      encoding.
    metadata:
      cwe: "CWE-120: Requires maximum length in CHARACTERS, not bytes (CWE-120)"
      primary_identifier: flawfinder.MultiByteToWideChar-1
      secondary_identifiers:
        - name: Flawfinder - MultiByteToWideChar
          type: flawfinder_func_name
          value: MultiByteToWideChar
      license: MIT
    pattern: MultiByteToWideChar(...)
    severity: INFO