zephyr/subsys/logging
Daniel Leung 287916c71e logging: sys_t/catalog: fix unaligned access
When copying parameters into payload buffer, it is possible
that after copying a string over, the pointer to buffer is
no longer aligned on 4 or 8 bytes. And some toolchains may
decide to treat the copy as aligned since the values being
copied are 4 or 8 bytes. This results in unaligned memory
access and hardware exception. So change the copy to memcpy
to avoid potential unaligned access.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-07-25 09:14:17 +02:00
..
backends
mipi_syst
CMakeLists.txt
Kconfig
Kconfig.filtering
Kconfig.formatting
Kconfig.frontends
Kconfig.links
Kconfig.misc
Kconfig.mode
Kconfig.processing
Kconfig.template.log_config
Kconfig.template.log_config_inherit
Kconfig.template.log_format_config
log_cache.c
log_cache.h
log_cmds.c
log_core.c
log_frontend_dict_uart.c
log_link_ipc_service.c
log_mgmt.c
log_minimal.c
log_msg.c
log_multidomain_link.c
log_output.c
log_output_custom.c
log_output_dict.c
log_output_syst.c logging: sys_t/catalog: fix unaligned access 2023-07-25 09:14:17 +02:00