Mercurial > pidgin.yaz
changeset 9170:456ef1f4ba19
[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 <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Thu, 03 Jun 2004 02:57:25 +0000 |
parents | 3df7197abfe2 |
children | 66027eb31f97 |
files | src/util.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 >