commit | 31e31d7d9ee33ecea94cac8fa7ad34a68d3fe61a | [log] [tgz] |
---|---|---|
author | Karthikeyan Ramasubramanian <kramasub@codeaurora.org> | Thu Jan 03 15:59:54 2013 -0700 |
committer | Karthikeyan Ramasubramanian <kramasub@codeaurora.org> | Wed Jan 09 09:28:52 2013 -0700 |
tree | abe2d066d132b3d643814db31a8c4bf0056bea41 | |
parent | 05408ea0d894e7ddf3eda52f799081bdd2930679 [diff] |
lib: qmi: Add check to avoid out of bound memory access If QMI clients pass an invalid maximum message length parameter, the QMI message encode operation may perform an out of bound encode buffer access. Add a check in the QMI message encode operation to avoid out of bound buffer access. CRs-Fixed: 437329 Change-Id: I9d16078fade8160f327a8a77aea6c2a8e66b3127 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>