Commit Graph

27028 Commits

Author SHA1 Message Date
Michael Jerris 452d7a3793 CID:1214163 Unchecked return value, check return value of switch_ivr_play_file and bail out if it fails 2014-05-15 13:18:58 +00:00
Michael Jerris 7c72e94a67 CID:1214158 Buffer not null terminated 2014-05-15 12:42:49 +00:00
Michael Jerris 68825ff4f1 CID:1214220 Resource leak 2014-05-15 12:41:09 +00:00
Michael Jerris 619b31e1e8 CID:1214140 Buffer not null terminated, make sure hostname is always null terminated 2014-05-15 12:38:41 +00:00
Michael Jerris 16805187ec CID:1214256 Unused pointer value 2014-05-15 12:36:36 +00:00
Michael Jerris 128601316f CID:1214255 Unused pointer value 2014-05-15 12:34:50 +00:00
Michael Jerris 19f3ab5182 CID:1214218 fix memory leak in conference_event_channel_handler 2014-05-15 12:33:15 +00:00
Michael Jerris 622cd21009 CID:1214231 don't leak when using invalid syntax 2014-05-15 12:27:39 +00:00
William King bdbefdcc48 CID:1087631 In the unlikely case the sprintf fails, free the memory instead of leak it 2014-05-14 19:56:32 -07:00
Raymond Chandler bf8b88cddd CID: 1210583 2014-05-14 19:37:57 +00:00
Travis Cross b263201a2e Avoid polluting CFLAGS for mod_snmp
Putting `net-snmp-config --cflags` into CFLAGS causes major pollution;
it overrides optimization and debugging levels, warnings, and more.
While normally we do want to automatically locate library headers,
there has to be a better way to do this.  libsnmp is normally in the
usual place and doesn't need special handling.  Perhaps people with
libsnmp in a weird place should just need to add the -I flag to their
CFLAGS before build.
2014-05-13 17:40:43 +00:00
Travis Cross 94ec447e0d Cleanup makefile library dependencies of mod_snmp
Calling out to net-snmp-config --agent-libs causes transitive
dependencies to get pulled in, but we don't need those -- a sensible
dynamic linker pulls those in automatically.  Trying to track the
transitive dependencies manually would be a losing battle.

People were recently hitting this on Debian sid/jessie, where libpci
is in the transitive dependency list but isn't otherwise one of our
build dependencies.
2014-05-13 17:27:46 +00:00
Giovanni Maruzzelli cbe6f74fa9 FS-6285 skypopen: ANY, RR NOT work fine in mod_skypopen 2014-05-13 11:00:47 +02:00
Giovanni Maruzzelli 7dbab7b1c6 FS-6517 skypopen: mod_skypopen not using configured context with mod_sms chatplan with PATCH, thanks Russell Treleaven 2014-05-12 16:07:39 +02:00
Travis Cross c006db6fc6 Fix test for pkg-config 2014-05-12 13:50:21 +00:00
Michael Jerris 9a1c4f6827 don't pass large strucutre by value 2014-05-12 09:31:12 -04:00
Michael Jerris 3e18f08796 clean up coverity warnings and improve error checking 2014-05-12 09:08:52 -04:00
Moises Silva 2b93912ef2 freetdm: Fix raw GSM AT command execution not returning the proper token count 2014-05-11 03:22:27 -04:00
Moises Silva a82e7a7dd1 freetdm: Added gsm debug configuration parameter 2014-05-11 02:55:07 -04:00
Moises Silva b8a32ed0f3 freetdm: Fixes for GSM module 2014-05-10 02:57:17 -04:00
Travis Cross 04dc901641 Check for pkg-config at $PKG_CONFIG in configure
This allows someone without pkg-config in their PATH to set where
pkg-config is located.
2014-05-09 22:12:11 +00:00
Anthony Minessale dcaa08760c bump 2014-05-10 02:48:17 +05:00
Anthony Minessale 7e0995d069 bump 2014-05-10 02:47:01 +05:00
Travis Cross c96c733e9f Test for pkg-config in configure
We depend on pkg-config, but we weren't explicitly testing for it, so
the absence of pkg-config would cause the sqlite test to fail, which
was confusing.
2014-05-09 20:35:17 +00:00
Anthony Minessale 717bcf617e FS-6515 --resolve 2014-05-10 00:35:32 +05:00
Travis Cross c856023188 Fix missing $ for escaping shell variables for make 2014-05-09 17:27:37 +00:00
Michael Jerris e49feac7a3 don't re-build tone2wav and fs_encode on every build 2014-05-08 17:35:23 -04:00
Travis Cross 3c0e40ea7e Remove bashism from our Makefile hack
This makes portable the fix from commit
28ee7736d9.
2014-05-08 21:26:03 +00:00
Travis Cross 71368da78e Indent block 2014-05-08 21:21:12 +00:00
Travis Cross 9f2745ad7a Fix whitespace 2014-05-08 21:19:44 +00:00
Michael Jerris 28ee7736d9 put APR_LIBS back in LIBADD and LDFLAGS, but add some magic to .DEFAULT to ignore -l targets 2014-05-08 17:13:31 -04:00
Anthony Minessale be56bbb7ae let relay work if its the only option 2014-05-09 01:14:52 +05:00
Michael Jerris 31069f33a2 generate the modules list vars from modules.conf into a file instead of on the fly every time 2014-05-08 15:59:49 -04:00
Michael Jerris 2508ae98bf don't use -l libs from apr-config as dependencies in the Makefile 2014-05-08 15:59:49 -04:00
Chris Rienzo c4f38f8d0d CID: 1211940 mod_rayo - unlikely dereference of NULL pointer 2014-05-08 12:11:15 -04:00
Chris Rienzo 42108871c9 CID: 1211941 mod_rayo - unlikely dereference of NULL pointer 2014-05-08 12:10:01 -04:00
Chris Rienzo 17848d26be CID: 1211943 mod_rayo - removed dead code when changing output speed 2014-05-08 12:03:28 -04:00
Chris Rienzo a72137d4ae CID: 1211944 mod_rayo - remove set of unused pointer 2014-05-08 11:47:38 -04:00
Chris Rienzo 58fea2544b CID: 1211946 mod_rayo - dead code after switch statement 2014-05-08 11:36:05 -04:00
Chris Rienzo 873acb2975 CID: 1211947 mod_rayo - allocated array with unsigned char * element size instead of unsigned char 2014-05-08 11:33:27 -04:00
Chris Rienzo 4f4fb9e942 CID: 1211951 mod_rayo - fix unlikely dereference of null pointer 2014-05-08 11:30:53 -04:00
Chris Rienzo 84eb4a0404 mod_rayo: re-added Makefile for iks helpers unit tests 2014-05-08 11:16:02 -04:00
Chris Rienzo d7d4625866 mod_rayo: re-added Makefile for srgs unit tests 2014-05-08 11:14:20 -04:00
Chris Rienzo 752f7956f9 mod_rayo: fix compiler error to nlsml.c from attempted coverity fix 2014-05-08 11:10:42 -04:00
Travis Cross ae5d876682 Fix openssl build variable name
FS-6475 --resolve
2014-05-08 13:05:39 +00:00
Michael Jerris 02f6269cf1 check for say errors in say_money functions 2014-05-07 13:18:21 -04:00
Anthony Minessale 2459e710f7 FS-6337 prevent over-frequent jb resets in bad conditions 2014-05-07 22:12:18 +05:00
Michael Jerris a933882e7e its logically impossible for this to be null, we are looping through an array on the stack 2014-05-07 12:54:40 -04:00
Michael Jerris 84886942d2 don't leak body in recv error case 2014-05-07 12:50:53 -04:00
Michael Jerris 7011602550 no need to check if p is null, it can never be null 2014-05-07 12:37:36 -04:00