Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-JSONSerializableObjectForObject crash, SIGSEGV SEGV_ACCERR #48

Closed
Quanhua-Guan opened this issue Jan 20, 2020 · 2 comments
Closed

-JSONSerializableObjectForObject crash, SIGSEGV SEGV_ACCERR #48

Quanhua-Guan opened this issue Jan 20, 2020 · 2 comments
Assignees

Comments

@Quanhua-Guan
Copy link

Quanhua-Guan commented Jan 20, 2020

if ([newObj stringValue] && [[obj stringValue] rangeOfString:@"."].location != NSNotFound) {

id v = [self JSONSerializableObjectForObject:obj[key]];

JSONSerializableObjectForObject这个函数中有几处不太合理的代码. 应该使用newObj, 而不是obj. 问题代码会导致野指针崩溃, 不过概率较低.

@wenquanlebao
Copy link
Collaborator

感谢您的关注和反馈,我们会在后续版本尽快修复~

@minchaozhang minchaozhang added this to To do in TO DO 管理 via automation Jan 20, 2020
@minchaozhang
Copy link
Contributor

感谢您的反馈,该问题已修复。

TO DO 管理 automation moved this from To do to Done Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
TO DO 管理
  
Done
Development

No branches or pull requests

3 participants