commit | 4046c1f4fe2ae25c8f0fa202890bdf01e30eb15f | [log] [tgz] |
---|---|---|
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | Mon Jun 02 16:14:43 2014 -0600 |
committer | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | Mon Jun 23 17:24:38 2014 -0600 |
tree | e12a7f7d14cfc8aeb80e6bf52684b3cf45f7132c | |
parent | 4efb099530e51c187fe8bd1b0e387c18df49c8d6 [diff] |
msm_bam_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: Iab7516ad0e2540eb619fe96e26a3516c7adf86cc Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>