elua lib: sanitize all file paths before writing them
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 9 Jun 2015 13:01:25 +0000 (14:01 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 9 Jun 2015 13:01:25 +0000 (14:01 +0100)
commitb90c1bf90e67f1838152185dce5a270f3f824f6b
tree0255638c4cc55bb616076c3d72b616c875602bc4
parent6692319c7873e0fbb797f01bc2ca41c2d12824b4
elua lib: sanitize all file paths before writing them

This will prevent random nonsense from being written in.

It changes semantics slightly (documented) and also fixes
CID 1267463.

@fix
src/lib/elua/Elua.h
src/lib/elua/elua.c
src/tests/elua/elua_lib.c