Fix for rild crash becasue of buffer overflow
authorAjay Nambi <anambi@codeaurora.org>
Wed, 5 Aug 2015 09:23:50 +0000 (14:53 +0530)
committerChristopher N. Hesse <raymanfx@gmail.com>
Sat, 10 Sep 2016 23:59:53 +0000 (01:59 +0200)
commit323c882404bf5f979bc49a8a49ea202c7d40cbcc
tree2526b736bfe92e68f4a5a3a9efb502a7d94a1fb6
parent022eadd45887b41cd87a6e9482f83c08c1abd081
Fix for rild crash becasue of buffer overflow

There is a buffer overflow which causing rild crash. For
appendPrintBuf, "sprintf" is replaced with "snprintf" for
the safe copy operation.

Bug:23289936
Change-Id: I25430a5c6f2a8b19a3271235323499b6ee802746
ril/libril/ril.cpp