eina_vpath do not pass things through snprintf when not expected.
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Sat, 27 Apr 2019 09:57:50 +0000 (11:57 +0200)
committerWoochanlee <wc0917.lee@samsung.com>
Tue, 30 Apr 2019 01:03:06 +0000 (10:03 +0900)
commitafbc36cf86c59f2f0d97775c019ef37c103ad3a6
tree7863954d401bbae36b34f4509657ccd44534eb51
parenta0ad84af16408d7a768dcaa1212c248af4e48494
eina_vpath do not pass things through snprintf when not expected.

lets assume a user passes in a string like "blabla%dehydra" then %d will
be resolved by snprintf. Which is probebly not what we want. This
resolves this case and ensures that eina_vpath_resolve does not get
piped through snprintf

Reviewed-by: Dave Andreoli <dave@gurumeditation.it>
Differential Revision: https://phab.enlightenment.org/D8753
src/lib/eina/eina_vpath.c