projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53f26aa
)
another null src, memcpy -> sk_careful_memcpy
author
mtklein
<mtklein@chromium.org>
Thu, 10 Dec 2015 15:42:47 +0000
(07:42 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Thu, 10 Dec 2015 15:42:47 +0000
(07:42 -0800)
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
src/xml/SkDOM.cpp
patch
|
blob
|
history
diff --git
a/src/xml/SkDOM.cpp
b/src/xml/SkDOM.cpp
index 68e2938d9a347b115ead05640cb2a076c50922c0..0f0b614f1116bed80ccf7cf5f4a1e6f9d9d43d34 100644
(file)
--- 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();
}