All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org>
To: Yann Droneaud <ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 5/5] read_config_file: ignore driver line without driver name
Date: Tue, 31 May 2011 11:37:45 -0700	[thread overview]
Message-ID: <BANLkTim-b=u5ow6-k0oDS2D3Hp8r57GG_Q@mail.gmail.com> (raw)
In-Reply-To: <d6d3d428fcea4a4f78287204c00bd40bc7d7a7c5.1301562707.git.ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org>

On Thu, Mar 31, 2011 at 2:29 AM, Yann Droneaud <ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org> wrote:
> If there's no driver name, strsep() will set config to NULL and later
> process of driver name will segfault.

Thanks, applied this one.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2011-05-31 18:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31  9:29 [PATCH 0/5] Hardenize libibverbs initialisation Yann Droneaud
     [not found] ` <cover.1301562707.git.ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org>
2011-03-31  9:29   ` [PATCH 1/5] load_drivers: reset the list head after releasing items Yann Droneaud
2011-03-31  9:29   ` [PATCH 2/5] ibverbs_init: " Yann Droneaud
2011-03-31  9:29   ` [PATCH 3/5] read_config: don't try to open file beginning with '.' Yann Droneaud
     [not found]     ` <aa79e6cff5121994d60fb10315ce54e5a2dc63af.1301562707.git.ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org>
2011-05-31 18:42       ` Roland Dreier
     [not found]         ` <BANLkTimPvmNzOHn8JRkmu=iBU88nNEq9_A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-31 21:23           ` Yann Droneaud
2011-03-31  9:29   ` [PATCH 4/5] read_config: ignore directory entry with backup suffix (~) Yann Droneaud
2011-03-31  9:29   ` [PATCH 5/5] read_config_file: ignore driver line without driver name Yann Droneaud
     [not found]     ` <d6d3d428fcea4a4f78287204c00bd40bc7d7a7c5.1301562707.git.ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org>
2011-05-31 18:37       ` Roland Dreier [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='BANLkTim-b=u5ow6-k0oDS2D3Hp8r57GG_Q@mail.gmail.com' \
    --to=roland-bhel68plqrggvpxpguhicg@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.