From e1537061bf26ecfaee221f52c69db49153650d42 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 9 Apr 2019 14:03:16 +0200 Subject: [PATCH] Fix packet debug output in rdp_protocol_error() We're trying to print the entire packet, not just what's left. --- rdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdp.c b/rdp.c index ec56c9a..0c9be79 100644 --- a/rdp.c +++ b/rdp.c @@ -2117,6 +2117,6 @@ _rdp_protocol_error(const char *file, int line, const char *func, { logger(Protocol, Error, "%s:%d: %s(), %s", file, line, func, message); if (s) - hexdump(s->p, s_length(s)); + hexdump(s->data, s_length(s)); exit(0); }