• 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
Re: Where's the buffer overrun?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where's the buffer overrun?


  • Subject: Re: Where's the buffer overrun?
  • From: Chris Suter <email@hidden>
  • Date: Thu, 20 Mar 2008 12:42:11 +1100


On 20/03/2008, at 12:31 PM, Nick Zitzmann wrote:


On Mar 19, 2008, at 6:49 PM, Hamish Allan wrote:
I, for one, am surprised that NSMutableData works this way, given that
a) the method name specifically requests that no copy is made, and b)
there's no particular reason for it to behave that way unless the data
is resized.


Thanks again everyone. In case Chris Kane or someone else in charge of (Core)Foundation at Apple is reading this, I filed bug #5809387 on this issue...

I wouldn't hold out too much hope for getting this fixed. From looking at the CF sources, it looks like it would be a little tricky solve.


I suspect that it will just end up getting documented as behaving this way and that's fair enough, I think—it is NSMutableData after all.

- Chris

_______________________________________________

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: Where's the buffer overrun?
      • From: "Hamish Allan" <email@hidden>
References: 
 >Where's the buffer overrun? (From: Nick Zitzmann <email@hidden>)
 >Re: Where's the buffer overrun? (From: Chris Suter <email@hidden>)
 >Re: Where's the buffer overrun? (From: Andrew Farmer <email@hidden>)
 >Re: Where's the buffer overrun? (From: Chris Suter <email@hidden>)
 >Re: Where's the buffer overrun? (From: "Hamish Allan" <email@hidden>)
 >Re: Where's the buffer overrun? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Trouble with CurrencyConverter tutorial
  • Next by Date: Re: Where's the buffer overrun?
  • Previous by thread: Re: Where's the buffer overrun?
  • Next by thread: Re: Where's the buffer overrun?
  • Index(es):
    • Date
    • Thread