diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-10-11 14:58:04 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-10-11 14:58:04 +0000 |
commit | c6d6deee3cf80aafc7eba03df304c0b405341aef (patch) | |
tree | 1a09727dba0852332b9378d7432230be9893d55d /dfilter.h | |
parent | a2bfe213c54be3adb33b28be56341cb30a300cb0 (diff) | |
download | wireshark-c6d6deee3cf80aafc7eba03df304c0b405341aef.tar.gz |
Fixed bug reported by Laurent regarding byte-string filters not
checking the length of the packet before copying bytes from the packet.
svn path=/trunk/; revision=807
Diffstat (limited to 'dfilter.h')
-rw-r--r-- | dfilter.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* dfilter.h * Definitions for display filters * - * $Id: dfilter.h,v 1.11 1999/10/11 06:39:04 guy Exp $ + * $Id: dfilter.h,v 1.12 1999/10/11 14:58:01 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -61,6 +61,6 @@ void dfilter_destroy(dfilter *df); dfilter* dfilter_compile(gchar* dfilter_text); /* Apply compiled dfilter to a proto_tree */ -gboolean dfilter_apply(dfilter *df, proto_tree *ptree, const guint8* pd); +gboolean dfilter_apply(dfilter *df, proto_tree *ptree, const guint8* pd, guint len); #endif /* ! __DFILTER_H__ */ |