]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
fix incorrect string termination
authorSeven Du <dujinfang@gmail.com>
Sun, 7 Sep 2014 03:45:12 +0000 (11:45 +0800)
committerSeven Du <dujinfang@gmail.com>
Sun, 7 Sep 2014 03:45:12 +0000 (11:45 +0800)
commit4e07845f2d57f7e633ae4097f3eae55d363a723f
tree84d8c18e38ff5954f03022dccffc9d1e909d682a
parent59cd3c77d84fac242683c5eb0b61c52f10bb2bb5
fix incorrect string termination

if read multi times when waiting for a slow client, then bytes is much shorter than datalen
so it could incorrectly terminate the string and data could be lost
src/mod/endpoints/mod_verto/ws.c