commit | 31aef74d2ac2ea273562faae36ef0440b3617c60 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng@tinylab.org> | Thu Aug 03 17:32:41 2023 +0800 |
committer | Anatolij Gustschin <agust@denx.de> | Sun Aug 13 23:08:15 2023 +0200 |
tree | be69afccfff44910596b7d9685ce4af1fdd6bda0 | |
parent | e9c878054773dc876be759a264ded4ac192a433f [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>