Terry Wilson
9748f19e96
Always treat arguments to get_by_name_cb as strings
...
Initially, support was left in for the old style of searching, even
though it wasn't actually used. In the case of name_len != 0, the
OBJ_KEY flag isn't passed because we aren't matching on a full key
and therefor can't use the hash function to optimize. The code left
in to support the old way of searching unfortunately treated a prefix
search like this as though an ast_channel struct was passed as an arg
and caused a crash.
This patch also adds needed parentheses around some matching conditions.
(closes issue ASTERISK-19182)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-11 19:19:35 +00:00
..
2010-04-27 21:13:01 +00:00
2010-10-14 18:46:54 +00:00
2012-01-09 22:15:50 +00:00
2011-11-23 23:03:32 +00:00
2009-08-19 22:38:46 +00:00
2012-01-09 22:15:50 +00:00
2012-01-09 22:15:50 +00:00
2010-10-28 20:01:28 +00:00
2011-03-07 01:01:08 +00:00
2010-10-28 20:01:28 +00:00
2010-10-28 20:01:28 +00:00
2011-03-07 01:01:08 +00:00
2012-01-09 17:06:30 +00:00
2010-07-14 20:48:59 +00:00
2010-09-24 03:43:14 +00:00
2009-11-06 15:42:46 +00:00
2011-12-31 15:45:57 +00:00
2011-12-28 21:39:12 +00:00
2012-01-09 22:15:50 +00:00
2010-07-20 22:26:23 +00:00
2012-01-09 22:15:50 +00:00
2011-03-14 16:55:30 +00:00
2012-01-09 22:15:50 +00:00
2012-01-09 22:15:50 +00:00
2012-01-09 22:15:50 +00:00
2012-01-09 22:15:50 +00:00
2012-01-11 19:19:35 +00:00
2012-01-09 22:15:50 +00:00
2011-12-12 19:35:08 +00:00
2011-02-22 23:04:49 +00:00
2010-07-01 22:16:23 +00:00
2012-01-09 19:37:23 +00:00
2010-11-10 12:52:46 +00:00
2012-01-09 22:15:50 +00:00
2009-07-08 16:43:12 +00:00
2011-11-22 23:06:11 +00:00
2012-01-09 22:15:50 +00:00
2011-08-09 17:08:33 +00:00
2011-09-22 16:35:20 +00:00
2012-01-09 22:15:50 +00:00
2012-01-09 22:15:50 +00:00
2010-07-02 15:57:02 +00:00
2011-10-31 17:51:22 +00:00
2011-02-22 23:04:49 +00:00
2011-11-07 18:42:04 +00:00
2011-09-07 00:54:36 +00:00
2010-09-20 22:16:37 +00:00
2011-05-03 20:45:32 +00:00
2010-06-08 05:29:08 +00:00
2011-01-31 06:50:49 +00:00
2011-07-14 20:28:54 +00:00
2011-02-03 16:22:10 +00:00
2012-01-09 22:15:50 +00:00
2011-12-12 19:35:08 +00:00
2011-04-20 05:28:36 +00:00
2011-12-12 19:35:08 +00:00
2011-09-19 20:31:09 +00:00
2012-01-09 22:15:50 +00:00
2011-12-19 19:55:18 +00:00
2011-08-18 21:39:04 +00:00
2010-12-10 16:28:14 +00:00
2012-01-09 22:15:50 +00:00
2011-05-03 20:45:32 +00:00
2010-09-07 19:09:08 +00:00
2012-01-09 22:15:50 +00:00
2012-01-09 22:15:50 +00:00
2010-12-20 17:15:54 +00:00
2011-09-22 16:35:20 +00:00
2011-10-11 19:06:29 +00:00
2011-02-22 23:04:49 +00:00
2011-05-27 23:46:07 +00:00
2009-07-09 08:31:24 +00:00
2011-01-10 22:40:23 +00:00
2010-05-18 22:48:51 +00:00
2011-12-01 21:19:41 +00:00
2009-06-26 13:00:35 +00:00
2011-02-04 16:55:39 +00:00
2011-11-30 23:38:34 +00:00
2011-07-28 21:46:27 +00:00
2011-08-22 19:19:44 +00:00
2010-11-08 22:03:54 +00:00
2011-02-23 23:55:58 +00:00
2012-01-09 22:15:50 +00:00
2009-08-19 22:38:46 +00:00
2011-11-11 22:00:14 +00:00
2010-04-22 18:07:02 +00:00
2011-10-10 14:16:27 +00:00