platform_system_core/gatekeeperd
Kihyung Lee d9ad02e3e0 Fix memory leak when GateKeeperProxy.verify() returns
After verify() calls verifyChallenge(), the caller acquires the ownership of
returned memory block pointed by *auth_token.
However, the current implementation directly returns and lost the reference
of auth_token without freeing it from heap memory.

This patch solves this problem by explicitly deleting the auth_token array.

Change-Id: I6cfe8427174aa36fbb208e2fff8904095f468ec6
2018-06-18 11:05:42 +09:00
..
tests Merge "gatekeeperd: use std::unique_ptr" into oc-mr1-dev 2017-08-18 19:18:46 +00:00
Android.mk Don't look up parent user SID. 2017-06-28 20:38:33 +01:00
gatekeeperd.cpp Fix memory leak when GateKeeperProxy.verify() returns 2018-06-18 11:05:42 +09:00
gatekeeperd.rc Move gatekeeperd to system-background cpuset. 2016-04-15 14:29:40 +02:00
IGateKeeperService.cpp Credential FRP: keep gatekeeperd credentials after reset 2017-04-18 20:50:52 +00:00
IGateKeeperService.h Credential FRP: keep gatekeeperd credentials after reset 2017-04-18 20:50:52 +00:00
SoftGateKeeper.h gatekeeperd: use std::unique_ptr 2017-08-17 14:58:23 +09:00
SoftGateKeeperDevice.cpp [gatekeeperd] return brute-force throttling information 2015-05-27 07:45:22 -07:00
SoftGateKeeperDevice.h gatekeeperd: use std::unique_ptr 2017-08-17 14:58:23 +09:00