forked from enlightenment/efl
fix segv, the new adress is not necessary the same as the old one
SVN revision: 26192
This commit is contained in:
parent
006784cbcd
commit
b1d7ba8071
|
@ -44,6 +44,7 @@ ecore_txt_convert(const char *enc_from, const char *enc_to, const char *text)
|
||||||
if (errno == E2BIG)
|
if (errno == E2BIG)
|
||||||
{
|
{
|
||||||
new_txt = realloc(new_txt, outalloc + 64);
|
new_txt = realloc(new_txt, outalloc + 64);
|
||||||
|
outp = new_txt + outlen;
|
||||||
outalloc += 64;
|
outalloc += 64;
|
||||||
outb += 64;
|
outb += 64;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue