aboutsummaryrefslogtreecommitdiff
path: root/lib/asn1_decoder.c
diff options
context:
space:
mode:
authorSanrio Alvares <salvares@codeaurora.org>2016-02-08 18:42:08 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:59:17 +0200
commit45246aeeab710cb51832d0549fc8ff8ebf048f34 (patch)
tree9dfedbf33ec6908fe7934ba75261c4c7b99eb302 /lib/asn1_decoder.c
parent82832b1ca6bf78e365b67cf260f2a41c78ad2a93 (diff)
lib: align source before using optimized implementation
If the source is at the boundary of the VMA, loading one word at a time can cause an alignment fault when the adjacent VMA is IO mapped. Do byte-by-byte copy until source aligns to 8 bytes and then continue with optimized version. CRs-Fixed: 973724 Change-Id: I05e085597c58169fc6e275508a907029b9c7ec64 Signed-off-by: Sanrio Alvares <salvares@codeaurora.org> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Diffstat (limited to 'lib/asn1_decoder.c')
0 files changed, 0 insertions, 0 deletions