Ethereal-dev: Re: [Ethereal-dev] 2 patches to avoid Ethereal crash dumps

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

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Thu, 9 Mar 2006 08:08:04 +0100 (CET)
Checked in,

Thanx,
Jaap

On Thu, 9 Mar 2006, RABRET Laurent RD-MAPS-ISS wrote:

> Hi,
> Please find enclosed 2 patches.
> - Voip_calls_dlg.c.patch fixes a problem that appears with a release
> compiled with GTK 2.8 + Visual Studio 2003. It seems g_snprintf can
> corrupt memory when a length bigger than the array size is provided in
> the second parameter (even if the generated string is smaller than the
> array actual size!!)
> - graph_analysis.c.patch fixes a memory corruption problem easy to
> reproduce. Just open the pcap file enclosed, select "Statistics"->"Flow
> Graph" and activate the "Network source/destination addresses" radio
> button before pressing OK. You'll see a crash dump.
> Thanks to check in
> Best Regards
> Laurent
>
>