diff options
author | Dinh Cong Toan <toan.dinhcong@vn.bosch.com> | 2021-06-18 13:10:49 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2021-06-30 10:54:59 +0900 |
commit | 05e4ad2339a24bcf38663eca37a5292a4038d423 (patch) | |
tree | 64fda022db9a54d900ad5bba658a0640c8da0d74 /src/shared/dlt_user_shared.h | |
parent | 8770cbb37583b2c4654e582874d604ee50d8f68d (diff) | |
download | DLT-daemon-05e4ad2339a24bcf38663eca37a5292a4038d423.tar.gz |
dlt_common: correct read/write position
In dlt_buffer_read_block() and dlt_buffer_write_block(), read/write position
should be updated in case these positions are equal to the size of ringbuffer.
Adding boundary check in gtest_dlt_common.cpp
Signed-off-by: Dinh Cong Toan <toan.dinhcong@vn.bosch.com>
Diffstat (limited to 'src/shared/dlt_user_shared.h')
0 files changed, 0 insertions, 0 deletions