Create format strings for scanf statically.
authorRafal Krypa <r.krypa@samsung.com>
Fri, 26 Jul 2013 10:36:08 +0000 (12:36 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 19 Aug 2013 12:13:59 +0000 (14:13 +0200)
commit75c22eb0622916b74754a06bc35f3a3301659206
tree4d92eea8a02766b89a82271133cdac610aec42c1
parentc80edae551acd4b4190f9291f5ef2df0afe1e9f8
Create format strings for scanf statically.

[Issue#]       SSDWSSP-372
[Feature]      Remove unneeded memory allocations for scanf format strings.
[Cause]        When reading Smack rules, fields length must be checked.
[Solution]     Create format strings with legnth specifiers at build time.
[Verification] Build, install, run tests.

Change-Id: Ib0b20e3d46fe0d4af957f13a37627d14831283d2
src/access-db.c
src/privilege-control.c