aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-pipe.c
AgeCommit message (Collapse)AuthorFilesLines
2007-11-08Apply yet another set of the optimization patches:Anders Broman1-1/+1
When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length(). non heuristic dissectors svn path=/trunk/; revision=23405
2007-10-17Flag errorJaap Keuter1-1/+1
svn path=/trunk/; revision=23218
2007-09-26"fix" some warnings about "might be used uninitialized" variablesJörg Mayer1-1/+1
svn path=/trunk/; revision=22983
2007-05-15since the fid dissector helper now adds a lot of extra info to the treeRonnie Sahlberg1-1/+1
we must now pass it a (semi-)valid tvb. svn path=/trunk/; revision=21783
2007-05-10prettify dissection of FIDs,Ronnie Sahlberg1-2/+2
put the filename, if known, on the fid expansion line also place a "generated" fid in failed ntcreateandx so it is easier to quickly see which file the ntcreateandx failed for svn path=/trunk/; revision=21739
2007-03-30Fix more warningsStephen Fisher1-1/+1
svn path=/trunk/; revision=21286
2007-03-23fix some more warnings (type casts)Ulf Lamping1-1/+1
svn path=/trunk/; revision=21141
2006-09-23replace a rotating buffer in smb with ep allocated memoryRonnie Sahlberg1-12/+3
dont try dcerpc reassembly of fragments if we dont have the entire pdu only call the heuristical dissectors once from smb/pipe as per guy(?)s comments about idempotence. when doing reassembly, the dcerpc dissector is indeed not idempotent any more. svn path=/trunk/; revision=19304
2006-06-18track smb FIDFs when tehy are opened and closed.Ronnie Sahlberg1-2/+2
add an expansion to the fid that display which frame itr was opened in and when it was closed. someone may want to add tracking of actual filenames here as well. i am not sure i need that feature myself so ... svn path=/trunk/; revision=18512
2006-06-18rename add_fid() to dissect_smb_fid() as a firsdt step towards adding ↵Ronnie Sahlberg1-2/+2
tracking of filename/openedframe/closedframe tracking for smb fids svn path=/trunk/; revision=18506
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-03-23Coverity CID 48 is still complaining about a NULL dereference. Hopefully Gerald Combs1-10/+11
this will fix it. svn path=/trunk/; revision=17708
2006-03-14coverity bug 44Ronnie Sahlberg1-2/+4
svn path=/trunk/; revision=17621
2006-03-08remove a redundant if statementRonnie Sahlberg1-3/+2
this if statement always evaluate to true since it is called from a single place that is only entered if the very same expression is also true there. svn path=/trunk/; revision=17524
2006-03-08for really really weird malformed lanman packets it is theoretically possibleRonnie Sahlberg1-0/+4
that trp is uniunitialized. coverity bug 46 svn path=/trunk/; revision=17523
2006-03-07fix a potential null dereferenceRonnie Sahlberg1-3/+8
found in coverity cid:48 svn path=/trunk/; revision=17509
2005-09-28Have show_exception() take a "const char *" as its exception message,Guy Harris1-0/+1
and not free the string to which it points. Pass to REPORT_DISSECTOR_BUG() strings allocated with ep_strdup_printf(), so that they're freed automatically. svn path=/trunk/; revision=16039
2005-09-17Move some headers for stuff defined by a dissector into epan/dissectorsGuy Harris1-1/+1
- and rename smb.h to packet-smb.h, as it's packet-smb.c's header file. svn path=/trunk/; revision=15845
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-06-10just to get things straight: a dissector should *never* do any g_assert() calls!Ulf Lamping1-3/+3
in a simple approach, I've replaced all g_assert() and g_assert_not_reached() calls by their exception throwing counterparts DISSECTOR_ASSERT() and DISSECTOR_ASSERT_NOT_REACHED() this will replace application crash by showing a dissector bug, which is the desired behaviour there were some g_assert calls in the protocol registering functions, which might not be acting as expected now, but to be able to simply search for g_assert in the future I've replaced that calls too one g_assert remained, the one when someone throws an unknown exception "into" packet_frame.c, but IMHO this one should remain. svn path=/trunk/; revision=14608
2005-06-02add a generated toplevel line between the TCP protocol and the desegmented ↵Ulf Lamping1-2/+3
content, to better understand what's going on while desegmenting. We'll have to add similar mechanisms for other protocols as well... svn path=/trunk/; revision=14527
2005-05-10Make a field type check more strict. Remove some unnecessary code.Gerald Combs1-18/+3
svn path=/trunk/; revision=14338
2005-04-30Make sure we don't pass an invalid length to proto_tree_add_item(). FoundGerald Combs1-2/+24
during fuzz testing. svn path=/trunk/; revision=14237
2005-04-28In dissect_pipe_lanman(), return FALSE if p_tvb is null, no matter what.Gerald Combs1-1/+1
Fixes bug 132. svn path=/trunk/; revision=14221
2005-04-16Add an extra_info_type field to smb_extra_info_t so that we can makeGerald Combs1-4/+13
sure we're not referencing a fid when we think we're referencing an smb_nt_transact_info_t pointer. (A fuzzed capture I have triggers this behavior). svn path=/trunk/; revision=14107
2005-02-25pinfo->private_data was a quite subptimal ideaRonnie Sahlberg1-5/+1
change the decodeas for dcerpc so that it actually works again for dcerpc over smb svn path=/trunk/; revision=13515
2005-02-09Move the following files from /trunk to /trunk/epan:Lars Roland1-1/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. svn path=/trunk/; revision=13366
2004-08-03Move a bunch of stuff that's more Windows-related than SMB-related toGuy Harris1-0/+1
"packet-windows-common.[ch]". svn path=/trunk/; revision=11592
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+3931
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410