commit | 65855e3ae2b29d69ab53c00375ee200678300656 | [log] [tgz] |
---|---|---|
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | Thu Sep 25 18:50:49 2014 -0600 |
committer | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | Thu Oct 09 11:30:29 2014 -0600 |
tree | af774ca032cbcb574d7731840558859482d19490 | |
parent | 429fec05437f4a9c6621e6a56aa86e5c76bce1a8 [diff] |
msm_rmnet: Fix potential memory corruption Usage of legacy string manipulation function sprintf could lead to memory corruption as the number of bytes to be written to the destination is not bounded. Replace sprintf with snprintf where the number of bytes to be written is explicitly specified. CRs-fixed: 672202 Change-Id: I1788d655f048124c6b7cccee4345d8239743ada8 Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>