LeoMobileDeveloper / LeoMobileDeveloper/QTEventBus

当[NSObject subscribe:on:]的第二个参数无意传入了的nil对象,下面的代码必崩;

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
428
Forks
69
PR merge metrics
No merged PRs in 30d

Description

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect Sources/Core/NSObject+QTEventBus.m at lines 28 and 32, and reproduce calls to subscribeName🔛 and subscribe🔛 with a nil second argument. Clarify the expected nil behavior, then verify that both entry points no longer crash under that case.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.