Files
asterisk/main
Richard Mudgett 47783a00a9 Fix some parsing issues in add_exten_to_pattern_tree().
* Simplify compare_char() and avoid potential sign extension issue.

* Fix infinite loop in add_exten_to_pattern_tree() handling of character
set escape handling.

* Added buffer overflow checks in add_exten_to_pattern_tree() character
set collection.

* Made ignore empty character sets.

* Added escape character handling to end-of-range character in character
sets.  This has a slight change in behavior if the end-of-range character
is an escape character.  You must now escape it.

* Fix potential sign extension issue when expanding character set ranges.

* Made remove duplicated characters from character sets.  The duplicate
characters lower extension matching priority and prevent duplicate
extension detection.

* Fix escape character handling when the escape character is trying to
escape the end-of-string.  We could have continued processing characters
after the end of the exten string.  We could have added the previous
character to the pattern matching tree incorrectly.

(closes issue ASTERISK-18909)
Reported by: Luke-Jr


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@347811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-12-09 01:19:23 +00:00
..
2010-12-20 09:14:29 +00:00
2011-06-01 23:11:55 +00:00
2011-09-26 19:30:39 +00:00
2007-12-11 22:20:22 +00:00
2011-09-13 07:11:36 +00:00
2010-06-17 17:23:43 +00:00
2008-07-21 21:00:47 +00:00
2009-03-18 02:28:55 +00:00
2011-04-20 05:25:15 +00:00
2011-10-11 00:43:14 +00:00
2010-05-18 22:48:51 +00:00
2010-04-22 18:07:02 +00:00