Skip to content
  • Pedro Ribeiro's avatar
    0a12947d
    Bug #27401451 CPCD APISERVICE SENDS LONG STRINGS EXCEEDING BUFFER SIZE OF ATRT PARSER · 0a12947d
    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.
    0a12947d
    Bug #27401451 CPCD APISERVICE SENDS LONG STRINGS EXCEEDING BUFFER SIZE OF ATRT PARSER
    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.
Loading