URL:
<http://savannah.gnu.org/bugs/?24883>
Summary: [NSData getBytes:length:] behavior different than
Cocoa
Project: GNUstep
Submitted by: theeggcamefirst
Submitted on: Wed 19 Nov 2008 11:08:35 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?24883>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep