commit | 83d54a44ffbd19bb35599fb6483233e1e3751852 | [log] [tgz] |
---|---|---|
author | Yuta Ui <yuta.x.ui@sonymobile.com> | Tue Jan 19 14:12:10 2016 +0900 |
committer | Zoran Jovanovic <zoran.jovanovic@sonymobile.com> | Mon Feb 08 16:01:36 2016 +0100 |
tree | 6a38509d74f8f68624042343b8255a626ba8b3bd | |
parent | 20955c93012f767aed597258725c4c1033b757ac [diff] |
Fix check of the size of the alpha identifier This change fixes an issue that FDN number is unexpectedly overwritten by wrongly encoded FDN name. The issue can happen if user enter FDN name which contains multibyte character. That is because AdnRecord does not check the length of the alpha identifier correctly. mAlphaTag.length() does not return the size of the alpha identifier but returns the number of characters. Change-Id: I109a01eea6519a6a09a8bf7a143eaafd8c04025e