Commit Graph

4402 Commits

Author SHA1 Message Date
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 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
Michael Jerris 3fc660fc17 handle buffer boundries a bit better, assert before deref. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 21:08:42 +00:00
Michael Jerris 766681f666 handle malloc failures. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 21:05:32 +00:00
Anthony Minessale 815b68a41c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 21:04:37 +00:00
Anthony Minessale 230cec65c8 fix pointer thingy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 20:53:22 +00:00
Anthony Minessale 88b177c1b4 add patch from MDXMLINT-27
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 20:29:08 +00:00
Anthony Minessale c599162209 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 19:38:29 +00:00
Anthony Minessale 1ea027f37f add var_event down into the endpoints so chans with no parents can still pass options
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 19:29:35 +00:00
Anthony Minessale 50d821c90b fix pissed off boss
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 18:32:23 +00:00
Anthony Minessale 89bae46bd0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 17:57:14 +00:00
Anthony Minessale 1285e6338e fix pesteredo's bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8413 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 15:57:29 +00:00
Anthony Minessale 328c72742b fix three way stupid issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 15:42:13 +00:00
Anthony Minessale 42a54d19ae update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 14:49:11 +00:00
Anthony Minessale a8365b8621 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 01:10:52 +00:00
Michael Jerris a2fa1d141b fix osx iax build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8407 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 19:18:33 +00:00
Michael Jerris 96d9febc3a type stupidity
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 16:54:54 +00:00
Anthony Minessale d8aa592dee silence some less important debug info
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 16:01:13 +00:00
Anthony Minessale f6df5e2033 musta took a wrong toin at albakoyke
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 14:22:04 +00:00
Anthony Minessale 1a43d04045 clean up nat stuff more
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 14:13:40 +00:00
Anthony Minessale dc757bc9cf fix many nat woes, see changes to default config for details
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 23:22:21 +00:00
Anthony Minessale 8bb2182db1 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 21:07:01 +00:00
Anthony Minessale f914772a03 when you have both auth-calls and inbound-acl at the same time passing acl lets you in with no challenge and failing gives you auth challenge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 20:58:38 +00:00
Anthony Minessale 40efe06a2f cannot pass 2833 on a transcoded call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 20:36:23 +00:00
Michael Jerris cdabf22dea use proper directory sep.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 06:59:52 +00:00
Michael Jerris 1a2f22f9e2 fix msvc build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 06:23:47 +00:00
Michael Jerris 700da9b4de don't pass around 0 status (possible fix for MODENDP-107)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 00:50:12 +00:00
Anthony Minessale 40050bc22b more robust stun packet validation from stkn
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 00:17:58 +00:00