Skip to content

Conversation

@chillfig
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution

Testing performed
localized building, unit test, and formatting

Expected behavior changes

  • Behavior Change: Prevents moving a file to a destination path that exceeds OS_MAX_PATH_LEN given the original source filename and move directory. This logic will append a $ to said path, send an event and attempt to then move the file to that truncated/modified filename.

System(s) tested on

  • OS: Ubuntu 22.04

Additional context
N/A

Third party code
N/A

Contributor Info - All information REQUIRED for consideration of pull request
Justin Figueroa, Vantage Systems

@chillfig chillfig self-assigned this Apr 11, 2025
@chillfig chillfig added the bug label Apr 11, 2025
@chillfig chillfig force-pushed the cf_cfdp_move_truncation branch from d1d3068 to 7b56ac9 Compare April 11, 2025 20:45
@chillfig chillfig added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Apr 16, 2025
@dzbaker dzbaker added CCB:Approved and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Apr 17, 2025
@dzbaker dzbaker merged commit 09da4c8 into nasa:main Apr 17, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible filename truncation in CF_CFDP_MoveFile operations

2 participants