Skip to content

Default HS Message Actions Table uses zeroes instead of NULL pointers #155

Description

@myc-yang

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

Describe the bug
The macro HS_MEMBER_SIZE uses 0 instead of NULL.

To Reproduce
N/A

Expected behavior
According to MISRA C:2012 11.9: The macro NULL shall be the only permitted form of integer null pointer constant.

Code snips
If applicable, add references to the software.

System observed on:

  • Hardware
  • OS: Linux 9.8
  • Versions HS v7.0.1

Additional context
Add any other context about the problem here.

Reporter Info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions