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: Fri, 3 May 2002 00:06:16 -0500
- From: Diego Sevilla Ruiz <dsevilla ditec um es>
- To: Huw Rogers <count0 building2 co jp>
- Subject: Re: ORBit object IDs
- Date: Fri, 3 May 2002 00:02:36 -0500
Hi again:
I actuallly inspected the code and it is fixed in the GNOME CVS
version.
Best regards.
diego
On Thu, May 02, 2002 at 11:15:02PM -0500, Diego Sevilla Ruiz wrote:
| Hi, Huw
|
| 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.
|
| Best regards.
| diego.
|
| 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
| | --
| | Huw Rogers <rogers@building2.co.jp>
| |
| | _______________________________________________
| | orbit-list mailing list
| | orbit-list@gnome.org
| | http://mail.gnome.org/mailman/listinfo/orbit-list
|
| --
| Diego Sevilla Ruiz http://ditec.um.es/~dsevilla dsevilla@um.es \ /\
| 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 \(__)|
| _______________________________________________
| orbit-list mailing list
| orbit-list@gnome.org
| http://mail.gnome.org/mailman/listinfo/orbit-list
--
Diego Sevilla Ruiz http://ditec.um.es/~dsevilla dsevilla@um.es \ /\
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 \(__)|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]