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

Wireshark-bugs: [Wireshark-bugs] [Bug 2037] Bad use of the C fwrite function in pcapio.c

Date: Wed, 28 Nov 2007 15:40:46 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2037


wmeier@xxxxxxxxxxx changed:

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




------- Comment #1 from wmeier@xxxxxxxxxxx  2007-11-28 15:40 GMT -------
The fwrite specifies that sizeof rec_hdr elements are to be written each of
size 1.

nwritten is, as you say, the number of elements written which is being compared
against the number of elements requested to be written (size of rec_hdr).


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