Age | Commit message (Collapse) | Author | Files | Lines |
|
"tvb_memcpy()"ing to it, and putting in a null terminator;
"tvb_get_string()" will check whether all bytes of the string are
present before allocating the buffer, so that you don't leak memory if
the copy throws an exception, and don't crash if the length is absurdly
large.
Use "tvb_memdup()" instead of allocating a buffer and "tvb_memcpy()"ing
to it, so that an exception is thrown before you try to allocate the
buffer (for the same reasons as listed above).
Before allocating a buffer used when processing a chunk of data from a
packet, get a pointer to the chunk with "tvb_get_ptr()", or check that
the data is all there with "tvb_ensure_bytes_exist()", so that an
exception is thrown before you try to allocate the buffer (for the same
reasons as listed above).
Fix up the lengths of the tvbuff used when dissecting ONC RPC opaque data
with a particular dissector.
svn path=/trunk/; revision=10236
|
|
* Added decoding of Transport type/trigger
* Updated service code's text to match specification
* Added new vendor IDs from ODVA
* Added service etc to info column, formatted info column for
easier overview
* Added actual time out calculation for Forward close,
Unconnected send
* Fixed bug, port not shown for extended addresses
* Added Network Segment to EPATH decode
* NOP packets not decoded as they contain Common data Format
svn path=/trunk/; revision=9979
|
|
split across segment boundaries.
svn path=/trunk/; revision=9882
|
|
svn path=/trunk/; revision=8620
|
|
Clean up white space somewhat.
svn path=/trunk/; revision=8585
|
|
instead of byte array.
svn path=/trunk/; revision=8339
|
|
malformed packets caused by unconnected send and support for connected
class 3 data.
svn path=/trunk/; revision=8173
|
|
svn path=/trunk/; revision=8085
|
|
segment, as is done for othr logical segments (including 16-bit and
32-bit logical connection point segments).
svn path=/trunk/; revision=7855
|
|
"EtherNet/IP" name in his original version ("IP" there is "Industrial
Protocol", not "Internet Protocol"), and to the original file name, and
getting rid of some unused variables.
svn path=/trunk/; revision=7851
|