Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-cvs] rev 17589: /trunk/epan/: emem.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "ronnie sahlberg" <ronniesahlberg@xxxxxxxxx>
Date: Sun, 12 Mar 2006 09:41:34 +1100
i have checked in a fix in 17596

can you try again with current svn?


On 3/12/06, LEGO <luis.ontanon@xxxxxxxxx> wrote:
Something got broken here...

Got a crash NULL grandparent

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
rb_insert_case1 (se_tree=0x5c16d00, node=0x5c17390) at emem.c:858
858             if(parent==grandparent->left){
(gdb) bt 10
#0  rb_insert_case1 (se_tree=0x5c16d00, node=0x5c17390) at emem.c:858
#1  0x0123abb8 in dissect_contextId_impl (pinfo=0x5c16d00,
tree=0x4a2db18, tvb=0xbfffc8bc, offset=29665208) at
packet-h248-template.c:1364
#2  0x010c6808 in dissect_ber_sequence (implicit_tag=96562432,
pinfo=0x5b73128, parent_tree=0x4a2db18, tvb=0x4a35bc0, offset=0,
seq=0x1b9fbe4, hf_id=14247, ett_id=77782040) at packet-ber.c :1169
#3  0x0123f8c4 in dissect_actionReplies_item (pinfo=0x5c16d00,
tree=0x0, tvb=0x5c182a8, offset=-2134597583) at h248.cnf:360
#4  0x010c83b4 in dissect_ber_sq_of (implicit_tag=96562432, type=16,
pinfo=0x5b73128, parent_tree=0x18, tvb=0x4a35bc0, offset=0,
seq=0x1b9fbd4, hf_id=14246, ett_id=5308) at packet-ber.c:2037
#5  0x010c8474 in dissect_ber_sequence_of (implicit_tag=96562432,
pinfo=0x5c18758, parent_tree=0x0, tvb=0x5c182a8, offset=1,
seq=0x1b9fbd4, hf_id=14246, ett_id=96569052) at packet-ber.c:2065
#6  0x010c71e0 in dissect_ber_choice (pinfo=0x5b73128,
parent_tree=0x4a2db18, tvb=0x4a35b8c, offset=77814720,
choice=0x1b9fb98, hf_id=14244, ett_id=5307, branch_taken=0x0) at
packet-ber.c:1623
#7  0x010c6808 in dissect_ber_sequence (implicit_tag=96562432,
pinfo=0x5b73128, parent_tree=0x4a2db18, tvb=0x4a35b24, offset=0,
seq=0x1b9fb78, hf_id=14238, ett_id=77814668) at packet-ber.c:1169
#8  0x010c71e0 in dissect_ber_choice (pinfo=0x5b73128,
parent_tree=0x4a2db18, tvb=0x4a35af0, offset=77814564,
choice=0x1b9fab4, hf_id=14226, ett_id=5302, branch_taken=0x0) at
packet-ber.c:1623
#9  0x010c83b4 in dissect_ber_sq_of (implicit_tag=96562432, type=16,
pinfo=0x5b73128, parent_tree=0x24, tvb=0x4a35af0, offset=0,
seq=0x1b9faa4, hf_id=14225, ett_id=5297) at packet-ber.c:2037

On 3/11/06, sahlberg@xxxxxxxxxxxx < sahlberg@xxxxxxxxxxxx> wrote:
> User: sahlberg
> Date: 2006/03/11 07:36 AM
>
> Log:
>  remove some redundant calls and checks and pass the required pointers as parameters instead to make it slightly faster
>
> Directory: /trunk/epan/
>   Changes    Path          Action
>   +15 -59    emem.c        Modified
>
>
>
> http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=17589&view=rev
> _______________________________________________
> Ethereal-cvs mailing list
> Ethereal-cvs@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-cvs
>


--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev