• Adrian Grange's avatar
    Fix out of bounds read in update_mbgraph_frame_stats · 95b4cf05
    Adrian Grange authored
    update_mbgraph_frame_stats used xd->mode_info_context
    before it had been setup, resulting in potentially
    random accesses of uninitialized memory.
    This fix allocates a local MODE_INFO structure to hold
    the data generated in the function.
    Change-Id: Ic9e75610008ce0e2d690e8e583c21582fee6fc45
mbgraph.c 16.8 KB