aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/vty.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-09-04 20:42:20 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-09-11 16:23:31 +0200
commitffd6856249ae3de42d17a2146a3c03e0597b2c53 (patch)
tree662364363194c33853eda6aa05fd3145c32c77de /openbsc/include/openbsc/vty.h
parent7a7c2f85679bae57d17e43c3f8595d98f4ee629b (diff)
gbproxy: Address two unaligned memory access warnings
The lines 461 and 303 were producing unaligned memory access as the BVCI was not aligned properly. Introduce a tlvp_val16_unal to read 16bit from the data, use memcpy to the stack to make sure that it is working in the aligned and unaligned case.
Diffstat (limited to 'openbsc/include/openbsc/vty.h')
0 files changed, 0 insertions, 0 deletions