init: Assign set value to avoid ambiguity 15/74615/1 accepted/tizen/common/20160627.191305 accepted/tizen/ivi/20160624.063530 accepted/tizen/mobile/20160624.063255 accepted/tizen/tv/20160624.063331 accepted/tizen/wearable/20160624.063424 submit/tizen/20160623.005438
authorsunm.lee <sunm.lee@samsung.com>
Wed, 15 Jun 2016 02:16:55 +0000 (11:16 +0900)
committersunm.lee <sunm.lee@samsung.com>
Wed, 15 Jun 2016 02:16:55 +0000 (11:16 +0900)
commitd6fab2df73af7913ffb765dca91d05b6f283154d
treee17cb3de6d98761f706d306b153c25cb7b50584a
parente866508e4b35f0fc3b16eb2107dbb3dba42ac23e
init: Assign set value to avoid ambiguity

The set value of uid/euid is set by 0 only it was invalid.
To avoid access to uninitialized value of set after that,
set the set value in the valid case too.

Change-Id: Ia6add4eb382402f901314cb91f971234c3a73bfe
Signed-off-by: sunm.lee <sunm.lee@samsung.com>
src/init.c