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
This commit is contained in:
parent
53f26aa045
commit
067e90e72f
@ -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();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user