gaim/gaim

Fix bug 1121570 - crash parsing invalid html
oldstatus
2005-02-13, Stu Tomlinson
a307566d0414
Parents c759cdc87604
Children 41d036d4747a
Fix bug 1121570 - crash parsing invalid html
  • +4 -1
    src/util.c
  • --- a/src/util.c Sat Feb 12 00:33:14 2005 -0500
    +++ b/src/util.c Sun Feb 13 14:12:13 2005 -0500
    @@ -1090,7 +1090,10 @@
    }
    p++;
    }
    - c = strchr(c, '>') + 1;
    + if ((c = strchr(c, '>')) != NULL)
    + c++;
    + else
    + c = p;
    pt = g_new0(struct gaim_parse_tag, 1);
    pt->src_tag = "font";
    pt->dest_tag = "span";