![]() 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 |
||
---|---|---|
.. | ||
h323 | ||
misdn | ||
xpmr | ||
chan_agent.c | ||
chan_alsa.c | ||
chan_console.c | ||
chan_features.c | ||
chan_gtalk.c | ||
chan_h323.c | ||
chan_iax2.c | ||
chan_jingle.c | ||
chan_local.c | ||
chan_mgcp.c | ||
chan_misdn.c | ||
chan_nbs.c | ||
chan_oss.c | ||
chan_phone.c | ||
chan_sip.c | ||
chan_skinny.c | ||
chan_unistim.c | ||
chan_usbradio.c | ||
chan_vpb.cc | ||
chan_zap.c | ||
console_board.c | ||
console_gui.c | ||
console_video.c | ||
console_video.h | ||
DialTone.h | ||
iax2-parser.c | ||
iax2-parser.h | ||
iax2-provision.c | ||
iax2-provision.h | ||
iax2.h | ||
Makefile | ||
misdn_config.c | ||
vcodecs.c | ||
vgrabbers.c |