Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
thnkslprpt opened this issue Nov 28, 2024 · 0 comments · May be fixed by #466
Open
2 tasks done

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

thnkslprpt opened this issue Nov 28, 2024 · 0 comments · May be fixed by #466

Comments

@thnkslprpt
Copy link
Contributor

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

thnkslprpt added a commit to thnkslprpt/CF that referenced this issue Nov 28, 2024
@thnkslprpt thnkslprpt linked a pull request Nov 28, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant