bugGNUstep - Bugs: bug #24883, [NSData getBytes:length:] behavior...

Group
 
 

bug #24883: [NSData getBytes:length:] behavior different than Cocoa

Submitter:  Doug Simons <theeggcamefirst>
Submitted:  Wed 19 Nov 2008 11:08:35 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 20 Nov 2008 06:21:17 PM UTC, comment #2: 

Works great -- thank you for the instant fix!!

Doug Simons <theeggcamefirst>
Thu 20 Nov 2008 12:05:55 AM UTC, comment #1: 

Fixed that in SVN ... thanks.

Richard Frith-Macdonald <CaS>
Group Member
Wed 19 Nov 2008 11:08:35 PM UTC, original submission:  

Calling [NSData getBytes:length:] throws an NSRangeException exception if the length parameter is greater than the number of bytes of data available. On Cocoa, no exception is thrown (and presumably only the available bytes are copied).


Doug Simons <theeggcamefirst>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by theeggcamefirst (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-11-20 CaS StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code