commit | 8a485f0becca7bbcd2a34de9d0dfd88ce8fcecaf | [log] [tgz] |
---|---|---|
author | Daniel Willmann <daniel@totalueberwachung.de> | Fri Jun 27 17:05:47 2014 +0200 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Mon Jul 07 19:04:32 2014 +0200 |
tree | 0e9f47c9d70f56b6a7078438333bfd43701b0755 | |
parent | 99a20d6be157659e7cfc87b357bf928196ba2c71 [diff] |
libbsc, osmo-bsc{, _nat}: Prevent unaligned access when casting TLVP_VAL foo = *((uintXX_t *) TLVP_VAL(...) can lead to unaligned access. To prevent that use tlvp_valXX_unal() to get the values.