# HG changeset patch # User Tim Ringenbach # Date 1086231445 0 # Node ID 456ef1f4ba19b79a45d83712beca131fc2419b91 # Parent 3df7197abfe25fb049a37181b408b68a48603dad [gaim-migrate @ 9955] wing rights: Sorry, this is my fault, since I wrote the crashing code. I haven't done enough testing and/or inspection on the code, and this code is in 0.78. The crash occurs when gaim_markup_strip is called on a string which ends in <. When that happens, gaim_markup_strip happily tries to scan for a tag right *after* the terminating {nul} character. However, I didn't actually apply the patch until 0.79cvs, so the bug isn't in 0.78 like he originally thought, just cvs. Well not anymore. committer: Tailor Script diff -r 3df7197abfe2 -r 456ef1f4ba19 src/util.c --- a/src/util.c Thu Jun 03 01:25:22 2004 +0000 +++ b/src/util.c Thu Jun 03 02:57:25 2004 +0000 @@ -1267,7 +1267,7 @@ if(g_ascii_isspace(str2[k])) visible = TRUE; - else + else if (str2[k]) { /* Scan until we end the tag either implicitly (closed start * tag) or explicitly, using a sloppy method (i.e., < or >