ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] problems with comment for epan/packet-windows-common.c:dissect_n

From: yami <yamisoe@xxxxxxxxx>
Date: Thu, 13 Nov 2008 09:17:40 +0800
Hi dev,

There're two issues with comment for dissect_nt_sid:

1. sid_str should NOT be freed by the caller, since it is allocated by ep_alloc (called by ep_strdup_printf or ep_strdup). So the comment is wrong?
2. since dissect_nt_sid is external, should this comment be moved to header file?


Thanks!