From 9539ad67d5c9046b316a095170a74d7bd9d1d414 Mon Sep 17 00:00:00 2001 From: sahlberg Date: Sat, 17 Jun 2006 08:40:14 +0000 Subject: 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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18491 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-ndmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-ndmp.c') 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; -- cgit v1.2.3