aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2014-06-02 16:14:43 -0600
committerGerrit - the friendly Code Review server <code-review@localhost>2014-07-11 23:23:47 -0700
commit47af311b3624e577020df9cc17b68bcdaa93935f (patch)
tree87b8d2a90997873bc6c386433227f41c0ec95881 /lib/mpi/mpi-add.c
parent72e4b3a44782b123ec7b43bc72d09d55a7df1614 (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>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions