ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Patch to fix possible crash in NCP dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 23 Sep 2003 15:10:33 -0700

On Sep 23, 2003, at 2:08 PM, Greg Morris wrote:

On subsequent dissection it is possible that a reply packet is in the trace that does not have a cooresponding request packet. The column data update did not check for valid request data prior to updating. This patch ensures that we check for valid request data prior to updating the column data.

Checked in.

Does that code set the Info column differently depending on whether "ncp_tree" is non-null? If so, that should be fixed, either by arranging to set it even if "ncp_tree" is null or by building a temporary protocol tree if "run_info_str" is set.