Opened 17 years ago

Closed 17 years ago

#4937 closed defect (fixed)

init important vars in newAdjustFilter

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

newAdjustFilter uses sscanf, which means that whatever variable is passed by reference may come out of the call untouched. So any variable going in should already be initialized.

Attachments (1)

filters_adjust_filter_adjust.c-init-vars-in-newAdjustFilter.patch (1.1 KB) - added by Erik Hovland <erik@…> 17 years ago.
inits vars in newAdjustFilter

Download all attachments as: .zip

Change History (2)

Changed 17 years ago by Erik Hovland <erik@…>

inits vars in newAdjustFilter

comment:1 Changed 17 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17212]) Fixes #4937. Initialize some variables in filters_adjust in case a bogus set of settings throws off sscanf.

Note: See TracTickets for help on using tickets.