Opened 13 years ago
Closed 13 years ago
Last modified 13 years ago
#11592 closed Patch - Bug Fix (fixed)
Patch to correct check for null pointer from function in audiooutputpulse.cpp - fixes coverity 700280
| Reported by: | Owned by: | JYA | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.27 |
| Component: | MythTV - Audio Output | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
In 1e1e550 code was added to call pa_channel_map_init_auto and check the result. This patch corrects that check for a null pointer.
Fixes coverity 700280 ("Operands don't affect result" because the previous comparison was always false)
Patch: https://github.com/garybuhrmaster/mythtv/commit/78ddf38354312cdeecccd6030becb78b86b797bf.patch
Change History (4)
Note:
See TracTickets
for help on using tickets.

This patch should also fix coverity 700382 (I missed the second defect in report)