OSDN Git Service

fix possible buffer overrun and memory leak
authorSungmin Choi <sungmin.choi@lge.com>
Fri, 21 Dec 2012 05:24:33 +0000 (14:24 +0900)
committerSungmin Choi <sungmin.choi@lge.com>
Thu, 30 May 2013 03:18:51 +0000 (20:18 -0700)
commitec3d44cc7e5308cbfb166166da939a5b5ad216bc
tree2cadf2660d1081527012475820d00583cae2dce2
parent9b76b2d29fa338a128f699a1f40f7f5916a512af
fix possible buffer overrun and memory leak

Use snprintf instead of sprintf and fclose() before return.

Change-Id: I3ed193464cc0dc90e9935ae19162667ad367628b
core/jni/android_util_Binder.cpp