My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 56: TouchJSON: Using nil for &error param causes sigbus when empty data passed
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  May 2009


 
Reported by joshar...@gmail.com, Apr 28, 2009
What steps will reproduce the problem?

NSDictionary *crash = [[CJSONDeserializer deserializer]
deserializeAsDictionary:[NSData data] error:nil];


What is the expected output? What do you see instead?

No crash. :) The documentation suggests that it is ok to pass nil as the
error pointer.


What version of the product are you using? On what operating system?

r301, iPhone Simulator 3.0 beta 3.
May 16, 2009
#1 jpedroso@gmail.com
Unable to reproduce here.

Xcode
Version 3.1.3 (Pre-release)
Component versions
Xcode IDE: 1176.0
Xcode Core: 1176.0
ToolSupport: 1171.0

Crash persists in latest beta?
May 16, 2009
Project Member #2 jwight
Yeah I believe this was fixed a while ago. Closing.
Status: Invalid
May 20, 2009
#3 joshar...@gmail.com
Yep, confirmed. This appears to have been fixed in r118/r119. Sorry about that.

Powered by Google Project Hosting