Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/channels
russell aaeb664e0c Merged revisions 98946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r98946 | russell | 2008-01-15 17:50:10 -0600 (Tue, 15 Jan 2008) | 11 lines

Change a buffer in check_auth() to be a thread local dynamically allocated
buffer, instead of a massive buffer on the stack.  This fixes a crash reported
by Qwell due to running out of stack space when building with LOW_MEMORY defined.

On a very related note, the usage of BUFSIZ in various places in chan_sip is
arbitrary and careless.  BUFSIZ is a system specific define.  On my machine,
it is 8192, but by definition (according to google) could be as small as 256.  
So, this buffer in check_auth was 16 kB.  We don't even support SIP messages 
larger than 4 kB!  Further usage of this define should be avoided, unless it 
is used in the proper context.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98948 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-15 23:53:28 +00:00
..
h323 Include the compatibility header file in ast_h323.cxx for compatibility reasons. 2007-11-20 14:49:32 +00:00
misdn Doxygen updates, formatting. 2007-12-11 22:20:22 +00:00
xpmr Allow chan_usbradio to compile again. 2007-10-17 16:09:01 +00:00
chan_agent.c Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to AST_STANDARD_APP_ARGS(foo, bar) 2008-01-02 21:08:33 +00:00
chan_alsa.c coding guidelines cleanup 2008-01-03 18:10:13 +00:00
chan_console.c Change reference to external library so it appears on the extref listing 2008-01-08 21:01:46 +00:00
chan_features.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
chan_gtalk.c Merged revisions 97489 via svnmerge from 2008-01-09 16:59:09 +00:00
chan_h323.c Merged revisions 94924 via svnmerge from 2007-12-27 17:34:00 +00:00
chan_iax2.c Merged revisions 98943 via svnmerge from 2008-01-15 23:31:53 +00:00
chan_jingle.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
chan_local.c Merged revisions 90735 via svnmerge from 2007-12-04 17:08:36 +00:00
chan_mgcp.c Merged revisions 97195 via svnmerge from 2008-01-08 20:50:57 +00:00
chan_misdn.c Merged revisions 96198 via svnmerge from 2008-01-03 14:47:30 +00:00
chan_nbs.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
chan_oss.c make get_video_desc() return the active console if 2008-01-09 12:13:32 +00:00
chan_phone.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
chan_sip.c Merged revisions 98946 via svnmerge from 2008-01-15 23:53:28 +00:00
chan_skinny.c Add proper call forwarding (all and busy) support for chan_skinny. 2008-01-14 17:40:36 +00:00
chan_unistim.c remove unnecessary (char *) casts for ast_config_AST_* variables. 2007-12-18 09:46:18 +00:00
chan_usbradio.c improve chan_usbradio to use indications just like chan_alsa/chan_oss do now 2008-01-05 01:05:50 +00:00
chan_vpb.cc remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
chan_zap.c Add 'zap set dnd' CLI command, and ensure that the AMI DNDState event always gets generated. 2008-01-12 00:20:55 +00:00
console_board.c The fixes in this commit are mainly to allow compiling of trunk with --enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know. 2008-01-10 00:50:39 +00:00
console_gui.c remove a wrong 'const' 2008-01-09 18:12:44 +00:00
console_video.c The fixes in this commit are mainly to allow compiling of trunk with --enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know. 2008-01-10 00:50:39 +00:00
console_video.h Two changes: 2008-01-09 18:03:40 +00:00
DialTone.h Doxygen updates, formatting. 2007-12-11 22:20:22 +00:00
iax2-parser.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
iax2-parser.h Merged revisions 75445 via svnmerge from 2007-07-17 20:49:09 +00:00
iax2-provision.c HUGE improvements to QoS/CoS handling by IgorG 2007-12-16 10:51:53 +00:00
iax2-provision.h Don't reload a configuration file if nothing has changed. 2007-08-16 21:09:46 +00:00
iax2.h Doxygen updates, formatting. 2007-12-11 22:20:22 +00:00
Makefile add support for textareas, used for various dialog windows on the gui. 2008-01-08 23:09:44 +00:00
misdn_config.c another few errno.h removals 2007-11-19 21:18:14 +00:00
vcodecs.c prevent a panic when destroying a channel with no incoming video. 2008-01-01 23:54:40 +00:00
vgrabbers.c The fixes in this commit are mainly to allow compiling of trunk with --enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know. 2008-01-10 00:50:39 +00:00