-
Pedro Ribeiro authored
CPCD API printed strings with unconstrained size into a single line calling BufferedSockOutputStream::println. ATRT would receive messages from CPCD containing these strings and would call a Parser using a buffer with a fixed size of 512 Bytes. This Parser expects that a single line is totally contained within the buffer. If a line with size greater than the Parser buffer size is sent from CPCP to ATRT the Parser would return a NULL value# This is the 2nd commit message: Split CPCD long strings with size exceeding the Parser buffer size in smaller substrings. Starting from the second substring, each substring has the format "+KEY: VALUE", since the Parser appends the value of an existing property if KEY has "+" prefix. Change autotest-run.sh version to 1.14.
Pedro Ribeiro authoredCPCD API printed strings with unconstrained size into a single line calling BufferedSockOutputStream::println. ATRT would receive messages from CPCD containing these strings and would call a Parser using a buffer with a fixed size of 512 Bytes. This Parser expects that a single line is totally contained within the buffer. If a line with size greater than the Parser buffer size is sent from CPCP to ATRT the Parser would return a NULL value# This is the 2nd commit message: Split CPCD long strings with size exceeding the Parser buffer size in smaller substrings. Starting from the second substring, each substring has the format "+KEY: VALUE", since the Parser appends the value of an existing property if KEY has "+" prefix. Change autotest-run.sh version to 1.14.
Loading