# HG changeset patch # User Mark Doliner # Date 1077904781 0 # Node ID 8ae61bbc479f9845a9ccf442298bf2291b684ca0 # Parent 77baefe979c63af8187aba14c7a9e7060a4ed52f [gaim-migrate @ 9077] Thanks for Ronnie Misra for finding this bug and figuring out what was causing it! committer: Tailor Script diff -r 77baefe979c6 -r 8ae61bbc479f src/protocols/oscar/oscar.c --- 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; }