diff options
author | mtklein <mtklein@chromium.org> | 2015-12-10 07:42:47 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-10 07:42:47 -0800 |
commit | 067e90e72fdeba83eff7aeb917b2b25f74759282 (patch) | |
tree | 5c6469230c50ef69d4045c718ef8508763eccba9 /src/xml | |
parent | 53f26aa045d58feb9f2114f53629024bffe52dea (diff) |
another null src, memcpy -> sk_careful_memcpy
https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN/builds/3798/steps/dm/logs/stdio
BUG=skia:
Review URL: https://codereview.chromium.org/1510903005
Diffstat (limited to 'src/xml')
-rw-r--r-- | src/xml/SkDOM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/SkDOM.cpp b/src/xml/SkDOM.cpp index 68e2938d9a..0f0b614f11 100644 --- a/src/xml/SkDOM.cpp +++ b/src/xml/SkDOM.cpp @@ -240,7 +240,7 @@ protected: } *fParentStack.push() = node; - memcpy(node->attrs(), fAttrs.begin(), attrCount * sizeof(SkDOM::Attr)); + sk_careful_memcpy(node->attrs(), fAttrs.begin(), attrCount * sizeof(SkDOM::Attr)); fAttrs.reset(); } |