DescriptionPepper: Fix PPB_TrueTypeFont GetFontsInFamily function.
Function is incorrectly copying a std::wstring into a buffer.
BUG=452886
Committed: https://crrev.com/5871c0e16696dda533f3a5461e7c27cada23a656
Cr-Commit-Position: refs/heads/master@{#313828}
Patch Set 1 #Patch Set 2 : Use std::wstring::copy instead of memcpy. #Patch Set 3 : Fix compile. #
Total comments: 2
Patch Set 4 : Leave room for null-terminator. #Messages
Total messages: 10 (2 generated)
|