summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ndmp.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-06-17 08:40:14 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-06-17 08:40:14 +0000
commitd8e1827401be568e091160678acda0452734a07b (patch)
tree331263477702fdc482c8f7ad2f9e64b70d01e897 /epan/dissectors/packet-ndmp.c
parent2849771e3dcfbe6c5b7c7b1e7fc4979930bf9728 (diff)
downloadwireshark-d8e1827401be568e091160678acda0452734a07b.tar.gz
allocate the correct size of buffer to store the itlq structure for scsi
we used the wrong size which caused emem to complain that the canary value had been stomped upon. another win for the canary feature. thanks gerald svn path=/trunk/; revision=18491
Diffstat (limited to 'epan/dissectors/packet-ndmp.c')
-rw-r--r--epan/dissectors/packet-ndmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c
index 250bcf0e4c..668b080596 100644
--- a/epan/dissectors/packet-ndmp.c
+++ b/epan/dissectors/packet-ndmp.c
@@ -1169,7 +1169,7 @@ dissect_execute_cdb_cdb(tvbuff_t *tvb, int offset, packet_info *pinfo,
cdb_tvb=tvb_new_subset(tvb, offset, tvb_len, tvb_rlen);
if(!ndmp_conv_data->task->itlq){
- ndmp_conv_data->task->itlq=se_alloc(sizeof(ndmp_task_data_t));
+ ndmp_conv_data->task->itlq=se_alloc(sizeof(itlq_nexus_t));
ndmp_conv_data->task->itlq->lun=0xffff;
ndmp_conv_data->task->itlq->first_exchange_frame=pinfo->fd->num;
ndmp_conv_data->task->itlq->last_exchange_frame=0;