Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pcap: Fix unknown packet character string
By converting the byte array to a String, the output terminates at the first 0x00 byte encountered. Instead, iterate through every byte and append it as a character to a string builder, replacing non-printable characters with the middle-dot character. [Fixed] Fix unknown packet character string Change-Id: Ibcddb1b414ce585c0208da3a0cab81e25ff5684d Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205588 Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org> Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
- Loading branch information
1 parent
ee914eb
commit 069221c
Showing
2 changed files
with
35 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters