I think I've found it: a bug in glib Windows port of gnulib vasnprintf.c (patch
attached) - I've checked the latest glib 2.10.3, and the same issue exists.

The patch allows the test program to work OK, but unfortunately I've still got a
build problem with trying to use the whole libglib-2.0.dll with wireshark, so I
cant yet verify that this allows 1025 to be fixed.

I've submitted a bug report to bugzilla.gnome.org (bug 351034) - I _think_ they
maintain the Windows port of gnulib, but I might be wrong on that too, but I
hope not!

Neil

Quoting Anders Broman <[EMAIL PROTECTED]>:
> 
> Hi,
> The GTK and Glib packages where obtained from:
> http://www.gimp.org/~tml/gimp/win32/downloads.html
> it might be worth trying a newer version to see if the problem has been
> resolved (or check the release notes).
> Brg
> Anders
> 
> -----Ursprungligt meddelande-----
> Från: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] För Neil Piercy
> Skickat: den 10 augusti 2006 20:01
> Till: Joerg Mayer
> Kopia: Developer support list for Wireshark
> Ämne: Re: [Wireshark-dev] Ideas regarding bug 1025?
> 
> Joerg Mayer wrote:
> > OK, I've created a small testprogram (under Suse 10.1) which you
> should
> > compile as similar as possible to the way you compile Wireshark.
> Let's
> > see whether it crashes and if so, where. I hope the program doesn't
> much
> > tweaking to compile on W32.
> 
> Worse than you feared: it crashes on test2 (in exactly the same manner 
> as the whole wireshark app does with the test capture, so the test looks
> 
> valid) - i.e. as soon as the upper 32 bits are non-zero. I'm trying to 
> build a debug version of the glib-2.6.6 from original source, but its a
> 
> bit painful - does anyone know the exact source (including config) that
> 
> the distributed glib dll was built from ?
> 
> Neil
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
> 
> 
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
> 
> 



===========================================================
ip.access ltd                      Tel: 01954 713715 Direct
2020 Cambourne Business Park       Fax: 01954 713799
Cambourne, Cambridge
Cambs, UK, CB3 6DW
Visit the website at http://www.ipaccess.com
===========================================================

Attachment: vasnprintf.c.diff
Description: Binary data

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to