jni: Address the security bug

- Check the length of the string before memcpy.

Change-Id: Idf599c903dc546e4481fab8f022d87b65cc85601
CRs-Fixed: 538560
1 file changed
tree: 635e7bda390b9d68a04d99d69da058fb7b4cbe89
  1. fmapp/
  2. fmapp2/
  3. FMRecord/
  4. jni/
  5. qcom/
  6. Android.mk