Changeset 5202


Ignore:
Timestamp:
Nov 26, 2015 4:35:06 AM (5 years ago)
Author:
riza
Message:

Re #1882 (misc): Fix bug in parser,which may loop infinitely when it doesn't fine the required character.
Thanks to Oleg Grazhdan for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_parser.c

    r5170 r5202  
    19961996            int_parse_param(scanner, ctx->pool, &prm->name, &prm->value, 0); 
    19971997            pj_list_push_back(&hdr->param, prm); 
     1998        } else { 
     1999            on_syntax_error(scanner); 
    19982000        } 
    19992001    } 
Note: See TracChangeset for help on using the changeset viewer.