Mercurial > pidgin
changeset 8353:8ae61bbc479f
[gaim-migrate @ 9077]
Thanks for Ronnie Misra for finding this bug and figuring out
what was causing it!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 27 Feb 2004 17:59:41 +0000 |
parents | 77baefe979c6 |
children | 43dec50d8d51 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Fri Feb 27 01:48:11 2004 +0000 +++ b/src/protocols/oscar/oscar.c Fri Feb 27 17:59:41 2004 +0000 @@ -5559,8 +5559,9 @@ g_free(buf); buf = gaim_markup_strip_html(buf2); + len = strlen(buf); g_free(buf2); - if (strlen(buf) > c->maxvis) { + if (len > c->maxvis) { g_free(buf); return -E2BIG; }