Skip to content

Conversation

@lujinda
Copy link

@lujinda lujinda commented Jul 10, 2025

When the backing file path exceeds 64 bytes, an 'out of range' error occurs due to the limitation of the file_name field in LoopInfo. This commit truncates the file path to ensure it does not exceed the maximum supported length, preventing the error while maintaining usability.

@github-actions github-actions bot added the C-shim Containerd shim label Jul 10, 2025
@lujinda lujinda force-pushed the loopfile_length_greater_64 branch from 6f94ace to db9eb44 Compare July 10, 2025 07:44
When the backing file path exceeds 64 bytes, an 'out of range' error occurs due to the limitation of the `file_name` field in `LoopInfo`. This commit truncates the file path to ensure it does not exceed the maximum supported length, preventing the error while maintaining usability.

Signed-off-by: jinda.ljd <[email protected]>
@lujinda lujinda force-pushed the loopfile_length_greater_64 branch from db9eb44 to eb01057 Compare July 10, 2025 07:47
@mxpv mxpv added this pull request to the merge queue Jul 15, 2025
Merged via the queue into containerd:main with commit 0e4ff0c Jul 15, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-shim Containerd shim

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants