Messages in this thread | | | Date | Thu, 10 Feb 2022 14:39:13 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH v4 1/2] vsprintf: Fix potential unaligned access |
| |
On Thu 2022-01-27 20:12:32, Andy Shevchenko wrote: > The %p4cc specifier in some cases might get an unaligned pointer. > Due to this we need to make copy to local variable once to avoid > potential crashes on some architectures due to improper access. > > Fixes: af612e43de6d ("lib/vsprintf: Add support for printing V4L2 and DRM fourccs") > Cc: Sakari Ailus <sakari.ailus@linux.intel.com> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Reviewed-by: Petr Mladek <pmladek@suse.com>
Both patches have been committed into printk/linux.git, branch for-5.18-vsprintf-fourcc-fixup .
Best Regards, Petr
| |