Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MTP: add strict bounds checking for all incoming packets | Mike Lockwood | 2014-11-12 | 1 | -1/+1 |
| | | | | | | | | | | | Previously we did not sanity check incoming MTP packets, which could result in crashes due to reading off the edge of a packet. Now all MTP packet getter functions return a boolean result (true for OK, false for reading off the edge of the packet) and we now return errors for malformed packets. Bug: 18113092 Change-Id: Ic7623ee96f00652bdfb4f66acb16a93db5a1c105 | ||||
* | PTP host: Implement getObjectHandles and getObjectInfo commands | Mike Lockwood | 2010-05-19 | 1 | -0/+60 |
Change-Id: I3ff6e52237f400b4e50c534a1f964c80789bfe98 Signed-off-by: Mike Lockwood <lockwood@android.com> |