commit | bd2a364bdad917c770911e7d75b53291b18cb1c4 | [log] [tgz] |
---|---|---|
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | Thu Sep 25 18:48:26 2014 -0600 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Oct 09 11:02:50 2014 -0700 |
tree | 3c0a41420acbbc1e5290919b142712e91cd8a92c | |
parent | 429fec05437f4a9c6621e6a56aa86e5c76bce1a8 [diff] |
msm_rmnet_sdio: 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: Ic26bea1ddf9570a4970fc8c4373b066aa385e427 Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>