The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2499
This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.
=== Description (from pull-request) ===
On Sun, 29 Jul 2018 at 18:39, Christian Brauner wrote:
> On Sun, Jul 29, 2018 at 05:44:06PM +0200, Rafał Miłecki wrote:
> > From: Rafał Miłecki
> >
> > It's a valid case to call nla_put() with NULL data and 0 len. It's done
> > e.g. in the nla_put_attr().
> >
> > There has to be a check for data
Build Update for lxc/lxc
-
Build: #5596
Status: Errored
Duration: 13 mins and 44 secs
Commit: 646b1be (master)
Author: Christian Brauner
Message: Merge pull request #2497 from brauner/2018-07-29/nl_fix
nl: avoid NULL pointer dereference
View the changeset:
h
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: c8f05589644d6b719e5a2c7fc548604f248be9be
https://github.com/lxc/lxc/commit/c8f05589644d6b719e5a2c7fc548604f248be9be
Author: Rafał Miłecki
Date: 2018-07-29 (Sun, 29 Jul 2018)
Changed paths:
M src/lxc/nl.c
On Sun, Jul 29, 2018 at 05:44:06PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki
>
> It's a valid case to call nla_put() with NULL data and 0 len. It's done
> e.g. in the nla_put_attr().
>
> There has to be a check for data in nla_put() as passing NULL to the
> memcpy() is not allowed. Even
The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2497
This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.
=== Description (from pull-request) ===
From: Rafał Miłecki
It's a valid case to call nla_put() with NULL data and 0 len. It's done
e.g. in the nla_put_attr().
There has to be a check for data in nla_put() as passing NULL to the
memcpy() is not allowed. Even if length is 0, both pointers have to be
valid.
For a reference see C99 stan
The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/linuxcontainers.org/pull/317
This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.
=== Description (from pu