summaryrefslogtreecommitdiff
path: root/channels/chan_dahdi.c
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2014-06-16 16:22:33 +0000
committerKevin Harwell <kharwell@digium.com>2014-06-16 16:22:33 +0000
commitbd0aa4fb04afe0d91b5fac2fc697fafd644cc907 (patch)
tree43dd06d444f6725302ed3333c98a451e9c8e9602 /channels/chan_dahdi.c
parenta1e0a5e4b07387bcc59afa7c0ab9f960a389ac15 (diff)
res_http_websocket: read/write string fixup
There was a problem when reading a string from the websocket. It assumed the received data had a null terminator and tried to write the data to an ast_str. This of course could/would read past the end of the given buffer while writing the data to the internal buffer of ast_str. Modified the the code to correctly place a null terminator on the result string. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@416394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_dahdi.c')
0 files changed, 0 insertions, 0 deletions