Repository navigation
Commit df7186f
Seçkin Sefa Durası
Construct the tester DP buffer instead of setting its data
Fw::Buffer::setData now advances within an existing allocation and
asserts on a null backing pointer, so it can no longer initialize a
default-constructed buffer. The tester used setData plus setSize to set
up the container buffer, which aborted in Fw/Buffer/Buffer.cpp once the
branch was rebased onto current devel.
Build the buffer with the Fw::Buffer constructor in both resetDpState
and productGet_handler, keeping the undersized-buffer path used by the
serialization-failure test.1 parent 62c2eb5 commit df7186f
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
366 | 368 | | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
371 | 373 | | |
372 | | - | |
373 | 374 | | |
374 | | - | |
375 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
| |||
0 commit comments