Skip to content

Assert checks non-existent variable (pt) in CF_CFDP_ProcessPlaybackDirectory() #465

@thnkslprpt

Description

@thnkslprpt

Checklist

  • 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

Code snips

CF/fsw/src/cf_cfdp.c

Lines 1396 to 1397 in ba12bc1

txn = CF_FindUnusedTransaction(chan);
CF_Assert(pt); /* should be impossible not to have one because there are limits on the number of uses of

Expected behavior
CF_Assert(txn)

Reporter Info
Avi Weiss   @thnkslprpt

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