aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-15 23:50:10 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-15 23:50:10 +0000
commitcc0f967efce861bb8c0d4b6b89997787a9074faa (patch)
treef7609eac513b828bc233c212f7402848d2fe23ba /configure.ac
parenta44f64d6e6c71d54418759c2750a7dbc64f9a0c6 (diff)
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/branches/1.4@98946 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions