3847 Commits

Author SHA1 Message Date
Michael Jerris
a67389ad5c CID:1025879 Logically dead code 2014-05-16 18:20:25 +00:00
Michael Jerris
ecde431730 CID:1025850 Dereference before null check 2014-05-16 18:15:34 +00:00
Michael Jerris
b10c865c25 CID:1025849 Dereference before null check 2014-05-16 18:12:28 +00:00
Marc Olivier Chouinard
a997331577 CID:1214125 https://scan6.coverity.com:8443/docs/en/cov_checker_ref.html#static_checker_BUFFER_SIZE 2014-05-16 13:30:27 -04:00
Michael Jerris
1b0bdaf85e CID:1214212 Resource leak in voicemail_list 2014-05-15 14:11:39 +00:00
Michael Jerris
4e888a282c CID:1214196 Dereference null return value, if we hit this condition, something very bad has happened, we should never have the private not set if we get to the hangup hook, log error instead of crashing 2014-05-15 14:09:38 +00:00
Michael Jerris
d2884ac5a6 CID:1214211 Resource leak 2014-05-15 13:58:08 +00:00
Michael Jerris
0469db0305 CID:1214200 Dereference null return value 2014-05-15 13:47:24 +00:00
Michael Jerris
92c6f3abc5 CID:1214192 Dereference after null check, don't crash when no file name passed on file open 2014-05-15 13:37:26 +00:00
Michael Jerris
179e07c649 CID:1214219 Resource leak 2014-05-15 13:30:39 +00:00
Michael Jerris
07b6bba68b CID:1214209 Resource leak, don't leak event populated by switch_channel_get_variables 2014-05-15 13:22:51 +00:00
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
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
William King
ad327dffc8 CID: 1211946 fixing uninitialized pointer read in mod_translate 2014-05-07 00:22:56 -07:00
Steve Underwood
38abcf7e2c The APIs for spandsp FAX have changes, removing one of the parameters passed in
the callbacks.
2014-05-04 17:22:28 +08:00
Michael Jerris
9db6d5ba9c different distros have diff pkg names 2014-05-02 18:35:37 -04:00
Natanael Copa
317f4b1442 Fix building with musl libc
POSIX says poll.h and signal.h should not be prefixed with sys/ (ie
poll.h instead of sys/poll.h)

limits.h also defines a TZNAME_MAX so we change name of the define for
spandsp.
2014-05-02 11:20:36 -04:00
Travis Cross
fc40e4ab79 Avoid leaking data_buf in mod_conference
When we couldn't acquire the rwlock on the conference we were leaking
a buffer we just allocated.  On a 48k/10ms conference we would leak
960 bytes per attempt.
2014-05-02 03:48:10 +00:00
Michael Jerris
582fa1a664 fix typo 2014-05-01 18:22:57 -04:00
Travis Cross
cd650f6055 Use system ldns library
This library is used only by mod_enum and is available on most
platforms.  The version in our tree has many code quality problems
that are generating noise when doing static analysis.  Suffice it to
say we want rid of it as our responsibility.

FS-353
2014-05-01 22:01:59 +00:00
Travis Cross
c1f884cd33 Remove old ldns patch from FS-3110 2014-05-01 22:01:59 +00:00
Raymond Chandler
33460064ac CID: 1210739 2014-05-01 17:34:54 -04:00
Raymond Chandler
a4e0929ef0 CID: 1210596 2014-05-01 17:28:54 -04:00
Raymond Chandler
17f79bc2c3 CID: 1210770 2014-05-01 16:36:58 -04:00
Anthony Minessale
7f18b80e60 FS-6503 --resolve remove unused code 2014-05-02 01:28:12 +05:00
Brian West
c462ed6ae1 FS-6499 --resolve 2014-05-01 15:21:57 -05:00
Michael Jerris
64f1098b8c remove dead assignment 2014-05-01 14:17:06 -04:00
Michael Jerris
b0fd845786 remove dead assignment 2014-05-01 14:04:56 -04:00
Raymond Chandler
e4d807108c CID: 1210646 2014-04-30 18:47:02 -04:00
Raymond Chandler
3abcee7142 unused 2014-04-30 18:36:44 -04: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
Michael Jerris
068ad205b7 split this into 2 functions so its clear if this function allocates or not 2014-04-30 15:48:23 -04:00
Michael Jerris
0b8d2c5d65 add better bounds checking in dtmf_accepting array to avoid buffer overrun in mod_voicemail_ivr 2014-04-30 13:31:06 -04:00
Michael Jerris
a9a852477a fix read beyond buffer length error 2014-04-30 13:25:29 -04:00
Chris Rienzo
c36e63026c mod_http_cache: CID 1025858: Thread deadlock (ORDER_REVERSAL) 2014-04-30 10:08:00 -04:00
Michael Jerris
e98045841e gracefully handle allocation failure 2014-04-30 08:55:39 -04:00
Michael Jerris
2e8572acb5 we always have the session in the dialplan function 2014-04-30 08:51:52 -04:00
Michael Jerris
b3bfa563ae we always have the caller profile at this point, if for some reason we don't just instead of crashing 2014-04-30 08:50:29 -04:00
Michael Jerris
7508481597 we always have the seesion in the app function 2014-04-30 08:46:11 -04:00
Michael Jerris
9bf98d0dd3 remove useless checks of array == 0 2014-04-30 08:43:57 -04:00
Michael Jerris
529099f15c silence incorrect warnings about null pointer derference and remove unused code 2014-04-29 14:34:49 -04:00