platform_bootable_recovery/minui
Alistair Strachan 4697d8b11b minui: Fix breakage in graphics_adf.
When graphics_adf was refactored in 557fa1f, a class member was introduced
that was not initialized to zero. This meant that the first time Flip()
was called, current_surface would have a junk value and cause a bad
pointer rereference, crashing recovery.

Make sure current_surface is initialized to 0 for the first Flip().

Test: Ran recovery on a device using the ADF backend.
Change-Id: I9b8fac0a4d48cac990e5e9808a071c232de1ebfb
2017-04-28 16:13:02 -07:00
..
include/minui Add the missing sr-Latn into png files and rename the png locale header 2017-03-24 16:54:52 -07:00
Android.mk Add the missing sr-Latn into png files and rename the png locale header 2017-03-24 16:54:52 -07:00
events.cpp Add the missing #include of <functional>. 2017-03-17 01:00:25 -07:00
font_10x18.h Support use of custom fonts in miniui 2016-11-15 14:24:06 -08:00
graphics.cpp minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_adf.cpp minui: Fix breakage in graphics_adf. 2017-04-28 16:13:02 -07:00
graphics_adf.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_drm.cpp minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_drm.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_fbdev.cpp minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
graphics_fbdev.h minui: Move graphics_{adf,drm,fbdev} into classes. 2017-02-10 17:05:15 -08:00
mkfont.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
resources.cpp Add the missing sr-Latn into png files and rename the png locale header 2017-03-24 16:54:52 -07:00