Wireshark-dev: [Wireshark-dev] Segmentation fault at file_read
From: "Neha Chahal" <[email protected]>
Date: Tue, 7 Nov 2006 17:16:34 -0800

I am trying to read 4 bytes from my capture file. The code looks like this

guint32 id;
bytes_read = file_read(&id, 1, 4, wth->fh)

And this dumps core. If i change 1 to 4, it works but then it will
read 16 bytes which i dont want.

Does anybody have any suggestions. Thank you for your help.

Thanks and Regards,
Neha Chahal