[OpenSIPS-Devel] SF.net SVN: opensips:[9610] branches/1.8/parser
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jan 22 13:19:16 CET 2013
Revision: 9610
http://opensips.svn.sourceforge.net/opensips/?rev=9610&view=rev
Author: bogdan_iancu
Date: 2013-01-22 12:19:16 +0000 (Tue, 22 Jan 2013)
Log Message:
-----------
backport from trunk (rev #9497)
- re-work of parse_hname2() (function that parses the name of headers) for fixing:
- do not accept spaces in the the name of the headers (not RFC compliant)
- do not include trailing spaces (between name and : separator) in the name (this affects detection of non-statdart headers - like "Foo" versus "Foo "
- buffer overflow when you have a non-standard header that are a prefix of a standard hdr (like "Content-L" versus "Content-Length") - this may leas to scaning entire memory space of the processs and even overflowing it.
- small various optimization in looking for the end of header name (like "From" versus "fromfoo")
Revision Links:
--------------
http://opensips.svn.sourceforge.net/opensips/?rev=9497&view=rev
Modified Paths:
--------------
branches/1.8/parser/case_acce.h
branches/1.8/parser/case_allo.h
branches/1.8/parser/case_auth.h
branches/1.8/parser/case_call.h
branches/1.8/parser/case_cont.h
branches/1.8/parser/case_cseq.h
branches/1.8/parser/case_dive.h
branches/1.8/parser/case_even.h
branches/1.8/parser/case_expi.h
branches/1.8/parser/case_from.h
branches/1.8/parser/case_max.h
branches/1.8/parser/case_min_.h
branches/1.8/parser/case_orga.h
branches/1.8/parser/case_p_as.h
branches/1.8/parser/case_p_pr.h
branches/1.8/parser/case_path.h
branches/1.8/parser/case_prio.h
branches/1.8/parser/case_priv.h
branches/1.8/parser/case_prox.h
branches/1.8/parser/case_reco.h
branches/1.8/parser/case_refe.h
branches/1.8/parser/case_remo.h
branches/1.8/parser/case_retr.h
branches/1.8/parser/case_rout.h
branches/1.8/parser/case_sess.h
branches/1.8/parser/case_subj.h
branches/1.8/parser/case_supp.h
branches/1.8/parser/case_unsu.h
branches/1.8/parser/case_user.h
branches/1.8/parser/case_via.h
branches/1.8/parser/case_www.h
branches/1.8/parser/parse_hname2.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list