Re: ORBit object IDs
- From: Diego Sevilla Ruiz <dsevilla ditec um es>
- To: Huw Rogers <count0 building2 co jp>
- Cc: orbit-list gnome org
- Subject: Re: ORBit object IDs
- Date: Thu, 2 May 2002 23:15:02 -0500
This should not be the case. I'll check the code for that, but
in the spec it clearly indicates that the ObjectId can have any
data inside (such as nul), so it cannot be treated like a string.
On Fri, May 03, 2002 at 01:37:43PM +0900, Huw Rogers wrote:
| Does anyone know why does ORBit insist that object IDs are string-like
| and null terminated? AFAIK there's nothing in the standard that requires
| that the sequence<octet>s that are object IDs be string-like.
| I'm concerned about orbit_poa.c:591, which g_assert()'s null termination,
| and also comments elsewhere in the code referring to strlen() of the
| object ID - when actually it can be binary data with embedded nulls.
| BTW this refers to ORBit 0.5.15, but the same issue may be in ORBit2
| Huw Rogers <firstname.lastname@example.org>
| orbit-list mailing list
Diego Sevilla Ruiz http://ditec.um.es/~dsevilla email@example.com \ /\
Dpto. Ingeniería y Tecnología de Computadores http://ditec.um.es ) ( ')
Visiting Extreme! Computing Lab http://extreme.indiana.edu ( / )
Indiana University, Bloomington http://www.iub.edu \(__)|
] [Thread Prev