Commit Graph
44 Commits
Author SHA1 Message Date
Andrey Volk 90c35685c3 [mod_mongo, mod_redis, mod_voicemail] Fix leaking hash iterators. 2021-03-17 18:29:20 +03:00
Andrey Volk 0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk 51cc971d45 Merge pull request #478 from dragos-oancea/mod_redis-undefined-val
[mod_redis] scan-build: Assigned value is garbage or undefined
2020-03-12 20:22:43 +04:00
Dragos Oancea 389a917998 [mod_redis] scan-build: Assigned value is garbage or undefined 2020-03-06 11:17:03 +00:00
Andrey Volk 6f24d9b489 Merge pull request #436 from dragos-oancea/mod_redis-potential-memleak
[mod_redis] scan-build: Potential leak of memory pointed to by 'cptr' - cr_morebulk()
2020-03-06 00:40:57 +04:00
Dragos Oancea 40745503a1 [mod_redis] scan-build: Dereference of null pointer - cr_delete() 2020-02-27 12:48:35 +00:00
Dragos Oancea b53274276f [mod_redis] scan-build: Potential leak of memory pointed to by 'cptr' - cr_morebulk() 2020-02-25 22:04:01 +00:00
Andrey Volk a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
Andrey Volk 671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Mike Jerris 1ec5e87468 FS-9934: [mod_redis] fix segfault on windows on close or connect failure 2017-01-10 18:17:09 -06:00
Corey Smith 7129dc32c8 FS-8777 #resolve FreeBSD: mod_redis/credis.c missing netinet/in.h include 2016-01-26 21:13:31 -05:00
Mike Jerris 5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -04:00
Michael Jerris 164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
William King d582e08da8 Startiing the deprecation mod_redis in favor of mod_hiredis. 2015-08-28 16:56:47 -07:00
Michael Jerris 451b6e393d FS-8047: [build] fix build errors in mod_rtmp, mod_oreka, and mod_sangoma_codec due to using __FUNCTION__ on newer compilers 2015-08-26 09:28:54 -04:00
Michael Giagnocavo 5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Jeff Lenk 345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris 2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Michael Jerris f198d82bac FS-5666: [mod_redis] add ignore_connect_fail config setting to not kill the call when redis is down when using redis backend for limit 2014-11-17 10:29:47 -05:00
Travis Cross acb439ca03 Avoid leaking memory while iterating hash tables
`switch_core_hash_first` allocates an iterator on each call that is
never freed except when the hash table is empty.

By using `switch_core_hash_first_iter` we allocate only one iterator,
and that iterator is freed after the last item is processed.
2014-08-30 03:49:51 +00:00
Michael Jerris 23b3e172d5 don't leak file handle if fd = 0 2014-04-30 15:56:36 -04:00
Michael Jerris 6f16e0d3da don't leak if first realloc fails but second one succeeds 2014-04-30 15:53:26 -04:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Jeff Lenk f649af84e8 fix windows build for last commit 2014-03-08 14:23:41 -06:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson 93696934b2 Silence more compiler warnings 2014-01-23 12:25:15 +01:00
Peter Olsson 5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Jeff Lenk dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Anthony Minessale 7085de2546 FS-4588 --resolve 2012-12-18 18:18:31 -06:00
Jeff Lenk f9d279664c add test version of mod_redis to vs2010 solution - not built by default 2012-06-18 17:07:54 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Ken Rice cac6c262bb conf: add config files to module directories
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00
Anthony Minessale 00b53a91ea FS-3277 --resolve There are actually really only 2 places where it needs the real hostname, the hostname command and the header on the events. I changed everything to the switchname because there were some more sql stmts etc in the core. 2011-04-29 10:24:50 -05:00
Anthony Minessale 4ae8282e6c fix possible bad pointer in global vars (please test) 2011-02-02 15:43:26 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Mathieu Rene c0fddf054c runtime/shutdown mixed up 2010-10-11 13:42:58 -04:00
Rupa Schomaker a7c31e6fe9 FSCORE-637 - limit - reset rate and release resource apis
Thanks Moy
2010-07-20 22:21:32 -05:00
Mathieu Rene 8ac3bdca6e Add redis backend to limit 2010-06-22 00:16:50 -04:00