limit the values written to phdr.(cap)len to guint32, not to guint16
authormartink <martink@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 15 Oct 2013 15:15:59 +0000 (15:15 +0000)
committermartink <martink@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 15 Oct 2013 15:15:59 +0000 (15:15 +0000)
commit92b3fb86627997ba1f50b49719ef8ee6a5602ab4
treea08d527fc4a0a63a9c8d348c556ad3a6075767ee
parent31b01d0aee449a31ffa4feea7aed4341d68e4321
limit the values written to phdr.(cap)len to guint32, not to guint16

We read a two-byte length field and add a constant number of header
bytes to this length, so we could in theory be larger than guint16.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@52619 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/vwr.c