[sr-dev] [kamailio/kamailio] asan: load of misaligned address (Issue #2914)

sergey-safarov notifications at github.com
Sun Oct 31 08:53:33 CET 2021


### Description
I fave compiled Kamailio with ASAN and enabled alignment checks (`-fno-sanitize=alignment` do not used). 
And get error
```
core/cfg/cfg_script.c:120:10: runtime error: load of misaligned address 0xffff96900cdc for type 'struct cfg_script_var_t *', which requires 8 byte alignment
0xffff96900cdc: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 04 00 00 00  00 00 00 00 00 00 00 00
```

I do not aware this is important or not.
Leave it for your review.

### Additional Information

Compiled 375f86b69e11cf835ae919873d3cd56f32d589c8
Arch aarch64

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2914
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211031/4162a948/attachment.htm>


More information about the sr-dev mailing list