Files
openairinterface5g/openair3
Robert Schmidt e94f59edb1 IES_DECODE_U16 macro: load from 16-bit aligned address
The IES_DECODE_U16 macro loads a 16 bit integer from an arbitrary
address; this can lead to reads from misaligned addresses, and undefined
behavior sanitizer warns, like, e.g., so:

    openair3/NAS/COMMON/IES/ProtocolConfigurationOptions.c:62:5: runtime error: load of misaligned address 0x7f3c24032c01 for type 'uint16_t', which requires 2 byte alignment

To fix this, first use memcpy() to load to a 16-bit aligned address,
then do the actual decoding.
2024-10-22 11:05:20 +02:00
..
2023-05-26 12:35:33 +02:00
2023-03-11 15:50:50 +01:00
2024-06-17 14:20:53 +02:00
2024-09-25 15:38:41 +02:00
2024-09-19 10:47:46 +02:00
2023-01-11 10:13:01 +01:00
2017-08-14 11:04:50 +02:00