DirectoryServices-258: dsDataListInsertAfter() logic bug
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There's a logic bug in dsDataListInsertAfter() on 10.3.9: DirServicesUtils.cpp:1099 As opposed to DirectoryServices-352.1 (10.4.x) 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... pNewNode = ::dsAllocListNodeFromBuffPriv( inDataNode->fBufferData, inDataNode->fBufferLength ); if ( pNewNode != nil ) 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand