mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 02:39:44 +00:00
Fix SEGV in serval_packetvisualise()
This commit is contained in:
parent
17ef2249e4
commit
4daaa8f164
@ -285,7 +285,7 @@ int isOverlayPacket(XPRINTF xpf, const unsigned char *packet, size_t *ofs, size_
|
|||||||
|
|
||||||
if (cantDecodeFrame) {
|
if (cantDecodeFrame) {
|
||||||
xprintf(xpf,"%sWARNING: Cannot decode compressed and/or encrypted frame.\n",indent(8));
|
xprintf(xpf,"%sWARNING: Cannot decode compressed and/or encrypted frame.\n",indent(8));
|
||||||
_dump(xpf, frame, frame_len, 0, "%s", indent(10));
|
_dump(xpf, frame, next_frame_ofs - *ofs, 0, "%s", indent(10));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* Decrypt and/or decompress frame */
|
/* Decrypt and/or decompress frame */
|
||||||
|
Loading…
Reference in New Issue
Block a user