Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 18 Feb 2020 12:21:20 -0800 | Subject | Re: [PATCH] vsprintf: don't obfuscate NULL and error pointers |
| |
On Tue, Feb 18, 2020 at 12:18 PM Ilya Dryomov <idryomov@gmail.com> wrote: > > > %p: 0000000001f8cc5b -EFAULT NULL > > ^^^ > I assume you meant %pe here.
Heh, yes.
> Looks sensible to me. Without this patch NULL is obfuscated for > both %p and %pe though. Do you want this patch amended or prefer > a follow-up for %pe "0000000000000000" -> "NULL" so that it can be > discussed separately?
Yeah, as an independent follow-up. I think your first patch is fine, and I think this %pe NULL behavior thing is a completely separate issue that just came up when %pe was mentioned.
Linus
| |