Enlightenment CVS committal

Author  : rbdpngn
Project : misc
Module  : erss

Dir     : misc/erss/src


Modified Files:
        parse.c 


Log Message:
Make sure we get to the end of the open tag.

===================================================================
RCS file: /cvsroot/enlightenment/misc/erss/src/parse.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- parse.c     13 Jan 2004 22:52:00 -0000      1.12
+++ parse.c     13 Jan 2004 22:57:33 -0000      1.13
@@ -31,7 +31,10 @@
                goto err_clean_c;
 
        /* Move to the end of the found opening tag. */
-       start_tmp += size - 2;
+       start_tmp = strchr(start_tmp, '>');
+       if (!start_tmp)
+               goto err_clean_c;
+       start_tmp++;
 
        /* Locate the closing tag of the specified type. */
        snprintf (c, size, "</%s>", type);




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to