gitlab.flawfinder.gsignal-1.ssignal-1

137
Download Count*
License

Switch to raise/signal, or some other signalling approach.

Run Locally

Run in CI

Defintion

rules:
  - id: flawfinder.gsignal-1.ssignal-1
    languages:
      - c
    message: |
      Switch to raise/signal, or some other signalling approach.
    metadata:
      cwe: "CWE-676: These functions are considered obsolete on most systems, and very
        non-portable (Linux-based systems handle them radically different,
        basically if gsignal/ssignal were the same as raise/signal respectively,
        while System V considers them a separate set and obsolete) (CWE-676)"
      primary_identifier: flawfinder.gsignal-1.ssignal-1
      secondary_identifiers:
        - name: Flawfinder - gsignal
          type: flawfinder_func_name
          value: gsignal
        - name: Flawfinder - ssignal
          type: flawfinder_func_name
          value: ssignal
      license: MIT
    pattern-either:
      - pattern: gsignal(...)
      - pattern: ssignal(...)
    severity: INFO