aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.c
AgeCommit message (Expand)AuthorFilesLines
2009-11-04tvb_format_text() always returns a non NULL pointer so don't check return val...Kovarththanan Rajaratnam1-5/+2
2009-10-08Add DISSECTOR_ASSERT() before dereferencing a possible NULL pointerKovarththanan Rajaratnam1-0/+2
2009-10-04Use g_new0() when allocating z_streamKovarththanan Rajaratnam1-1/+1
2009-10-04Use GLibs CLAMP(). The current inlined implementation seems to be wrong:Kovarththanan Rajaratnam1-8/+1
2009-10-04Delay allocation of z_streamKovarththanan Rajaratnam1-6/+2
2009-10-04g_malloc0() doesn't return NULL so remove NULL error pathsKovarththanan Rajaratnam1-27/+1
2009-09-20Remove 'type' formal parameter from tvb_new_with_subset()Kovarththanan Rajaratnam1-83/+83
2009-09-10offset_from_real_beginning() is only called with 0 as second argument, so rem...Kovarththanan Rajaratnam1-4/+10
2009-08-16Add a new function, tvb_new_subset_remaining(), which is a sligtly optimized ...Kovarththanan Rajaratnam1-3/+35
2009-08-16Remove unused parametersKovarththanan Rajaratnam1-4/+3
2009-08-16Remove the non-thread safe usage of 'last_tvb' variable in tvb_new_subset()Kovarththanan Rajaratnam1-27/+29
2009-08-16Make some of the check_XXX functions accept the length/reported length of the...Kovarththanan Rajaratnam1-35/+53
2009-08-16Remove a non thread-safe usage (useful when/if we ever support threading) of ...Kovarththanan Rajaratnam1-22/+14
2009-08-15Use the slice allocator if GLIB >= 2,10,0 as suggested by Anders BromanKovarththanan Rajaratnam1-0/+17
2009-08-15Add a missing DISSECTOR_ASSERT in tvb_init()Kovarththanan Rajaratnam1-0/+4
2009-08-15Make mem chunk staticKovarththanan Rajaratnam1-4/+1
2009-08-11(Trivial change) move ensure_contiguous() to reflect call hierarchyKovarththanan Rajaratnam1-16/+14
2009-08-11Turn a comment in fast_ensure_contiguous() into a DISSECTOR_ASSERT() to make ...Kovarththanan Rajaratnam1-3/+4
2009-06-11Remove some "statement not reached" warnings.Stig Bjørlykke1-6/+1
2009-06-08Fixed check for no_of_bits in tvb_get_bits16(), tvb_get_bits32() andStig Bjørlykke1-14/+10
2009-04-24Added tvb_format_stringzpad_wsp().Stig Bjørlykke1-0/+24
2009-04-05Reapply the change from revision 27946.Guy Harris1-1/+12
2009-04-05Back out the previous change. As Guy pointed out, we might not want toGerald Combs1-32/+21
2009-04-04tvbuff.[ch]: Accept more size_t's.Gerald Combs1-20/+20
2009-04-03Don't support a length of -1 meaning "to the end of the tvbuff" inGuy Harris1-1/+12
2009-04-03Make the "length" argument of the tvb_mem* functions a size_t since it'sGerald Combs1-14/+14
2009-04-01Add to new functions from the optimization patch:Anders Broman1-0/+20
2009-03-27Introduce two new functions:Stephen Fisher1-0/+53
2009-03-13From Jakub Zawadzki (bug 3331):Stig Bjørlykke1-4/+2
2008-07-08Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2649 by adding some l...Jeff Morriss1-3/+3
2008-06-20Port over the composite tvbuff fixes from /trunk-1.0.Gerald Combs1-2/+5
2008-04-14Get rid of some unsued code: The warning causes a failure due to -WerrorJörg Mayer1-0/+2
2008-04-12From Michael McCartney:Anders Broman1-19/+39
2008-04-09Remove:Anders Broman1-4/+0
2008-03-25Fixed bug with tvb_get_bits64(); the mask array had one less "ff" thanAshok Narayanan1-9/+8
2008-03-04Add a inflateEnd() call to free up the stream in the re-init block.Stig Bjørlykke1-0/+1
2007-12-12tvbuff.c - fix abug if reading last byte in tvbAnders Broman1-3/+8
2007-12-09Move the routines tvb_skip_wsp() to tvbuff.cAnders Broman1-0/+54
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-3/+7
2007-11-16Add {} to some IF statements.Anders Broman1-5/+8
2007-10-27Apply yet another set of the optimization patches:Anders Broman1-10/+41
2007-05-19Get rid of unused variables.Guy Harris1-10/+8
2007-05-18Split tvb_get_bits64 into tvb_get_bits8 tvb_get_bits16 tvb_get_bits32 and tvb...Anders Broman1-81/+147
2007-05-08Fix proto_tree_add_bits_ret_val() (as now used by FP dissector).Martin Mathieson1-6/+11
2007-04-28NULL is a pointer value; routines returning integral values shouldn'tGuy Harris1-1/+1
2007-04-28Make tvb_memdup(), like ep_tvb_memdup(), return a "void *".Guy Harris1-2/+2
2007-04-28Add:Anders Broman1-0/+115
2007-04-24Fix definition of tvb_memcpy() to match declaration.Guy Harris1-1/+1
2007-04-24"memcpy()" takes void *'s as arguments and returns a void *; haveGuy Harris1-5/+5
2007-04-23More const cleanup.Guy Harris1-1/+2