|
From: | Doug Simons |
Subject: | [bug #24883] [NSData getBytes:length:] behavior different than Cocoa |
Date: | Wed, 19 Nov 2008 23:08:36 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |