Adapt changes in neofs-cli object range #146

Closed
opened 2025-12-28 18:15:09 +00:00 by sami · 2 comments
Owner

Originally created by @carpawell on GitHub (Dec 19, 2022).

Originally assigned to: @anikeev-yadro, @abereziny on GitHub.

Context

See comments for details.

Problem

neofs-cli does not allow zero length and uint64 overflow ranges (offset + length <= offset) now. Check that tests are ready for that (add some additional test cases if needed).
Error messsages: "invalid '%s' range: zero length", "invalid '%s' range: uint64 overflow" where %s is for provided ranges (off:len).

Originally created by @carpawell on GitHub (Dec 19, 2022). Originally assigned to: @anikeev-yadro, @abereziny on GitHub. ### Context See [comments](https://github.com/nspcc-dev/neofs-node/pull/2101#discussion_r1039662739) for details. ### Problem `neofs-cli` does not allow zero length and `uint64` overflow ranges (offset + length <= offset) now. Check that tests are ready for that (add some additional test cases if needed). Error messsages: `"invalid '%s' range: zero length"`, `"invalid '%s' range: uint64 overflow"` where `%s` is for provided ranges (`off:len`).
sami 2025-12-28 18:15:09 +00:00
  • closed this issue
  • added the
    U0
    label
Author
Owner

@abereziny commented on GitHub (Dec 19, 2022):

Updated in #477

@abereziny commented on GitHub (Dec 19, 2022): Updated in #477
Author
Owner

@abereziny commented on GitHub (Dec 23, 2022):

Adapted and passed on v1.0.1-nb-20221223.1
image

@abereziny commented on GitHub (Dec 23, 2022): Adapted and passed on v1.0.1-nb-20221223.1 ![image](https://user-images.githubusercontent.com/116558828/209323100-4018515e-ba49-40df-b903-c304f6979765.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-testcases#146
No description provided.