DirectoryServices-258: dsDataListInsertAfter() logic bug
DirectoryServices-258: dsDataListInsertAfter() logic bug
- Subject: DirectoryServices-258: dsDataListInsertAfter() logic bug
- From: Brian Bergstrand <email@hidden>
- Date: Thu, 15 Jun 2006 14:45:16 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
There's a logic bug in dsDataListInsertAfter() on 10.3.9:
DirServicesUtils.cpp:1099
pNewNode = ::dsAllocListNodeFromBuffPriv( inDataNode->fBufferData,
inDataNode->fBufferLength );
if ( pNewNode != nil )
As opposed to DirectoryServices-352.1 (10.4.x)
DirServicesUtils.cpp:1161
pNewNode = ::dsAllocListNodeFromBuffPriv( inDataNode->fBufferData,
inDataNode->fBufferLength );
if ( pNewNode == nil )
DS-255 will return an error if the allocation succeeds. So, is there
any workaround other than duplicating dsAllocListNodeFromBuffPriv()
(and its support functions) in my plugin.
I will file a bug (but obviously it's a known one as it was fixed in
10.4 - but has not been fixed in any 10.3.9 Sec Update). However, I
need a workable solution in the present.
Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEkbjRedHYW7bHtqIRAuf4AJ4h48XZ0zTIxDHWgEFP85K09ZxLsgCfV8hP
BZrtLDyJBEUUGwoxWjTcAiw=
=UrRX
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden