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: Sat, 4 May 2002 12:10:57 -0500
Hi, I definitely looked at ORBit, not ORBit2, and you can find it here
the HEAD branch, which seems to be corrected:
http://cvs.gnome.org/lxr/source/ORBit/src/orb/orbit_poa.c
Best regards.
diego.
On Sun, May 05, 2002 at 12:23:29AM +0900, Huw Rogers wrote:
| And not in the HEAD either. Were you looking at ORBit2? This is a bug in
| ORBit stable.
|
| -Huw
|
| > Not on the orbit-stable-0-5 branch.
| >
| > -Huw
| >
| > > 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 \(__)|
| >
| > --
| > Huw Rogers <rogers@building2.co.jp>
| >
| > _______________________________________________
| > orbit-list mailing list
| > orbit-list@gnome.org
| > http://mail.gnome.org/mailman/listinfo/orbit-list
|
| --
| Huw Rogers <rogers@building2.co.jp>
--
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]