aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-08-25 17:29:55 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-08-25 17:29:55 +0000
commitbcd55f4c8e5d93fae260ebbcc56712c45b2926c5 (patch)
tree16dfc22040ccda35eeb235e06955c929032cbca3 /epan/to_str.h
parent56eef0a47a039de01f7c691bf07f55725a1c7697 (diff)
replace oid_to_str_buf() and oid_to_str()
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len() svn path=/trunk/; revision=22659
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index 22ea4bc5c1..147a944f06 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -30,7 +30,6 @@
#include "nstime.h"
#include "epan/packet_info.h"
-#define MAX_OID_STR_LEN 256
#define GUID_STR_LEN 37
#define MAX_IP_STR_LEN 16
#define MAX_ADDR_STR_LEN 256
@@ -78,8 +77,6 @@ extern void display_epoch_time(gchar *, int, time_t, gint32, time_res_t);
extern gchar* rel_time_to_str(nstime_t*);
extern gchar* rel_time_to_secs_str(nstime_t*);
-extern gchar* oid_to_str(const guint8*, gint);
-extern gchar* oid_to_str_buf(const guint8*, gint, gchar*, int);
extern gchar* guid_to_str(const e_guid_t*);
extern gchar* guid_to_str_buf(const e_guid_t*, gchar*, int);