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

Wireshark-users: Re: [Wireshark-users] Possible bug

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Thu, 31 Dec 2009 11:34:58 -0700

On Dec 31, 2009, at 12:55 AM, GM Tanim wrote:

In file packet-ssl-utils.c line 1101,

it should be,

ssl_debug_printf("pcry_private_decrypt: decrypted data is too long ?!? (%d max %d)\n",

in place of

ssl_debug_printf("pcry_private_decrypt: decrypted data is too long ?!? (%zd max %d)\n",

Thanks for pointing this out. This was fixed in the development version (1.3.x) of Wireshark back in August:

  http://anonsvn.wireshark.org/viewvc?view=rev&revision=29401
  "use G_GSIZE_MODIFIER instead of %zd which is not supported by MSVC"

However, it was not copied into the 1.2.x code base. I've added a request to have it copied into the future 1.2.x releases:

  http://wiki.wireshark.org/Development/Roadmap


Steve