]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-smb.c
Don't use leftover string length values.
[tcpdump] / print-smb.c
index 5a66b67b45387f64a826abe13f678fe20a729c87..39125efa8617f720e9e85a9280dc01e7f8bf43b9 100644 (file)
@@ -867,6 +867,7 @@ print_smb(netdissect_options *ndo,
            f2 = fn->descript.rep_f2;
        }
 
+       smb_reset();
        if (fn->descript.fn)
            (*fn->descript.fn)(ndo, words, data, buf, maxbuf);
        else {