Since `str` is the output buffer, `bt_hex_real` should limit its output length according to the `str` size, not the `hex` size. Signed-off-by: Jiahao Li <reg@ljh.me> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| log.c | ||
| log.h | ||
| rpa.c | ||
| rpa.h | ||
Since `str` is the output buffer, `bt_hex_real` should limit its output length according to the `str` size, not the `hex` size. Signed-off-by: Jiahao Li <reg@ljh.me> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| log.c | ||
| log.h | ||
| rpa.c | ||
| rpa.h | ||