Ethereal-dev: RE: [Ethereal-dev] Changes in the filter GUI

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Ulf Lamping" <ulf.lamping@xxxxxx>
Date: Mon, 26 Jan 2004 11:19:13 +0100
Ethereal development <ethereal-dev@xxxxxxxxxxxx> schrieb am 26.01.04 10:48:19:
> 
> Very nice!

:-)

> 
> However there's still a built-in hard-coded limit on the size of a filter
> string. Try for instance filtering out a dozen of TCP streams, and your
> filter string will be truncated at some point, resulting in a dfilter
> compile error. Maybe we want to get rid of the fixed-length buffer and go to
> a dynamically allocated buffer (this may require the creation of an own text
> input widget, capturing keyboard input events and reallocating a new buffer
> whenever the previous buffer is full)?
> 

I don't know where this fixed length is used.

Maybe it's the text entry used in the combo box. If that's the case, we could simply make a call to gtk_entry_set_max_length() and set the max length to 65535, which should be enough for some *very* long filters :-)

I currently don't have a clue if this will work, and cannot test this at the moment.

Regards, ULFL

______________________________________________________________________________
Nachrichten, Musik und Spiele schnell und einfach per Quickstart im 
WEB.DE Screensaver - Gratis downloaden: http://screensaver.web.de/?mc=021110