Commit 5074f75
* Fix BDX block data pointer to track delegate buffer adjustments
In OnAckReceived(), blockData.Data used blockBuf->Start() (the original
buffer start) while blockData.Length used buffer.size() (potentially
reduced by the delegate). If a CollectLog delegate implementation
adjusts the span's data pointer (e.g., via SubSpan), the data pointer
and length would be misaligned, potentially sending uninitialized memory.
Use buffer.data() to correctly track any adjustment the delegate made.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Trigger CI re-run for flaky REPL test
* Retrigger CI
---------
(cherry picked from commit 32f1ce0)
Co-authored-by: Justin Wood <woody@apple.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Andrei Litvin <andy314@gmail.com>
1 parent 1334c60 commit 5074f75
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
| 200 | + | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
0 commit comments