Commit Graph

24515 Commits

Author SHA1 Message Date
Travis Cross 6d5018007b Add missing text editor local variable blocks 2013-05-25 19:05:34 +00:00
William King db0d03532d Fix a possible deadlock scenario in the impossible scenario from the last patch. 2013-05-25 11:06:01 -07:00
William King 7be8184b2a Redundant code. The if/else block makes more sense than the equivalent in two separate if's. 2013-05-25 07:47:09 -07:00
William King 938699d0b6 Better to not pass tmp_socket to setsockopt if there was an error here creating the socket. 2013-05-25 07:37:28 -07:00
William King 7d531c0966 It's been missing a break there for ~4 years and instead using the 8k max_ms values(the ptime_div value is the same). 2013-05-25 07:15:49 -07:00
William King f04842d4c8 Cleaning up logically dead code. 2013-05-25 07:02:49 -07:00
William King acf9a72e3f This condition should NEVER be hit, but in case the started thread is unable to locate itself in the EVENT_DISOATCH_QUEUE_THREADS array, it's best to return null here and kill the unexpected event thread rather than segfault FS by writing outside of the bounds of the EVENT_DISPATCH_QUEUE_RUNNING array. 2013-05-25 06:51:37 -07:00
William King 5d939b9652 Small off by one error. If the array is of size 144, then an index of 144 inclusive is an error. 2013-05-25 06:41:03 -07:00
William King 12f2f674f9 Let's bit a bit safer when dereferencing pointers. 2013-05-24 20:24:04 -07:00
William King 480407e5f3 Removing logically dead code 2013-05-24 19:59:32 -07:00
William King 9ea90341f7 If there is a problem reading the dictionary file, don't leak memory... 2013-05-24 19:55:50 -07:00
William King 2e6d3a1f2a Removing unused code 2013-05-24 19:53:26 -07:00
William King b42ee84933 More explicit and defensive code so if the init fails we know we handling this pointer safely, because rc_config_init will free the pointer if there was a problem, but it will not set the pointer to NULL. 2013-05-24 19:49:33 -07:00
William King dc4209275d Another location where mod_rtmp would leak memory. 2013-05-24 19:45:38 -07:00
William King 194e1ae366 Fix improper handling of a double linked list that could have caused a memory leak. 2013-05-24 19:42:17 -07:00
William King e2d6bc3340 Appears to have been a copy paste error because this doesn't do what the api claims, and it also leaks the reference to the new node. 2013-05-24 19:35:56 -07:00
William King f3fd94b3e5 Fixing a memory leak. name needs to be freed since it's being strdup'd lower. 2013-05-24 19:31:26 -07:00
Anthony Minessale f7056e0e5f bump 2013-05-24 14:25:07 -05:00
Anthony Minessale 54866952f2 bump 2013-05-24 14:18:07 -05:00
Anthony Minessale 4bf4b2c408 FS-5470 --resolve 2013-05-24 09:37:25 -05:00
Anthony Minessale f42fffb65f FS-5466 --resolve 2013-05-24 09:14:13 -05:00
Anthony Minessale 7f3c160793 FS-5453 --resolve 2013-05-24 08:13:41 -05:00
Mariusz Czułada 3866a6e15c FS-5042 changed event body creation 2013-05-24 12:18:00 +02:00
Raymond Chandler 610718fdff FS-4871: reduce logging a bit 2013-05-23 20:51:25 -04:00
Anthony Minessale e02992bc6c FS-5453 --resolve this is a different issue, we just have to hangup the loopback channel so the loopback and the sip don't both execute the extension 2013-05-23 09:59:00 -05:00
Anthony Minessale e169212319 swig 2013-05-23 09:53:50 -05:00
Anthony Minessale 606e197ac6 FS-5042 --resolve 2013-05-23 08:07:10 -05:00
Anthony Minessale 1b1bdf6816 FS-5453 --resolve 2013-05-23 08:00:03 -05:00
Nathan Neulinger 514fc941c0 FS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault 2013-05-23 08:13:44 -05:00
Michael S Collins 5556731b64 More phrases 2013-05-22 17:39:20 -07:00
Stefan Knoblich cb9090dc93 esl: Don't abort the esl_listen() loop(s) if accept() returns with errno == EINTR
ivrd doesn't use sigaction + SA_RESTART for SIGCHILD. An exiting
child process will interrupt accept() in the parent to handle
the signal, which makes accept() return -1 (errno = EINTR) after
the sighandler function returns.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-23 02:07:55 +02:00
Stefan Knoblich ca1d407921 ivrd: fflush() stdout before entering esl_listen()
Fixes repeatedly printing the 'Starting forking listener' message,
if stdout has been redirected into a logfile (for example).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-23 02:05:25 +02:00
Michael S Collins 35410600dc Add new to-be-recorded phrases highlighting weekly conf call (to add to new demo IVR) 2013-05-22 13:17:14 -07:00
William King 15f43bac09 FS-5440: don't assert on bad input rtmp data 2013-05-22 12:38:23 -07:00
Anthony Minessale 6cdb46889c FS-5402 --resolve the problem is ent originate has many channels and many causes to parse so we need to check it against all the causes 2013-05-22 11:01:39 -05:00
Anthony Minessale 790e9b4d33 FS-5360 change defaults 2013-05-22 10:20:41 -05:00
Chris Rienzo 02cf105840 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2013-05-22 13:22:19 -04:00
Chris Rienzo 2c82e6afc6 mod_http_cache: fix example config 2013-05-22 13:22:03 -04:00
Anthony Minessale 699bd795f6 FS-5455 try this 2013-05-22 08:11:29 -05:00
Jeff Lenk 66a94a2c45 windows fix trivial compiler warning 2013-05-22 10:38:04 -05:00
Nathan Neulinger 23bd06881d FS-5429: --resolve add minimal idivert support for skinny 2013-05-22 09:58:28 -05:00
Nathan Neulinger 8afaf28a09 FS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired ptime, update field names for future coding to be more descriptive 2013-05-22 09:27:09 -05:00
Nathan Neulinger 337976e469 FS-5225: --resolve add ability to dial by pressing line button 2013-05-22 09:17:41 -05:00
Nathan Neulinger 0b05cf6843 FS-5267: --resolve avoid null deref if sessions missing 2013-05-22 09:12:46 -05:00
Chris Rienzo f7e725f4bf mod_http_cache: a couple more unit test cases 2013-05-22 08:47:49 -04:00
Chris Rienzo f5f65b65a9 mod_http_cache: remove unnecessary memset() now that switch_b64_encode() is fixed 2013-05-22 08:22:04 -04:00
Chris Rienzo 8be02b57ce mod_http_cache: fix unit test now that switch_b64_encode is fixed 2013-05-22 08:19:36 -04:00
Anthony Minessale 1a3b69a4a6 FS-5436 --resolve 2013-05-21 19:39:02 -05:00
Anthony Minessale 78c31eaa87 FS-5402 revert wait till tomorrow 2013-05-21 13:29:24 -05:00
Anthony Minessale 1239e32de2 FS-5402 2013-05-21 13:22:17 -05:00