public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH] batctl: Handle allocation error in vlan_get_link_parse
Date: Mon, 04 Dec 2017 12:59:23 +0100	[thread overview]
Message-ID: <6784418.ciu8HoDoe8@prime> (raw)
In-Reply-To: <20171202074559.3582-1-sven@narfation.org>

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

On Saturday, December 2, 2017 8:45:59 AM CET Sven Eckelmann wrote:
> The malloc could fail and return NULL. In this case, the processing of the
> current interface index has to be stopped to avoid writing to NULL (which
> would cause a segfault).
> 
> Fixes: d29288fe0583 ("batctl: implement vlan-to-link helper functions")
> Signed-off-by: Sven Eckelmann <sven@narfation.org>

Applied in 2ea390c.

Thank you!
      Simon

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2017-12-04 11:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-02  7:45 [B.A.T.M.A.N.] [PATCH] batctl: Handle allocation error in vlan_get_link_parse Sven Eckelmann
2017-12-04 11:59 ` Simon Wunderlich [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=6784418.ciu8HoDoe8@prime \
    --to=sw@simonwunderlich.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.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