Wireshark-dev: Re: [Wireshark-dev] Heads-up about work-in-progress to fix some ep_strbuf issues

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Tue, 14 Apr 2009 10:14:11 -0400
Bill Meier wrote:
I've been running test cases (functionality, boundary conditions & etc) for the ep_strbuf functions.

I've found some problems which I'm in the midst of fixing.

Examples:

ep_strbuf_append_printf(...) after an ep_strbuf_sized_new(m,n) doesn't
actually append anything.
(This causes, for instance, time_msecs_to_str in to_str.c to not work).


ep_strbuf_new_label(<string>) truncates the last character of <string> if the length of <string> is equal to or longer than the DEFAULT_STRBUF_LEN.

...

Bill



I've committed fixes and changes for the ep_strbuf functions in
SVN #28044.

I've run the code through a fair number of test cases so I think it should be OK.

That being said, if I've mis-understood the original intent of something when making my changes or have somehow messed something up, please let me know.

Bill