• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Crash in CFPreferencesSetAppValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash in CFPreferencesSetAppValue


  • Subject: Crash in CFPreferencesSetAppValue
  • From: email@hidden
  • Date: Thu, 23 May 2013 16:10:39 +1200


Hello. This piece of code causes CFPreferencesSetAppValue() to
crash:

- (CFDictionaryRef) createBlockSaveData {

 CFDictionaryRef
parent=[super createBlockSaveData];

 CFStringRef
keys[]={CFSTR("LinkBlockURL"), CFSTR("LinkBlockDisplayName"),
CFSTR("LinkBlockBrowser"), CFSTR("BlockType"), nil};

 CFTypeRef
values[]={url ? (__bridge CFTypeRef)(url) : CFSTR("null"),


displayName ? (__bridge CFTypeRef)(displayName) : CFSTR("null"),


browser ? (__bridge CFTypeRef)(browser) : CFSTR("null"),


CFSTR(LKBLockTypeURL),

 nil};

 CFMutableDictionaryRef
d=CFDictionaryCreateMutableCopy(nil, 0, parent);

 if (url) {for (int
t=0; t
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Crash in CFPreferencesSetAppValue
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Dismissing The Keyboard
  • Next by Date: Re: Creating More Than 1 Of The Same Element/control
  • Previous by thread: Re: Dismissing The Keyboard
  • Next by thread: Re: Crash in CFPreferencesSetAppValue
  • Index(es):
    • Date
    • Thread