summaryrefslogtreecommitdiff
path: root/src/vm/arm
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-06-09 19:48:49 +0900
committerJan Kotas <jkotas@microsoft.com>2017-06-09 03:48:49 -0700
commit2c6ed7fedb868885660cd656c763e04464a9a284 (patch)
treef9ac5f73347dcce152b1f9fb0238f1c523988fb2 /src/vm/arm
parentf846eb71aebefeb0363682c1fd0ef86bee82865a (diff)
downloadcoreclr-2c6ed7fedb868885660cd656c763e04464a9a284.tar.gz
coreclr-2c6ed7fedb868885660cd656c763e04464a9a284.tar.bz2
coreclr-2c6ed7fedb868885660cd656c763e04464a9a284.zip
[ARM/Linux] Validate memory using ldrb instead of ldr (#12191)
Diffstat (limited to 'src/vm/arm')
-rw-r--r--src/vm/arm/memcpy.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/arm/memcpy.S b/src/vm/arm/memcpy.S
index b9788605f7..0c2c26e1d8 100644
--- a/src/vm/arm/memcpy.S
+++ b/src/vm/arm/memcpy.S
@@ -22,8 +22,8 @@
PROLOG_PUSH "{r7, lr}"
PROLOG_STACK_SAVE r7
- ldr r3, [r0]
- ldr r3, [r1]
+ ldrb r3, [r0]
+ ldrb r3, [r1]
blx C_FUNC(memcpy)