app_shared_dir_add_readers() accepts NULL in 'app_list' not ""
authorJan Cybulski <j.cybulski@samsung.com>
Thu, 18 Apr 2013 13:43:35 +0000 (15:43 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 24 Apr 2013 13:47:47 +0000 (15:47 +0200)
commit483ff207eb99bd4ed6f0c6415eae1f7734d5e2e3
tree767b147a0af51e60c6fd4dbfb6aa90ab0ec3254b
parent6ba1f4cdba006fc483d30fc5b85fbefc76e0ee1a
app_shared_dir_add_readers() accepts NULL in 'app_list' not ""

    [Issue#] SSDWSSP-196
    [Feature/Bug] app_shared_dir_add_readers() does not accept NULL in a list of arguments
    [Problem] N/A
    [Cause] Unification to other API functions
    [Solution] check if there if a NULL in a list of readers. Threat it as an end of a list.
    [Verification] libprivilege-control-test --output=text

Change-Id: I13079b349b9cdfb1ca6a01924e4e0f563f1b7e0f
src/privilege-control.c