Skip to content

Fix issues identified by static analyzer in DHKey.c #1333

@ibmkramamoo

Description

@ibmkramamoo
  1. line 45: it is using magic number 2.
  2. line Silence compilation warnings #1025: bbbuf : malloc return is not checked and could lead to core dump.
  3. Static analyzer recommends common cleanup at the end instead of deeply nested if statements

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions