]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Stefan Knoblich [Tue, 21 May 2013 15:42:24 +0000 (17:42 +0200)]
ftmod_libpri: Fix possible NULL-ptr dereference crash in on_restart(_ack)()
Catch single channel RESTART/RESTART ACK events for non-B-channels,
that would lead to a NULL pointer dereference, because those do not have
per-channel private data (chan->call_data = chan_priv == NULL).
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Anthony Minessale [Fri, 31 May 2013 19:45:47 +0000 (14:45 -0500)]
FS-5488 --resolve
Nathan Neulinger [Fri, 31 May 2013 21:31:27 +0000 (16:31 -0500)]
FS-5449: apply correct quoting, got older version of patch accidentally
Nathan Neulinger [Fri, 31 May 2013 21:25:08 +0000 (16:25 -0500)]
FS-5449: --resolve add a mod_commands function to use the shell escape function and update the existing function to use correct escaping
adds a pool based implementation of the switch_util_quote_shell_arg function and changes existing function to be a wrapper around the pool based one
Anthony Minessale [Fri, 31 May 2013 18:14:09 +0000 (13:14 -0500)]
FS-5488 --resolve
Travis Cross [Tue, 28 May 2013 22:48:33 +0000 (22:48 +0000)]
Remove redundant orig file purifying step
We kill these files with .gitattributes.
Travis Cross [Tue, 28 May 2013 21:58:36 +0000 (21:58 +0000)]
Add generic mechanism for building non-DFSG packages
Travis Cross [Mon, 27 May 2013 04:47:45 +0000 (04:47 +0000)]
debian: Update -meta-all to grab all packages
We now build unimrcp, portaudio, portaudio-stream, skypopen, and
dahdi-codec, so they should be included in meta-all. Also refactor a
bit so we install all lang and mod_say packages as well.
Travis Cross [Sun, 26 May 2013 04:55:36 +0000 (04:55 +0000)]
Fix typo
Travis Cross [Sat, 25 May 2013 09:52:01 +0000 (09:52 +0000)]
debian: wheezy is the new stable
And jessie is the new testing.
The king is dead, long live the king!
Travis Cross [Tue, 23 Apr 2013 10:25:29 +0000 (10:25 +0000)]
Show CPPFLAGS from debian/rules
Travis Cross [Tue, 23 Apr 2013 10:00:49 +0000 (10:00 +0000)]
Fix quoting issue in debian/rules
This amends commit
f93c3f70bfcffa4ac83f1f4e840691371b304722
Travis Cross [Sun, 21 Apr 2013 15:52:30 +0000 (15:52 +0000)]
Set compiled-in storage_dir and certs_dir defaults for Debian
Travis Cross [Tue, 9 Apr 2013 15:37:10 +0000 (15:37 +0000)]
Fix debian lang-* recommends on sounds-*
Thanks to Richard Neese for pointing out the erroneous results.
Nathan Neulinger [Thu, 30 May 2013 17:49:59 +0000 (12:49 -0500)]
Change to correct prompt on outgoing call, eliminate UNDEFINED! message
Nathan Neulinger [Thu, 30 May 2013 17:15:20 +0000 (12:15 -0500)]
Allow skinny speed dials to work when already off-hook
Nathan Neulinger [Thu, 23 May 2013 13:13:44 +0000 (08:13 -0500)]
FS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault
Nathan Neulinger [Wed, 22 May 2013 14:58:28 +0000 (09:58 -0500)]
FS-5429: --resolve add minimal idivert support for skinny
Nathan Neulinger [Wed, 22 May 2013 14:27:09 +0000 (09:27 -0500)]
FS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired ptime, update field names for future coding to be more descriptive
Nathan Neulinger [Wed, 22 May 2013 14:17:41 +0000 (09:17 -0500)]
FS-5225: --resolve add ability to dial by pressing line button
Nathan Neulinger [Wed, 22 May 2013 14:12:46 +0000 (09:12 -0500)]
FS-5267: --resolve avoid null deref if sessions missing
Mathieu Parent [Sat, 6 Apr 2013 12:44:11 +0000 (14:44 +0200)]
Add IPs to mod_skinny recv/send event messages
FS-5268 --resolve
thanks to Nathan Neulinger
Mathieu Parent [Wed, 3 Apr 2013 18:55:27 +0000 (20:55 +0200)]
Don't pretend we support skinny-wait timeout (See #FS 477)
Mathieu Parent [Wed, 3 Apr 2013 18:34:55 +0000 (20:34 +0200)]
Don't create a new session when pressing speeddial
Fixes #FS-5259 (Thanks to Nathan Neulinger for the patch)
Brian West [Fri, 31 May 2013 16:53:50 +0000 (11:53 -0500)]
add kirk wireless servers to safe as they do not do rport
Steve Underwood [Mon, 20 May 2013 03:30:11 +0000 (11:30 +0800)]
Fixed a weakness in error UDPTL lost packet recovery. Hopefully this addresses
FS5202.
Brian West [Fri, 31 May 2013 14:15:45 +0000 (09:15 -0500)]
Swap this
Travis Cross [Sun, 26 May 2013 10:57:07 +0000 (10:57 +0000)]
Unsigned values are never less than zero
Travis Cross [Sun, 26 May 2013 09:54:39 +0000 (09:54 +0000)]
Avoid using psession uninitialized in mod_fsk
Travis Cross [Tue, 28 May 2013 05:28:19 +0000 (05:28 +0000)]
Avoid using memory after we free it
Without setting errmsg to NULL here, we'll try to print this freed
value again below if another error doesn't intercede.
Travis Cross [Tue, 28 May 2013 03:55:48 +0000 (03:55 +0000)]
Avoid dereferencing potential null value
Travis Cross [Tue, 28 May 2013 03:46:53 +0000 (03:46 +0000)]
Remove assignment without effect
Travis Cross [Tue, 28 May 2013 03:41:44 +0000 (03:41 +0000)]
Avoid dereferencing potential null value
Travis Cross [Tue, 28 May 2013 03:40:58 +0000 (03:40 +0000)]
Handle potential malloc failure better
Travis Cross [Sat, 25 May 2013 09:47:12 +0000 (09:47 +0000)]
Add missing text editor local variable blocks
Travis Cross [Tue, 28 May 2013 03:01:49 +0000 (03:01 +0000)]
Fix unlikely memory leak in ESL
Travis Cross [Mon, 27 May 2013 20:47:22 +0000 (20:47 +0000)]
Remove assignment without effect in fs_cli
Travis Cross [Mon, 27 May 2013 20:47:04 +0000 (20:47 +0000)]
Avoid dangling reference at end of fs_cli
Not that it really matters since we're returning to the OS momentarily
at that point anyway.
Travis Cross [Sun, 26 May 2013 10:53:31 +0000 (10:53 +0000)]
Add common include paths for jni.h and jni_md.h
Jeff Lenk [Mon, 27 May 2013 14:21:43 +0000 (09:21 -0500)]
FS-5479 --resolve
Jeff Lenk [Mon, 27 May 2013 14:18:56 +0000 (09:18 -0500)]
fix unused parameter warning on windows
Travis Cross [Sun, 26 May 2013 11:16:58 +0000 (11:16 +0000)]
Fix variable type in mod_nibblebill
Travis Cross [Sun, 26 May 2013 11:25:08 +0000 (11:25 +0000)]
Work around error in pocketsphinx-0.7
fsg_search.c:263:2: error: non-void function 'fsg_search_reinit' should return a value [-Wreturn-type]
Travis Cross [Sun, 26 May 2013 09:25:29 +0000 (09:25 +0000)]
Remove self-assignment without any effect
clang:
error: explicitly assigning a variable of type 'uint16_t' (aka 'unsigned short') to itself [-Werror,-Wself-assign]
Travis Cross [Sun, 26 May 2013 11:28:06 +0000 (11:28 +0000)]
Add missing newline at end of mod_say_fa.c
Mariusz Czułada [Tue, 28 May 2013 22:19:49 +0000 (00:19 +0200)]
FS-5157 patch accepted
Brian West [Tue, 28 May 2013 21:26:05 +0000 (16:26 -0500)]
log auto adjust ip and port separate so it doesn't get clobbered on hold/update events
Anthony Minessale [Tue, 28 May 2013 13:17:44 +0000 (08:17 -0500)]
FS-5480 --resolve
Travis Cross [Sun, 26 May 2013 04:53:16 +0000 (04:53 +0000)]
Remove unused variable in mod_rtmp
Unused variables break the build with recent versions of gcc and
clang.
Travis Cross [Sun, 26 May 2013 05:25:12 +0000 (05:25 +0000)]
Add commit note about shell escaping
Disregard the supplemental commit text on
commit
a744b202fd0260631d91a9e53672819b102feb48 .
switch_util_quote_shell_arg() is fine.
Travis Cross [Sun, 26 May 2013 01:27:16 +0000 (01:27 +0000)]
Quote arguments to shell when sending email
Note that the function switch_util_quote_shell_arg is implemented
incorrectly for unix shells, so this is still not safe until that
function is fixed.
Reported-by: Nathan Neulinger <nneul@mst.edu>
FS-5450 --resolve
Travis Cross [Sun, 26 May 2013 01:03:08 +0000 (01:03 +0000)]
Fix memory leaks in mod_tts_commandline
We were using both switch_util_quote_shell_arg and
switch_string_replace without freeing the results even though both
functions malloc.
Travis Cross [Sat, 25 May 2013 23:28:55 +0000 (23:28 +0000)]
Leave room for switch_escape_string to add a terminating null
Thanks-to: Nathan Neulinger <nneul@mst.edu>
FS-5448 --resolve
Travis Cross [Sat, 25 May 2013 21:40:13 +0000 (21:40 +0000)]
Fix comment spelling
Thanks-to: Mariusz Czułada <manieq.net@gmail.com>
Travis Cross [Sat, 25 May 2013 21:20:41 +0000 (21:20 +0000)]
Fix memory corruption in mod_erlang_event
Thanks-to: Alexandre Snarskii <snar@snar.spb.ru>
FS-5465 --resolve
Travis Cross [Sat, 25 May 2013 20:53:52 +0000 (20:53 +0000)]
Don't setup ZRTP without a session and channel
FS-5472 --resolve
Travis Cross [Sat, 25 May 2013 09:49:32 +0000 (09:49 +0000)]
Handle a failure of strerror_r
This fixes the build on gcc-4.7.3. The build was breaking with:
error: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Werror=unused-result]
William King [Sat, 25 May 2013 18:06:01 +0000 (11:06 -0700)]
Fix a possible deadlock scenario in the impossible scenario from the last patch.
William King [Sat, 25 May 2013 14:46:47 +0000 (07:46 -0700)]
Redundant code. The if/else block makes more sense than the equivalent in two separate if's.
William King [Sat, 25 May 2013 14:36:43 +0000 (07:36 -0700)]
Better to not pass tmp_socket to setsockopt if there was an error here creating the socket.
William King [Sat, 25 May 2013 14:15:49 +0000 (07:15 -0700)]
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).
William King [Sat, 25 May 2013 14:02:33 +0000 (07:02 -0700)]
Cleaning up logically dead code.
William King [Sat, 25 May 2013 13:51:22 +0000 (06:51 -0700)]
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.
William King [Sat, 25 May 2013 13:41:03 +0000 (06:41 -0700)]
Small off by one error. If the array is of size 144, then an index of 144 inclusive is an error.
William King [Sat, 25 May 2013 03:03:19 +0000 (20:03 -0700)]
Let's bit a bit safer when dereferencing pointers.
William King [Sat, 25 May 2013 02:59:20 +0000 (19:59 -0700)]
Removing logically dead code
William King [Sat, 25 May 2013 02:55:37 +0000 (19:55 -0700)]
If there is a problem reading the dictionary file, don't leak memory...
William King [Sat, 25 May 2013 02:53:10 +0000 (19:53 -0700)]
Removing unused code
William King [Sat, 25 May 2013 02:49:20 +0000 (19:49 -0700)]
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.
William King [Sat, 25 May 2013 02:45:24 +0000 (19:45 -0700)]
Another location where mod_rtmp would leak memory.
William King [Sat, 25 May 2013 02:42:02 +0000 (19:42 -0700)]
Fix improper handling of a double linked list that could have caused a memory leak.
William King [Sat, 25 May 2013 02:35:43 +0000 (19:35 -0700)]
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.
William King [Sat, 25 May 2013 02:30:57 +0000 (19:30 -0700)]
Fixing a memory leak. name needs to be freed since it's being strdup'd lower.
Anthony Minessale [Fri, 24 May 2013 14:37:25 +0000 (09:37 -0500)]
FS-5470 --resolve
Anthony Minessale [Fri, 24 May 2013 14:14:13 +0000 (09:14 -0500)]
FS-5466 --resolve
Mariusz Czułada [Fri, 24 May 2013 10:18:00 +0000 (12:18 +0200)]
FS-5042 changed event body creation
Raymond Chandler [Fri, 24 May 2013 00:51:25 +0000 (20:51 -0400)]
FS-4871: reduce logging a bit
Jeff Lenk [Wed, 8 May 2013 16:36:13 +0000 (11:36 -0500)]
FS-5389
Jeff Lenk [Wed, 8 May 2013 13:37:10 +0000 (08:37 -0500)]
FS-5389 --resolve
Raymond Chandler [Tue, 7 May 2013 19:07:04 +0000 (15:07 -0400)]
FS-4871 --resolve
Anthony Minessale [Fri, 24 May 2013 13:13:41 +0000 (08:13 -0500)]
FS-5453 --resolve
Anthony Minessale [Thu, 23 May 2013 14:59:00 +0000 (09:59 -0500)]
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
Anthony Minessale [Thu, 23 May 2013 14:55:52 +0000 (09:55 -0500)]
swig
Anthony Minessale [Thu, 23 May 2013 13:07:10 +0000 (08:07 -0500)]
FS-5042 --resolve
Anthony Minessale [Thu, 23 May 2013 13:00:03 +0000 (08:00 -0500)]
FS-5453 --resolve
Anthony Minessale [Wed, 22 May 2013 16:01:39 +0000 (11:01 -0500)]
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
Anthony Minessale [Wed, 22 May 2013 15:20:29 +0000 (10:20 -0500)]
FS-5360 change defaults
Anthony Minessale [Wed, 22 May 2013 00:39:02 +0000 (19:39 -0500)]
FS-5436 --resolve
Anthony Minessale [Tue, 21 May 2013 18:29:05 +0000 (13:29 -0500)]
FS-5402 revert wait till tomorrow
Anthony Minessale [Tue, 21 May 2013 18:22:17 +0000 (13:22 -0500)]
FS-5402
Anthony Minessale [Tue, 21 May 2013 17:01:57 +0000 (12:01 -0500)]
FS-5453 --resolve
Anthony Minessale [Tue, 21 May 2013 15:21:45 +0000 (10:21 -0500)]
FS-5457
Anthony Minessale [Tue, 21 May 2013 15:04:35 +0000 (10:04 -0500)]
FS-5376 --resolve
Anthony Minessale [Tue, 21 May 2013 15:03:22 +0000 (10:03 -0500)]
FS-5242
Anthony Minessale [Tue, 21 May 2013 14:29:50 +0000 (09:29 -0500)]
FS-5211 --resolve
Anthony Minessale [Mon, 20 May 2013 17:22:58 +0000 (12:22 -0500)]
FS-5360
Anthony Minessale [Mon, 20 May 2013 16:22:37 +0000 (11:22 -0500)]
getting read_impl too soon here
Ken Rice [Mon, 20 May 2013 16:07:35 +0000 (11:07 -0500)]
1.2.10 Release
William King [Sun, 19 May 2013 03:49:51 +0000 (20:49 -0700)]
Add mod_xml_radius to the modules list, though disabled by default.
William King [Sun, 19 May 2013 03:42:03 +0000 (20:42 -0700)]
Theoretical memory leak where if attr_init failed, then check would have still been malloc'd but not used.