• 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: Help me interpret this initWithBytes/memcpy crash log?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help me interpret this initWithBytes/memcpy crash log?


  • Subject: Re: Help me interpret this initWithBytes/memcpy crash log?
  • From: Jonathan del Strother <email@hidden>
  • Date: Thu, 5 Jan 2006 18:11:41 +0000

... since srr0==lr...


Sorry, that's clearly not right. I must've gone cross-eyed after staring at code for too long. In which case, the problem is that the "exception was caused by a memory access instruction". Presumably that implies the length overruns the actual data that I've passed to initWithBytes ?


Is there much I can do to prevent this, other than coming up with my own id3 loading routines? I mean, I'm passed a pointer to a chunk of memory that supposedly contains the image, and the image's supposed length. Is there any way to check that that chunk of memory really does have that length before I pass it to initWithBytes ?

Jon

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Help me interpret this initWithBytes/memcpy crash log?
      • From: John Stiles <email@hidden>
References: 
 >Help me interpret this initWithBytes/memcpy crash log? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Help me interpret this initWithBytes/memcpy crash log?
  • Next by Date: Re: Help me interpret this initWithBytes/memcpy crash log?
  • Previous by thread: Help me interpret this initWithBytes/memcpy crash log?
  • Next by thread: Re: Help me interpret this initWithBytes/memcpy crash log?
  • Index(es):
    • Date
    • Thread