Commit Graph

80 Commits

Author SHA1 Message Date
Andrey Volk fe68e3aff4 [Build-System] Fix NSIG redefinition issue. 2023-01-12 18:59:07 +03:00
Andrey Volk dd3075a203 [Core] Fix Windows build after apr-util removal 2022-08-29 20:17:12 +03:00
Chris Rienzo 5c2726f413 [core] rename lib apr symbols to fspr 2022-08-29 20:17:08 +03:00
Andrey Volk d8c3595076 [apr] Fix dead nested assignments 2022-08-09 23:39:32 +03:00
Andrey Volk d6884d6871 [apr] scan-build: Dereference of null pointer in apr_hash_merge() 2021-10-19 20:10:35 +03:00
Andrey Volk 189f6f8db2 [apr] error: use of undeclared identifier 'NSIG' 2021-06-03 01:19:39 +03:00
Mike Jerris fd2ed2546c [build] fix configure checks for ipv6 on latest osx 2021-03-03 10:02:29 -07:00
cdosoftei 611377d40b
[apr] fix find_if_index for BSDs/mac 2020-09-21 11:50:09 -04:00
Andrey Volk e39eb28629 [apr] scan-build: fix dereference of null pointer in apr_hash_merge() and apr_proc_other_child_unregister() 2020-02-20 23:20:53 +04:00
Andrey Volk 05377622af [apr] scan-build: Fix "Argument with 'nonnull' attribute passed null" in file_io/unix/filepath.c 2020-02-20 00:16:37 +04:00
Andrey Volk 3a7d96f04b [apr] Fix potential dereference of a null pointer when apr_pool_create_ex() is called without both an allocator and a parent while global_pool is uninitialized. 2020-02-19 14:38:56 +04:00
Andrey Volk fba60251a2 [apr] Fix typo in network_io/unix/sendrecv.c made by previous commit 2020-02-15 13:27:41 +04:00
Andrey Volk df52479eb4 [apr] scan-build: Fix dereference of a null pointer and unused variable in network_io/unix 2020-02-15 03:49:05 +04:00
Andrey Volk 5b63e4d045 [apr] Fix dead assignment and use of uninitialized variable in strings. 2020-02-15 02:22:36 +04:00
Andrey Volk 2db40835c5 [apr] scan-build: fix use of unassigned values in file_io/unix 2020-02-15 01:33:50 +04:00
Andrey Volk 19aabde9c5 [apr] Scan-build: Fix multiple dead assignments in sha2.c 2020-02-14 02:51:32 +04:00
Andrey Volk da31fac5a0 [Core, mod_commands] Add switch_core_pool_stats API and pool_stats command with corresponding --enable-pool-debug configure flag. 2019-12-31 02:07:22 +04:00
Chris Rienzo 892f0a289f FS-11516 [build-system] Add --enable-pool-sanitizer configure flag. This will make it easier to find memory issues when using address sanitizer. Also added -fstack-protector-strong when using --enable-address-sanitizer. 2019-07-16 23:17:47 +04:00
Andrey Volk 699affa1ef FS-11509: [Build-System] Fix --enable-address-sanitizer configure flag.
FS-11509: [Build-System] Fix unimrcp build with address sanitizer.
2019-06-06 11:02:27 -04:00
Michael Jerris 9cabdfb9f8 bump apr build from api update 2016-04-08 13:43:43 -04:00
William King 320d5f2015 Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
Sourced from:
http://gitlab.sangoma.com/projects/CORE/repos/freetdm/browse/public_freeswitch/sangoma-FS-1.2.patch
2016-01-26 20:20:34 -08:00
Anthony Minessale f43510f243 FS-7969 #resolve [Freeswitch segfaults due to pthread_setschedparam() on a thread that has exited] #comment please test this fix which was verified working 2015-08-19 11:42:11 -05:00
Ken Rice c645ab3889 FS-6848 #resolve #comment slight tweak to fix the logic and avoid unbalanced parens 2014-11-19 16:06:17 -06:00
Richard Neese 9673cf0acb Fix for apr build issue fs-6848 freebsd arm 2014-11-19 14:00:12 -06:00
Chris Rienzo 8330336e9a FS-6450 [unimrcp] Update library
[apr] Backport APR_RING_FOREACH and APR_RING_FOREACH_SAFE macros to APR for unimrcp compatibility.

 [unimrcp] configure.gnu - need full path, not relative path for library paths

 [unimrcp] added uni_revision.h - couldn't get it to autogenerate from build

 [mod_unimrcp] add better logging and error checking on module load.  Currently dumps core on MRCPv1 TTS attempt

 [mod_unimrcp] don't configure MRCPv1 session with a connection agent- causes crash
2014-11-18 14:23:54 -05:00
Brian West c4c0f38aab FS-6294 FS-6308 NetBSD support should work test and report back please. 2014-03-19 14:34:07 -05:00
Anthony Minessale 430b8fca6b FS-6211 more changes 2014-03-13 13:00:10 -05:00
Anthony Minessale 47a7ef557a FS-6211 thread priority in the apr for windows 2014-03-13 22:53:45 +05:00
Michael Jerris 2513388d8a clean up some bootstrap warnings 2014-03-07 18:36:26 -05:00
Jeff Lenk bb53175526 FS-6010 --resolve 2013-11-29 22:16:49 -06:00
Anthony Minessale 7c5b5ce8a4 fix some close on -1 issues 2013-08-27 13:59:30 -04:00
Anthony Minessale 6627dc8696 fix some contention issues under really high load...That doesn't mean you need to push it this hard and bug me about it =p 2012-11-07 14:53:16 -06:00
Anthony Minessale 5f469ad2bd FS-4753 --resolve this should properly detect it everywhere 2012-10-23 13:14:51 -04:00
Mathieu Rene 1276387c24 fix segfault 2012-10-18 12:48:27 -04:00
Seven Du 0263ce9247 FS-4695 fix apple build, seems there's no pthread_setschedprio on Mac, not sure if windows has the same problem in apr/threadproc/unix/thread.c 2012-10-08 09:03:34 +08:00
Anthony Minessale 90f3ab4099 fix thread priority code, this has never worked until today 2012-09-27 13:38:02 -05:00
Travis Cross 932dccd475 Return const char* from apr_pool_tag
clang warns:

  warning: returning 'const char *' from a function with result type
    'char *' discards qualifiers [-Wincompatible-pointer-types]
2012-06-24 08:15:16 +00:00
Travis Cross a973fb6347 Fix memset calls in APR sha2 implementation
The implementation clears the context / state data from memory when it
is finished with it.  Prior to this commit, however, it was actually
only clearing the first 4 bytes on x86 or 8 bytes on x86_64.

clang warns:

  warning: argument to 'sizeof' in 'memset' call is the same
  expression as the destination; did you mean to dereference it?
      [-Wsizeof-pointer-memaccess]
2012-06-24 08:05:25 +00:00
Mathieu Rene d90bac3888 The format string for size_t is always %zu, don't #error when not able to find it 2011-07-15 11:42:48 -04:00
Anthony Minessale fb68746eed add parallelism to sofia by offsetting sip messages to the concerned sessions and using multiple queue threads for message handling 2011-06-16 14:37:22 -05:00
Anthony Minessale 3fee704d66 FS-2738 2010-09-27 13:26:09 -05:00
Jeff Lenk f8f91362f0 FSCORE-606 (Win) bridge fails because session read lock failure 2010-05-20 08:05:28 -05:00
Michael Jerris 49d2fecc48 a slightly more annoying yet more sane way to fix snow cat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 04:19:49 +00:00
Michael Jerris ee1dd4f37f fix srcdir for libs/apr/configure.gnu (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 00:17:18 +00:00
Michael Jerris 65bfe506e2 add new apr functions/macros needed by unimrcp update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-19 14:24:59 +00:00
Michael Jerris aca68c393c build: fix automake warnings about underquoted definitions in apr macros (FSBUILD-175)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-20 03:53:06 +00:00
Michael Jerris 23ad42ec71 fix solaris build (FSBUILD-169)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-08 15:32:35 +00:00
Michael Jerris b73fbe4b12 remove generated file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-21 21:55:25 +00:00
Anthony Minessale ece57ca13f one least tweak to last 2 commits
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-20 21:32:11 +00:00
Michael Jerris 931cc46305 fix PTHREAD_MUTEX_RECURSIVE detection on SUSE 10
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:49:53 +00:00