Chromium Code Reviews
Descriptionbluetooth: Check if device name is null before trying to convert
Since http://crrev.com/1828193002 ConvertJavaStringToUTF8 crashes
when passed in null. To avoid that we first check if the
name returned by android is null and if so return an empty string.
BUG=602189
Review URL: https://codereview.chromium.org/1876753004
Cr-Commit-Position: refs/heads/master@{#386733}
(cherry picked from commit baefa2c7c7188832268e60b063103673edf8a34f)
Committed: https://chromium.googlesource.com/chromium/src/+/da2f05663a306485d1a846267c6d65519387c5af
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||