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>
Merge "msm_bam_rmnet: Fix potential memory corruption"
Merge ae1bdd522c484e3d972980ece5fc29d84f0f693d on remote branch

Change-Id: I778d3065d027e219a9dd513fa06562ff918671ab
Merge "Merge ae1bdd522c484e3d972980ece5fc29d84f0f693d on remote branch"