Uninitialized Variable Use in video: fbdev: pm3fb

Yizhuo Zhai yzhai003 at ucr.edu
Tue Oct 8 20:32:45 UTC 2019


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


More information about the dri-devel mailing list