LeoMobileDeveloper / LeoMobileDeveloper/QTEventBus
当[NSObject subscribe:on:]的第二个参数无意传入了的nil对象,下面的代码必崩;
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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