mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jim Hague <jim.hague@acm.org>
To: Patrick McHardy <kaber@trash.net>
Cc: linux-kernel@vger.kernel.org, jsimmons@infradead.org
Subject: Re: [PATCH]: Fix NULL-ptr dereference in pm2fb_probe
Date: Fri, 23 Apr 2004 09:14:22 +0100 (BST)	[thread overview]
Message-ID: <XFMail.20040423091422.jim.hague@acm.org> (raw)
In-Reply-To: <40887BE3.9080502@trash.net>

On 23-Apr-2004 Patrick McHardy wrote:
> This patch fixes a NULL-pointer dereference in pm2fb_probe.
> The memset sets info->par to 0, it is dereferenced shortly
> afterwards. framebuffer_alloc already initializes the memory
> to 0, so it can simply be removed.

Thanks for your work. We've overlapped on this one, I'm afraid - a couple of
days ago I sent a patch off to James and the fbdev list that addresses this and
a bug in pm2fb_blank().

Out of interest, can I ask if you're running pm2fb and if so on what hardware?

-- 
Jim Hague - jim.hague@acm.org          Never trust a computer you can't lift.

  reply	other threads:[~2004-04-23  8:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23  2:13 Patrick McHardy
2004-04-23  8:14 ` Jim Hague [this message]
2004-04-23 14:34   ` Patrick McHardy
2004-04-23 23:07     ` James Simmons
2004-04-24 12:19       ` Jim Hague

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=XFMail.20040423091422.jim.hague@acm.org \
    --to=jim.hague@acm.org \
    --cc=jsimmons@infradead.org \
    --cc=kaber@trash.net \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®