commit | 0aa1017f9183bca752c95af72f73120e102ab2d3 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Tue May 31 16:03:26 2011 -0700 |
committer | Martijn Coenen <maco@google.com> | Tue May 31 19:06:59 2011 -0700 |
tree | 6abf9c992f13b966d15e8b9783953704e75012ea | |
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