commit | 2e363e48f8b0f6c11ad3184d9c010052605b480d | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Wed Sep 28 10:01:42 2016 -0700 |
committer | Chenbo Feng <fengc@google.com> | Thu Sep 29 12:38:53 2016 -0700 |
tree | c497f7d8fe7a9b8f9fbdbd3e996c6476a74911b0 | |
parent | 1a35848b34d6572a6b65fe50133414b2dcbea92b [diff] |
qtaguid: test: fix issue with buffer overflow Fixed the bug that test program cannot read socket addr directly from ctrl file, changed the implementation of read ctrl file to prevent possible fails when the ctrl file size is greater then the read buffer size. Test: manually tested on angler device. build and sync this module into device and run adb shell ./data/nativetest64/socketTag/socketTag Change-Id: I68a8513814a97d9417e13ad320a079510591d3a2