Skip to content

MQTT contains many check_pointer calls without claiming them first #118

Description

@resistor

The CheriotHeapChecker static analysis reports these as errors, but @davidchisnall points out that this code is a mostly intended to be a sandbox where we could just let things crash.

We do one of the following:

  • add the proper claims where needed, if we want this code to be defensively safe.
  • strip out the check_pointer calls to save on code size, if we want this code to just crash on error.

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