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

Wireshark-bugs: [Wireshark-bugs] [Bug 4393] Error when compiling due to uninitialized variables

Date: Wed, 13 Jan 2010 14:59:11 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4393

--- Comment #4 from Bill Meier <wmeier@xxxxxxxxxxx> 2010-01-13 14:59:10 PST ---
(In reply to comment #2)
> GCC version 4.4.1 running on Kubuntu Karmic x64 (package version: Ubuntu
> 4.4.1-4ubuntu8)
> 
> I remember a similar problem with GNU Binutils. It may be due to the way GCC is
> compiled for Ubuntu (i.e. -Werror is enabled by default), although I can't
> confirm this.

I did fiddle with the code just slightly to convince myself that the
"unitialized variable" warning was enabled. When I commented out

//    offset = dissect_dcerpc_8bytes(tvb, offset, pinfo, subtree, drep,
//              hf_netlogon_secchan_verf_seq, &encrypted_seq);

I then got a warning (with both the Microsoft C compiler on Windows and GCC on
Fedora).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.