Opened 2 years ago
Closed 2 years ago
#5792 closed defect (fixed)
Analysis Issue - Potential null dereference
Reported by: | CraftyDeano | Assignee: | CraftyDeano |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Module: | Adblock-Plus-for-iOS/macOS | Keywords: | |
Cc: | ashephard, dzhang | Blocked By: | |
Blocking: | Platform: | iOS | |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description (last modified by CraftyDeano)
Xcode static analyser highlights the following issues:
Assertion: Potential null dereference. According to coding standards in 'Creating and Returning NSError Objects' the parameter may be null File: adblockplussafariios/AdblockPlusSafari/AdblockPlus+ActivityChecking.m:69 Assertion: Potential null dereference. According to coding standards in 'Creating and Returning NSError Objects' the parameter may be null File: adblockplussafariios/AdblockPlusSafari/AdblockPlus+ActivityChecking.m:63
Add checks to error to ensure its not NULL as per Apples Documentation.
Change History (3)
comment:1 Changed 2 years ago by CraftyDeano
- Owner set to CraftyDeano
comment:2 Changed 2 years ago by CraftyDeano
comment:3 Changed 2 years ago by CraftyDeano
- Resolution set to fixed
- Status changed from reviewing to closed
Note: See
TracTickets for help on using
tickets.
Landed