Validate find_pkgname before use it.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 25 Sep 2014 05:33:39 +0000 (14:33 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 25 Sep 2014 05:33:39 +0000 (14:33 +0900)
commit2c6e8e2c65276c056865a0745ca487fa4116ad5f
tree691df13a0e7e584c2b8a6b4fb476a1a4be6992cb
parentbe9bff3a1918e4be3352d7af247784450c6d383c
Validate find_pkgname before use it.

If a user calls set_extra_info function before create a window,
it will access the uninitialized function pointer.

To guide them to do not use this API before creating window is not enough.
So this patch should need to be applied. to prevent from unexpected crash issue.

[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I53468147ba4339557a7b4f59c3c5d32bcc6805a1
src/dynamicbox.c