aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-acse.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-06-21 09:38:59 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-06-21 09:38:59 +0000
commit33f4400f83a517ea30f7902a773801b5affe2df9 (patch)
tree4f2079d1ce173ba61d9270e4f2df172e3c43be06 /epan/dissectors/packet-acse.c
parent4af84b3d87d68167043ba6f6cfbd1f43a480b3fa (diff)
the maximum ASN OID length is 256 bytes and there is a define to control this.
fix bug251 and all other occurances where an oid string passed to packet_ber_object_identifier() is not defined as foo[MAX_OID_STR_LEN] svn path=/trunk/; revision=14720
Diffstat (limited to 'epan/dissectors/packet-acse.c')
-rw-r--r--epan/dissectors/packet-acse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-acse.c b/epan/dissectors/packet-acse.c
index 3d577706ca..f0c569e2fa 100644
--- a/epan/dissectors/packet-acse.c
+++ b/epan/dissectors/packet-acse.c
@@ -236,7 +236,7 @@ static gint ett_acse_Authentication_value = -1;
static struct SESSION_DATA_STRUCTURE* session = NULL;
-static char object_identifier_id[64]; /*64 chars should be long enough? */
+static char object_identifier_id[MAX_OID_STR_LEN];
/* indirect_reference, used to pick up the signalling so we know what
kind of data is transferred in SES_DATA_TRANSFER_PDUs */
static guint32 indir_ref=0;