diff options
author | Martijn Coenen <maco@google.com> | 2011-05-31 16:03:26 -0700 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2011-05-31 19:06:59 -0700 |
commit | 0aa1017f9183bca752c95af72f73120e102ab2d3 (patch) | |
tree | 6abf9c992f13b966d15e8b9783953704e75012ea /tools/aidl/generate_java.cpp | |
parent | 1b755dea38cc428a4adb8b8954bbafaa9c0441fb (diff) |
Prevent allocation overflows by corrupt NDEF records.
Basic sanity check for the length fields in NdefRecord; this prevents
malformed NdefRecords from crashing the vm and the entire NFC service
with it.
Bug: 4165324
Change-Id: I67b341d445d6647cb76cc24ea49afaf77de0610e
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions