OSDN Git Service

android: Fix crash in property_get stub
authorSzymon Janc <szymon.janc@tieto.com>
Thu, 17 Oct 2013 20:28:39 +0000 (22:28 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 18 Oct 2013 07:15:05 +0000 (10:15 +0300)
commit63b0fede0f8140be8b4534a6d7d0ae06dfe4da23
treecf08e4be8065e306dc409dbaa5f3503ea43f5903
parent11c3ef8a932dbb2da49299b6d31a6c1d73ce7325
android: Fix crash in property_get stub

If value was not found and default_value was not provided NULL pointer
was passed as argument to strncpy resulting in crash.
android/cutils/properties.h