Steve Murphy
4e29ae8806
Merged revisions 109309 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r109309 | murf | 2008-03-18 00:37:15 -0600 (Tue, 18 Mar 2008) | 17 lines
(closes issue #11903 )
Reported by: atis
Many thanks to atis for spotting this problem and reporting it.
The fix was to straighten out how items are placed on and removed
from the file stack. Regressions as well as the provided test case
helped to straighten out all code paths. valgrind was used to make
sure all memory allocated was freed.
Sorry for not solving this earlier. I got distracted.
Added the ntest23 regression test, which is mainly a copy of ntest22,
but with a few juicy errors thrown in, to replicate the kind of
error that atis spotted.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@109357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-18 14:09:50 +00:00
..
2008-03-03 15:59:50 +00:00
2007-11-19 19:36:32 +00:00
2007-11-17 14:11:53 +00:00
2007-12-11 14:17:29 +00:00
2007-12-11 14:17:29 +00:00
2007-05-24 22:07:50 +00:00
2008-02-15 23:14:32 +00:00
2007-12-11 14:17:29 +00:00
2007-12-11 14:17:29 +00:00
2008-03-01 01:30:37 +00:00
2007-12-11 14:17:29 +00:00
2008-02-26 20:02:14 +00:00
2007-12-11 14:17:29 +00:00
2007-11-16 20:04:58 +00:00
2007-12-11 14:17:29 +00:00
2007-11-16 21:08:28 +00:00
2008-03-12 18:29:33 +00:00
2008-03-17 22:10:06 +00:00
2007-12-11 14:17:29 +00:00
2007-12-11 14:17:29 +00:00
2008-03-10 14:36:16 +00:00
2008-03-13 21:40:43 +00:00
2007-11-28 20:27:40 +00:00
2007-12-03 23:52:23 +00:00
2008-03-11 22:55:16 +00:00
2007-07-16 02:51:56 +00:00
2007-12-11 14:17:29 +00:00
2008-01-25 02:52:10 +00:00
2008-03-14 21:20:36 +00:00
2007-12-11 22:20:22 +00:00
2008-03-05 16:23:44 +00:00
After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
2007-07-19 23:24:27 +00:00
2007-11-17 03:28:31 +00:00
2007-07-16 02:51:56 +00:00
2007-08-29 15:19:11 +00:00
2008-02-02 06:10:20 +00:00
2008-03-18 14:09:50 +00:00
2008-01-23 23:09:11 +00:00
2007-12-15 11:34:33 +00:00
2008-03-05 22:43:22 +00:00
2007-08-06 19:52:40 +00:00
2008-03-01 01:30:37 +00:00
2007-12-11 14:17:29 +00:00
2008-03-12 22:13:18 +00:00
2007-11-23 09:03:33 +00:00
2007-01-01 20:08:47 +00:00
2007-12-11 14:17:29 +00:00
2008-02-12 14:08:58 +00:00
2007-09-25 09:07:30 +00:00
2008-01-02 18:21:04 +00:00
2007-11-08 05:28:47 +00:00
2008-01-09 21:37:26 +00:00
2008-02-28 22:39:26 +00:00
2007-12-14 18:54:48 +00:00
2008-02-22 22:55:35 +00:00
2007-11-16 20:04:58 +00:00
2007-12-11 14:17:29 +00:00
2008-02-27 08:20:15 +00:00
2007-07-10 15:07:25 +00:00
2007-07-16 02:51:56 +00:00
2007-12-16 10:51:53 +00:00
2007-12-08 03:26:09 +00:00
2007-07-23 14:21:41 +00:00
2007-12-20 09:55:05 +00:00
2008-03-17 17:47:36 +00:00
2007-11-16 20:04:58 +00:00
2008-03-07 18:57:57 +00:00
2008-01-21 18:15:57 +00:00
2008-03-04 18:08:42 +00:00
2007-07-16 02:51:56 +00:00
2008-03-12 21:19:30 +00:00
2007-11-16 20:04:58 +00:00
2008-03-12 21:06:50 +00:00
2008-02-26 00:31:40 +00:00
2007-08-13 21:59:15 +00:00
2007-11-06 02:53:13 +00:00
2007-11-16 21:08:28 +00:00
2008-02-15 17:29:08 +00:00
2008-03-12 22:13:18 +00:00
2007-11-06 19:10:26 +00:00
2007-12-11 22:20:22 +00:00
2007-12-18 02:42:44 +00:00
2008-02-15 17:29:08 +00:00
2007-12-11 22:20:22 +00:00
2008-01-18 21:38:01 +00:00
2007-12-11 22:20:22 +00:00
2007-12-11 22:20:22 +00:00
2007-12-11 16:29:29 +00:00
2007-11-20 23:16:15 +00:00
2007-12-11 22:20:22 +00:00