Re: [PATCH] video: vidconsole: Fix null dereference of ops->measure

2023-08-13 Thread Anatolij Gustschin
On Thu, 3 Aug 2023 17:32:41 +0800 Bin Meng bm...@tinylab.org wrote: > 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 mea

Re: [PATCH] video: vidconsole: Fix null dereference of ops->measure

2023-08-03 Thread Simon Glass
On Thu, 3 Aug 2023 at 03:32, Bin Meng wrote: > > 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

[PATCH] video: vidconsole: Fix null dereference of ops->measure

2023-08-03 Thread Bin Meng
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 --- drivers/video/v