commit | b6dffc12ed1dc044ee3b67026140d37f325d7306 | [log] [tgz] |
---|---|---|
author | Zhihai Xu <zhihaixu@google.com> | Mon Dec 16 19:20:52 2013 -0800 |
committer | Zhihai Xu <zhihaixu@google.com> | Mon Jan 06 14:07:57 2014 -0800 |
tree | 1c9a206cd66cac572cff4bd325642cf1b3e027c3 | |
parent | 6567fa2d9d9d4f30e9ff5d1eb17794fae4771458 [diff] |
Crash pairing keyboard/mouse on N5 The crash is caused by read the source string out of bound. Should limit the length to copy less than source string length. should use the MIN(SDP_DISC_ATTR_LEN(p_curr_attr->attr_len_type), SDP_MAX_ATTR_LEN); as the length to copy. bug:12166360 Change-Id: I871d7dcaa8bf73aa27e9088417b35b677924bebd