commit | abe8c897fd3eb801e4f4bbf289875c40ce9e38a6 | [log] [tgz] |
---|---|---|
author | Philipp Maier <pmaier@sysmocom.de> | Sat Jan 20 00:15:12 2018 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Fri Jan 26 00:32:09 2018 +0000 |
tree | 1a09d9a2c4ae47fd438cfc85143b11d90662be7e | |
parent | e9d645b3b39803f9ce906c61890dc8ba0c3136e3 [diff] |
client: eliminate destructive head parsing While parsing the head of an MGCP response the r->body buffer is manipulated in order to NUL terminate the extracted comment filed. - Use a static buffer to store and manipulate the comment field. Change-Id: Ib273c13d6fe7ee042fb4e3b8ed46ac02602226f6