Uninitialized Variable Use in video: fbdev: pm3fb

From: Yizhuo Zhai
Date: Tue Oct 08 2019 - 16:32:08 EST


Hi All:

drivers/video/fbdev/pm3fb.c:

Inside function pm3fb_write_mode(), variable "m" "n" "p" could leave
uninitialized after pm3fb_calculate_clock(), however, they are used
later in PM3_WRITE_DAC_REG, which is potentially unsafe.


--
Kind Regards,

Yizhuo Zhai

Computer Science, Graduate Student
University of California, Riverside