commit | ffd6856249ae3de42d17a2146a3c03e0597b2c53 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Sep 04 20:42:20 2012 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Sep 11 16:23:31 2012 +0200 |
tree | 662364363194c33853eda6aa05fd3145c32c77de | |
parent | 7a7c2f85679bae57d17e43c3f8595d98f4ee629b [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.