Age | Commit message (Collapse) | Author | Files | Lines |
|
to) warnings.
svn path=/trunk/; revision=50104
|
|
page, which doesn't look like an "unused space" record because there
aren't two bytes of record type, just one byte).
svn path=/trunk/; revision=50027
|
|
between the routine name and the opening parenthesis, so remove it from
the definition of the seek-read routine.
svn path=/trunk/; revision=50026
|
|
split across page boundaries, rather than being a byte stream, and that
the last page may be short.
Fix some comments.
svn path=/trunk/; revision=50025
|
|
out there (especially over USB) and we should be able to load them as long as
they are snapped to a sane length.
Also validate that packets do not specify a snapshot length larger than the one
in the file header, though only make it a warning, as this is not necessarily a
fatally corrupt packet.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8808
svn path=/trunk/; revision=49999
|
|
data into a common routine, and use it in both the read and seek-read
routines.
svn path=/trunk/; revision=49996
|
|
svn path=/trunk/; revision=49990
|
|
routine, used both by read and seek-read routines.
svn path=/trunk/; revision=49988
|
|
code to handle the API changes for the seek-read routines.
svn path=/trunk/; revision=49950
|
|
as the "where to put the packet data" argument.
This lets more of the libwiretap code be common between the read and
seek-read code paths, and also allows for more flexibility in the "fill
in the data" path - we can expand the buffer as needed in both cases.
svn path=/trunk/; revision=49949
|
|
parse_netscreen_hex_dump().
svn path=/trunk/; revision=49944
|
|
seek-read routines.
svn path=/trunk/; revision=49943
|
|
move the code to file in a struct wtap_pkthdr there.
svn path=/trunk/; revision=49942
|
|
svn path=/trunk/; revision=49870
|
|
requests to add an entry with a zero-length name; we don't have to
ignore them ourselves.
svn path=/trunk/; revision=49854
|
|
them.
Works around the problem reported in bug 8763.
svn path=/trunk/; revision=49851
|
|
memory" indication if it fails.
Further fixes bug 8752.
Also, clean up indentation.
svn path=/trunk/; revision=49834
|
|
artificial 16MB limit on blocks.
Do some sanity checks when reading options, to make sure we don't read
past the end of the block.
Make some variables unsigned so as not to get inappropriate
sign-extension (which, in practice, should never happen due to the 16MB
block size limit, although if the limit is raised above 2^31-1, the
limit won't protect you).
Fixes bug 8752.
svn path=/trunk/; revision=49833
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8777 :
Add support for 10Gbe HP-UX drivers IOCXGBE and IQXGBE
svn path=/trunk/; revision=49820
|
|
visual_process_packet_header() and call it in both the read and
seek-read routines.
Pull the post-processing code that guesses the encapsulation based on
the first few bytes in the packet into
visual_fill_in_chdlc_encapsulation() and call it in both the read and
seek-routines. Add some length checks.
svn path=/trunk/; revision=49812
|
|
snoop_process_record_header() routine, and call it in both the read and
seek-read routines.
svn path=/trunk/; revision=49803
|
|
seek-read routine. Pull the code to do that into
netxray_set_pseudo_header(), and rename it netxray_set_phdr().
svn path=/trunk/; revision=49800
|
|
we're lopping 4 bytes off of the network_size.
Add a comment discussing the aformentioned lopping-off.
svn path=/trunk/; revision=49782
|
|
pseudo-header) into a process_packet_header() routine, and call it in
both the read and seek-read routines.
svn path=/trunk/; revision=49779
|
|
ERF wiretap export multiple extension header fix.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8765
svn path=/trunk/; revision=49749
|
|
file attached to https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8760 :
When searching for a signature, don't search past the end of the record.
svn path=/trunk/; revision=49742
|
|
svn path=/trunk/; revision=49741
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8760 :
Check that the record length we got out of the file is at least as big as
stats block trailer; if not, declare the file bad.
svn path=/trunk/; revision=49739
|
|
seek offset is after calling it, they can use file_tell(). (Some
routines were already assuming it returned a gboolean.)
svn path=/trunk/; revision=49733
|
|
svn path=/trunk/; revision=49710
|
|
svn path=/trunk/; revision=49709
|
|
that the complaints are valid, or that simply zeroing them is the right fix
if they are, but at least it builds now. Should we be erroring if we don't
see a sliceLength header?
svn path=/trunk/; revision=49705
|
|
packet.
svn path=/trunk/; revision=49704
|
|
fill in that structure, so that it's filled in by both the read and
seek-read routines.
svn path=/trunk/; revision=49703
|
|
routine, and use it in both the read and seek-read routines.
svn path=/trunk/; revision=49702
|
|
so that it's filled in by both the read and seek-read routines.
svn path=/trunk/; revision=49701
|
|
peekclassic_process_record_header_() routines, used in both the read and
seek-read routines.
svn path=/trunk/; revision=49700
|
|
packetlogger_process_header() routine, used in both the read and
seek-read routines.
svn path=/trunk/; revision=49699
|
|
frame_table field to NULL before trying to allocate the frame table, so
that if we fail before we allocate the frame table, the attempt to free
the private data doesn't crash due to the frame_table field containing a
bogus pointer.
svn path=/trunk/; revision=49697
|
|
and fail with ENOMEM if that fails (and the frame table is not empty -
g_try_malloc() will return NULL if you ask it to allocate zero bytes).
Have an error message for ENOMEM on an open that attempts to tell the
user what the problem is without making their head explode.
svn path=/trunk/; revision=49673
|
|
that header in both the read and seek-read routines.
svn path=/trunk/; revision=49671
|
|
SEL RTAC (Real Time Automation Controller) EIA-232 Serial-Line Dissection
svn path=/trunk/; revision=49635
|
|
svn path=/trunk/; revision=49405
|
|
svn path=/trunk/; revision=49404
|
|
svn path=/trunk/; revision=49403
|
|
svn path=/trunk/; revision=49402
|
|
routines are passed a separate struct wtap_pkthdr to be filled in.
Get rid of the pseudo_header member of the wblock structure - the
pseudo-header is part of the struct wtap_pkthdr.
Get rid of the union wtap_pseudo_header * argument to
pcap_process_pseudo_header() - it's passed a pointer to a struct
pcap_pkthdr, and that structure contains the union in question.
Have libpcap_read_header() take a FILE_T argument, rather than using
only the "sequential" handle of the wtap it's handed. Have the libpcap
read routine return the offset of the beginning of the pcap record, and
have the seek-read routine read the header and fill in the struct
wtap_pkthdr handed to it.
svn path=/trunk/; revision=49401
|
|
this avoids some compiler warnings from clang about alignment.
svn path=/trunk/; revision=49398
|
|
both the read and the seek-read routines. Have the read routine return
the offset of the record header as the record's offset, so that the
seek-read routine can read that header.
svn path=/trunk/; revision=49397
|
|
globals directly. If we ever manage to make them *not* globals (which
might only be possible with newer versions of Flex), then we can do
better.
Get rid of an unused variable.
Squelch a 64-bit-to-32-bit conversion warning.
svn path=/trunk/; revision=49396
|