summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2009-05-30 20:11:33 +0000
committerSean Bright <sean@malleable.com>2009-05-30 20:11:33 +0000
commit3353710e16aa1d3076bd09de7b61839c6d45014e (patch)
tree17f520d16f1d5aa829dbb2818fe0a3c091d97bdf /include
parent90c3db40ed8dcf8bacc0cb7dc8ed930cdcab8dfa (diff)
Properly terminate the receive buffer before sending to iksemel.
aji_io_recv takes the maximum number of bytes to read (instead of the total buffer size), so we have to subtract 1 from our buffer size. Without this, when we receive packets that are larger than our buffer, iksemel will choke and things get wonky. (closes issue #15232) Reported by: lp0 Patches: 05302009_res_jabber.c.patch uploaded by seanbright (license 71) Tested by: seanbright, lp0 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions