forked from enlightenment/enlightenment
E17: avoid seg fault when the string passed to strlen() is NULL
Patch by Maxime Villard (rustyBSD) SVN revision: 77016
This commit is contained in:
parent
7f93d7305b
commit
d5e3385fd9
|
@ -986,6 +986,8 @@ _e_fm_op_update_progress_report(int percent, int eta, double elapsed, off_t done
|
|||
int size, src_len, dst_len;
|
||||
int ret = 0;
|
||||
|
||||
if (!dst) return;
|
||||
|
||||
src_len = strlen(src);
|
||||
dst_len = strlen(dst);
|
||||
|
||||
|
|
Loading…
Reference in New Issue