]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Fix runtime error: load of misaligned address in xlat_integer()
authorJorge Pereira <jpereiran@gmail.com>
Tue, 14 Mar 2023 18:44:21 +0000 (15:44 -0300)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 17 Mar 2023 14:43:22 +0000 (10:43 -0400)
commit3406ff488ce20b04d6b0e9bcead06c6492f67922
treef0e46435ece889d74a3d0001badbc441da3f1778
parentb33a07a3b663d57e19cb62da60afc62aa7765e13
Fix runtime error: load of misaligned address in xlat_integer()

Such error:

src/main/xlat.c:206:38: runtime error: load of misaligned address 0x00010410ba72 for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment
0x00010410ba72: note: pointer points here
 00 00  00 20 39 38 37 3e 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/main/xlat.c:206:38 in
src/main/xlat.c