Hi,
I am getting a crash when I call getKEXTVersionStringFromIdentifier with
an invalid bundle identifier.
The code is based on that suggested in the docs:
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/WritingDeviceDriver/InternationalizingDrivers/chapter_7_section_3.html
Here is the code
////
CFURLRef BundleURL;
CFBundleRef MyBundle;
BundleURL =
KextManagerCreateURLFrorBundleIdentifier(CFAllocatorGetDefault(),
CFSTR("blah")
MyBundle = CFBundleCreate(NULL, BundleURL);
////
The stack for the crash is as follows:
CFGetAllocator
CFURLGetFileSystemRepresentation
_CFBundleCreate
getKEXTVersionStringFromIdentifier
The code always seems to crash when an invalid identifier is passed to
the function.
I am using OS 10.4.9
Thanks,
Brett.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden