[3.0] Fix Svace issues 30/76930/3 accepted/tizen/common/20160629.223338 accepted/tizen/ivi/20160630.003707 accepted/tizen/mobile/20160630.003637 accepted/tizen/tv/20160630.003609 accepted/tizen/wearable/20160630.003800 submit/tizen/20160629.094059
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 28 Jun 2016 04:41:20 +0000 (13:41 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 29 Jun 2016 06:02:12 +0000 (15:02 +0900)
commit1a0e02eaca706014652713d8e974ff4994b2f019
treeaadd3a9d10f7bd27fa706147f7f17977a0e1ae40
parente41f8a717a2e223d848065366a089fc0425c18e1
[3.0] Fix Svace issues

- Return value of a function GetMap() has to be checked for NULL at shader-impl.cpp
- Use 'rand_r' function instead of vulnerable function 'rand' at random.h

Change-Id: Ib28207bcb87b073eea34887233514c31958c11f1
dali/internal/event/rendering/shader-impl.cpp
dali/public-api/math/random.h