gitlab.flawfinder.ulimit-1

137
Download Count*
License

Use getrlimit(2), setrlimit(2), and sysconf(3) instead.

Run Locally

Run in CI

Defintion

rules:
  - id: flawfinder.ulimit-1
    languages:
      - c
    message: |
      Use getrlimit(2), setrlimit(2), and sysconf(3) instead.
    metadata:
      cwe: "CWE-676: This C routine is considered obsolete (as opposed to the shell
        command by the same name, which is NOT obsolete) (CWE-676)"
      primary_identifier: flawfinder.ulimit-1
      secondary_identifiers:
        - name: Flawfinder - ulimit
          type: flawfinder_func_name
          value: ulimit
      license: MIT
    pattern: ulimit(...)
    severity: INFO