Bug in ORBit_free_via_TypeCode?
- From: Richard Hult <rhult hem passagen se>
- To: orbit-list gnome org
- Subject: Bug in ORBit_free_via_TypeCode?
- Date: 27 Jun 2001 13:57:43 +0200
after trying to debug a weird crash in the bonobo listener skels, when
passing a sequence of integers, I finally found what seems to be a bug
Take a look at ORBit_free_via_TypeCode (), allocators.c:220
CORBA_sequence_octet *pval = mem;
retval = (guchar *)mem + sizeof(CORBA_sequence_octet);
It seems like a sequence is always treated like a sequence of octets,
but in my case the sequence contained 32-bit integers. I'm not very
familiar with this particular parts of ORBit, so unfortenately, I don't
have a patch.
] [Thread Prev