Messages in this thread | | | Subject | Re: [PATCH v3] vsprintf: Prevent crash when dereferencing invalid pointers | From | Andy Shevchenko <> | Date | Thu, 15 Mar 2018 15:09:03 +0200 |
| |
On Wed, 2018-03-14 at 15:09 +0100, Petr Mladek wrote: > We already prevent crash when dereferencing some obviously broken > pointers. But the handling is not consistent. Sometimes we print > "(null)" > only for pure NULL pointer, sometimes for pointers in the first > page and
> sometimes also for pointers in the last page (error codes).
I still think that printing a hex value of the error code is much better than some odd "(efault)".
-- Andy Shevchenko <andriy.shevchenko@linux.intel.com> Intel Finland Oy
| |