Opened 17 years ago
Closed 17 years ago
#5575 closed defect (fixed)
check pointer before dereferencing in mythphone
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythphone | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
sipMsg is checked at the beginning of ::FSM() so it should be checked throughout. My guess is that sipMsg is almost never null so maybe this code could be reworked differently. But the attached patch assumes it can be null and always checks it before dereferencing.
Attachments (2)
Note:
See TracTickets
for help on using tickets.
checks for null where necessary, before dereferencing