Changeset 3575

Show
Ignore:
Timestamp:
08/21/08 20:11:16 (3 months ago)
Author:
cstender
Message:

backport of commit 3574

fixed infinite loop in vformat (ticket 670 & 742)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/branch-0.2X/opensync/formats/vformats-xml/vformat.c

    r1852 r3575  
    572572                        g_string_assign (str, ""); 
    573573                        _skip_until (&lp, ":;"); 
     574                        if (*lp == '\r') { 
     575                                osync_trace(TRACE_INTERNAL, "string ended unexpectedly with \\r, skipping it"); 
     576                                break; 
     577                        } 
     578 
    574579                } 
    575580        }