test for path length accurately here

SVN revision: 76810
This commit is contained in:
Mike Blumenkrantz 2012-09-18 11:51:27 +00:00
parent 03a578abae
commit bd8545dafd
1 changed files with 1 additions and 0 deletions

View File

@ -10228,6 +10228,7 @@ _e_fm_error_link_source(void *data, E_Dialog *dialog)
f = ecore_file_file_get(file);
if (!f) return;
length = strlen(f);
if (strlen(ere->dst) + length >= PATH_MAX) return;
newpath[0] = 0;