From: Alexander Stein <alexanders83@web.de>
To: dedekind1@gmail.com
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
"David Woodhouse" <dwmw2@infradead.org>,
"Mats Kärrman" <Mats.Karrman@tritech.se>
Subject: Re: Re: [PATCH] UBI: Fix potential NULL-pointer dereference
Date: Mon, 31 Mar 2014 19:00:25 +0200 [thread overview]
Message-ID: <11273890.zrJp64Ac5Z@kongar> (raw)
In-Reply-To: <1396259200.9016.59.camel@sauron.fi.intel.com>
On Monday 31 March 2014, 12:46:40 wrote Artem Bityutskiy:
> On Mon, 2014-03-31 at 06:18 +0000, Mats Kärrman wrote:
> > On Friday, March 28, 2014 10:04 PM, Alexander Stein wrote:
> > >
> > > It's no use to debug print a string before checking on NULL.
> > >
> >
> > If the string is NULL, that could be very useful to know when debugging and
> > the print function should handle that gracefully, i.e. by not printing anything
> > for %s.
>
> %s will just result in (null), I do not see any issue with this.
Oh, it does? I was not aware of that (kernel-specific) behavior.
Sorry for ne noise.
Best regards,
Alexander
prev parent reply other threads:[~2014-03-31 17:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-28 21:04 [PATCH] UBI: Fix potential NULL-pointer dereference Alexander Stein
2014-03-31 6:18 ` Mats Kärrman
2014-03-31 9:46 ` Artem Bityutskiy
2014-03-31 17:00 ` Alexander Stein [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11273890.zrJp64Ac5Z@kongar \
--to=alexanders83@web.de \
--cc=Mats.Karrman@tritech.se \
--cc=dedekind1@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox