Uploaded image for project: 'SoftHSM'
  1. SoftHSM
  2. SOFTHSM-91

Fix warning from static code analysis

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0a1
    • Fix Version/s: 2.0.0a2
    • Component/s: Build
    • Labels:
      None

      Description

      The first one is a false-positive. The other one can be fixed with an extra check for zero length at the if-statement that uses a modulus.

      Bug Group ▾ Bug Type File Line Path Length
      Unix API Undefined allocation of 0 bytes lib /common /SimpleConfigLoader.cpp 214 12 View Report Report Bug Open File
      Unix API Undefined allocation of 0 bytes bin /util /softhsm2-util.cpp 574 7 View Report Report Bug Open File

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Bellgrim
            Reporter:
            rickard Rickard Bellgrim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: