Michael Jerris
a68e10c896
handle allocation error. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 19:39:20 +00:00
Michael Jerris
ede7970fe3
don't leak on switch_ivr_wait_for_answer when peer channel is already answered or pre-answered. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8471 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 19:24:20 +00:00
Michael Jerris
9a64686104
refactor, cleanup, eliminate un-needed checks. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8470 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 19:08:03 +00:00
Michael Jerris
21b5d73ad0
handle allocation error. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8469 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 18:53:32 +00:00
Michael Jerris
41a0bc8fb6
don't deref NULL. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8468 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 18:43:01 +00:00
Michael Jerris
5e7e1b999d
Mon May 19 11:31:45 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_stack.c: include Allow-Events in requests initiating dialog, too
The Allow-Events header is now alwats included with NOTIFY requests, and
initial INVITE, SUBSCRIBE, REFER, and OPTIONS requests.
Thanks to Jerry Richards for pointing out the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:56:40 +00:00
Michael Jerris
c3c9a27413
Fri May 16 05:06:09 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_register.c: nr->nr_tport was used even if nr was NULL
Problem detected by Klocwork.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:53 +00:00
Michael Jerris
4795234198
Fri May 16 10:44:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_s2.c: cope if test nua uses default port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:15 +00:00
Michael Jerris
614ca565ae
Fri May 16 10:30:29 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_nua_api.c: fixed crash in check_sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:54:45 +00:00
Michael Jerris
5e0750dcd8
Fri May 16 10:29:20 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_simple.c: fixed test case for SUBSCRIBE
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:54:14 +00:00
Anthony Minessale
928f6cda1e
fix possible memory overload during error condition
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:26:50 +00:00
Anthony Minessale
0ba45ead64
fix small att_xfer issue from mailing list
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 14:30:39 +00:00
Anthony Minessale
7daa751f1e
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-17 15:48:18 +00:00
Anthony Minessale
dc66f0c0f2
add sofia-reconf targer
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8459 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-17 15:42:28 +00:00
Anthony Minessale
fa93eaddb9
forgot to tell ppl to take x- away in the example
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-17 02:01:22 +00:00
Anthony Minessale
a79fe2c125
add vm_boxcount api func
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8457 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-17 00:33:34 +00:00
Stefan Knoblich
185b2938a7
Force CXXLINK for mod_python and remove -lstdcc++ from LOCAL_LDFLAGS to fix build on solaris
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 21:38:00 +00:00
Stefan Knoblich
baf944eba9
Drop python-config support, use non-platform-specific site-packages dir
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 19:58:16 +00:00
Stefan Knoblich
f08ac86252
Non-bash and m4 quoting fixes, improve site-packages detection with distutils
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 19:29:26 +00:00
Michael Jerris
70e8152b39
tweak asserts. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 19:11:44 +00:00
Michael Jerris
0cb54b0a97
don't leak db error string. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 18:54:43 +00:00
Michael Jerris
5418702cda
don't leak db handle when called api command with session. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 18:50:14 +00:00
Stefan Knoblich
2d14539e47
Enhance python detection. Several OS do not include a python-config script (e.g. Centos, Fedora, OpenSolaris), so use the distutils module directly (like python-config does) to extract the required information. I am keeping the python-config support for now (used when distutils is not found). Several minor cleanups of the code too...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8450 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 18:49:52 +00:00
Anthony Minessale
c4657914eb
lang fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 18:40:39 +00:00
Anthony Minessale
6ccacdff83
add unregister event
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 18:40:09 +00:00
Michael Jerris
0a766e14a0
check value before using. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:55:12 +00:00
Anthony Minessale
22cb7b134a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:29:22 +00:00
Michael Jerris
36320b9248
handle edgecase leak on platforms without vasprintf. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:25:43 +00:00
Michael Jerris
efd78441d6
remove redundant null check. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8444 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:18:57 +00:00
Michael Jerris
16bf3f42a1
don't leak after allocation failure. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8443 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:07:10 +00:00
Michael Jerris
d24752a559
disable incorrect code analysis catch
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8442 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:06:27 +00:00
Michael Jerris
d13fa0d211
tweak asserts. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8441 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 16:59:34 +00:00
Anthony Minessale
fd63a52706
handle error message leaks and other error conditions, Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8440 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 16:43:47 +00:00
Michael Jerris
41510454a8
don't pass null to switch_loadable_module_get_api_interface. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 16:15:37 +00:00
Michael Jerris
dba9a102d4
initialize allocated in constructors. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 15:53:48 +00:00
Michael Jerris
d4d5ed39ba
don't pass null to switch_loadable_module_get_dialplan_interface. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 15:49:23 +00:00
Anthony Minessale
7bab5df1c8
refactoring.... Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8436 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 15:29:44 +00:00
Anthony Minessale
4f65f1300c
fix MODENDP-108
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8435 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 15:05:54 +00:00
Anthony Minessale
878bbcebf7
hack to avoid the bug MODLANG-60
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8434 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 15:03:45 +00:00
Michael Jerris
b879941dab
don't pass null to switch_loadable_module_get_dialplan_interface. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 14:59:28 +00:00
Michael Jerris
6cef49df2b
tweak asserts. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8432 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 14:43:21 +00:00
Michael Jerris
3921baa719
check value before using. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8431 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 14:35:41 +00:00
Michael Jerris
35dc6b0412
don't use unchecked malloc results. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 14:32:35 +00:00
Anthony Minessale
47d42ee110
updatew
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8429 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 13:16:27 +00:00
Michael Jerris
5851077d26
no need to set this var twice.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8428 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 04:04:41 +00:00
Michael Jerris
8190b63460
don't push null values into the hash
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8427 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 04:01:56 +00:00
Stefan Knoblich
3a02a627b7
Pass CC to lua make, fixes building on (open-)solaris
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 21:43:52 +00:00
Anthony Minessale
43b4c0d0bd
make the impossible possible
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 21:36:32 +00:00
Michael Jerris
f4e5aa395e
Avoid fflush-ing NULL. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8424 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 21:31:47 +00:00
Michael Jerris
8f436a9d52
Avoid non null terminated string. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 21:25:26 +00:00