aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smpp.c
AgeCommit message (Collapse)AuthorFilesLines
2006-01-05Bill Meier:Jörg Mayer1-4/+4
Spelling fixes. svn path=/trunk/; revision=16956
2005-11-01Use g_print() instead of fprintf() to write messages to the debug console.Olivier Biot1-3/+2
svn path=/trunk/; revision=16373
2005-09-28fix #480: Change defaults for all reassembling settings to ONUlf Lamping1-1/+1
I've changed all settings I could find to TRUE. It might be reasonable to change some protocol settings back to FALSE, if reassembling fails very often. svn path=/trunk/; revision=16048
2005-08-19more sprintf removals,Ronnie Sahlberg1-4/+7
replace some char arrays on the stack to ep_alloc()ed memory svn path=/trunk/; revision=15446
2005-08-11some more tcv_get_stringz() to tvb_get_ephemeral_stringz() conversionsRonnie Sahlberg1-7/+3
svn path=/trunk/; revision=15288
2005-07-01fixed various issues (two serious ones) found by "private" fuzz-testingUlf Lamping1-1/+15
svn path=/trunk/; revision=14830
2005-06-26Get rid of the private "my_match_strval()" routine in many dissectors;Guy Harris1-2/+2
add a "match_strval_idx()" routine that does the same thing, and have "match_strval()" call it. Make those routines, and "val_to_str()", return a "const" pointer. Update dissectors as necessary to squelch compiler warnings produced by that. Use "val_to_str()" rather than using "match_strval()" and then, if the result is null, substituting a specific string. Clean up some other "match_strval()"/"val_to_str()" usages. Add a null pointer check in the NDPS dissector's "attribute_value()" routine, as it's not clear that "global_attribute_name" won't be null at that point. Make some global variables in the AFS4INT dissector local. Make some routines not used outside the module they're in static. Make some tables "static const". Clean up white space. Fix Gerald's address in some files. svn path=/trunk/; revision=14786
2005-06-16Fix Win32 compilation, broken by yesterday's checkin.Gerald Combs1-2/+3
svn path=/trunk/; revision=14664
2005-06-15Catch an infinite loop in smpp_handle_dlist(). Fixes bug 246.Gerald Combs1-0/+2
svn path=/trunk/; revision=14639
2005-06-10just to get things straight: a dissector should *never* do any g_assert() calls!Ulf Lamping1-1/+1
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-01-07From Chris Maynard: free mallocated strings when we're done with them. Guy Harris1-20/+20
(There's still the risk of a leak if we throw an exception before we free the string.) Clean up indentation. svn path=/trunk/; revision=12973
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-08-21Prevent the word "desegmentation" at the GUI, but use reassembling at that ↵Ulf Lamping1-2/+3
places, as we also use "defragmentation" and "reassembling". Use reassembling as the general term for such actions. I (hopefully) didn't changed any protocol fields or preference file names, but only the GUI labels appearing in the protocol display and the protocol preferences. Also added a note to the protocol preferences (where appropriate), that you have to enable "Allow subdissectors to reassemble TCP streams" at the corresponding protocol settings for TCP reassembling to take effect. If you encounter any mistakes I've made here, please let me know... svn path=/trunk/; revision=11784
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+2765
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