commit | 25eeaab7c203a7699623ff072b924daa02b62309 | [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 | 165dc7ae2b267beffdeaff9702dec5af6f0d6aa0 [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.