client: Object search response payload is unverified #253

Open
opened 2025-12-28 18:07:35 +00:00 by sami · 0 comments
Owner

Originally created by @cthulhu-rider on GitHub (Dec 9, 2024).

server responds to ObjectService.Search with stream of messages containing sets of object IDs. Each object ID must be 32 byte len

Current Behavior

if the next ID has an invalid length:

  • Read leaves buffer cell uninitialized w/o an error
  • Iterate passes the last valid ID into handler w/o an error

Expected Behavior

op is failed on any invalid ID

Possible Solution

check and fail

Steps to Reproduce

  • corresponding tests from #641

Regression

no

Your Environment

Originally created by @cthulhu-rider on GitHub (Dec 9, 2024). server responds to `ObjectService.Search` with stream of messages containing sets of object IDs. Each object ID must be 32 byte len ## Current Behavior if the next ID has an invalid length: - `Read` leaves buffer cell uninitialized w/o an error - `Iterate` passes the last valid ID into handler w/o an error ## Expected Behavior op is failed on any invalid ID ## Possible Solution check and fail ## Steps to Reproduce * corresponding tests from #641 ## Regression no ## Your Environment * Version of the product used: 335d9fe90f24494944c2888ef385f06f5f81dcfc
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-sdk-go#253
No description provided.