ecore_x: Fix buffer overrun
authorSebastian Dransfeld <sd@tango.flipp.net>
Sat, 7 Dec 2013 17:32:17 +0000 (18:32 +0100)
committerSebastian Dransfeld <sd@tango.flipp.net>
Sat, 7 Dec 2013 20:11:34 +0000 (21:11 +0100)
commit752d627a93b56d8ffe640a30167a7cfb3d61bf91
tree8abece97a229d986d91cf9596b5362e9a3851976
parent8b72bd6e6d4aab3439eb4558c4a5776e17651f94
ecore_x: Fix buffer overrun

Use strncpy to prevent buffer overrun on buf, and '\0' terminate.

Fixes CID 1039584
src/lib/ecore_file/ecore_file_monitor_inotify.c