summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2022-04-13 12:14:46 +0200
committerRaphael Isemann <teemperor@gmail.com>2022-04-13 13:12:29 +0200
commit638653561df767b052e372821ffd51c457591202 (patch)
treec9fbf01fe9783a2fbb827e320d9910e301c8bc80 /configure.ac
parenta6ab1e08ee8c5a6dfaebe8fc331bd0811ab8d13f (diff)
Fix uninitialized read in MGAEnableSecondOutPut
`MGAGRestore` allocated `ModeInfo` without initializing its memory and then passes it into `MGAEnableSecondOutPut` via `MGAEnableSecondOutPut(pScrn, &ModeInfo);`. `MGAEnableSecondOutPut` then reads the unitialized memory in the line `if ( !(pModeInfo->flSignalMode & POS_HSYNC) )`. This patch just zeroes the memory to prevent those branches to be randomly taken. Signed-off-by: Raphael Isemann <teemperor@gmail.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions