Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Weird bug on MSVC build only (probably HTTP ortvb_get_ptr)

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

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Thu, 29 Apr 2004 20:25:18 +0200
Oliver Biot wrote:
> 
> if (sscanf((const gchar *)data, "%d.%d %d", &minor, &major,
> &status_code) == 3) {

Why %d ? 
A double is a "long float" and may contain a dot (".").

Shouldn't it be e.g. "%u.%u %u"?

I don't know if it matters for the crash, but ...