summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/coreboot/sdram.c
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-08-03 17:32:41 +0800
committerAnatolij Gustschin <agust@denx.de>2023-08-13 23:08:15 +0200
commit01c76f1a64ba8cb3da9b26be481e289ee16960f0 (patch)
treebe69afccfff44910596b7d9685ce4af1fdd6bda0 /arch/x86/cpu/coreboot/sdram.c
parenta5899cc69a99379f01e8e2f9f98e0e09b24f1656 (diff)
video: vidconsole: Fix null dereference of ops->measure
At present vidconsole_measure() tests ops->select_font before calling ops->measure, which would result in a null dereference when the console driver provides no ops for measure. Fixes: b828ed7d7929 ("console: Allow measuring the bounding box of text") Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/coreboot/sdram.c')
0 files changed, 0 insertions, 0 deletions