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

Date: Wed, 22 Dec 2010 16:12:17 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4393

Chris Maynard <christopher.maynard@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2010-12-22 16:12:14 PST ---
Looks like confounder was initialized in rev 33709, required because
update_vars could be set to 1 but confounder left uninitialized if
tvb_bytes_exist() had returned 0.

I don't think the other two need to be initialized because update_vars is
initialized to 0, so the only way for digest and encrypted_seq to be used in
the if(update_vars) block is if the first if block had been entered, those
variables initialized and update_vars set to 1.

Closing as fixed.

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