diff options
| author | Daniil Cherednik <[email protected]> | 2025-10-23 09:40:36 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-23 09:40:36 +0200 |
| commit | 6d45df350505102269d230001c1eed61c1cc8214 (patch) | |
| tree | 13059db432ee43874acb68dc388d8a36b4d1cf64 /contrib/python/stack-data/stack_data/serializing.py | |
| parent | fcfa7e2bb1a6b20d7a1cd402f08ba1da7211073d (diff) | |
[COMMON] [ICRDMA] Fix unrealizable IContiguousChunk EXT-1594 (#27371)
The issue was:
Caller has a pointer to IContiguousChunk
If caller calls GetDataMut() and the object is not "private" (ref count is not equal to 1) the implementation had to perform "Detach()" and return pointer to copyed data.
But we have no place to store newly allocated object. Ooops...
The solution:
Replace IContiguousChunk::GetDataMut() with IContiguousChunk::Clone() + IContiguousChunk::UnsafeGetDataMut()
Diffstat (limited to 'contrib/python/stack-data/stack_data/serializing.py')
0 files changed, 0 insertions, 0 deletions
