[lxc-devel] [lxc/master] bugfixes

2018-07-29 Thread brauner on Github
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) ===

Re: [lxc-devel] [PATCH] check for data in nla_put() to avoid invalid memcpy() calls

2018-07-29 Thread Rafał Miłecki
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

[lxc-devel] Errored: lxc/lxc#5596 (master - 646b1be)

2018-07-29 Thread Travis CI
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

[lxc-devel] [lxc/lxc] c8f055: nl: avoid NULL pointer dereference

2018-07-29 Thread GitHub
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

Re: [lxc-devel] [PATCH] check for data in nla_put() to avoid invalid memcpy() calls

2018-07-29 Thread Christian Brauner
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

[lxc-devel] [lxc/master] nl: avoid NULL pointer dereference

2018-07-29 Thread brauner on Github
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) ===

[lxc-devel] [PATCH] check for data in nla_put() to avoid invalid memcpy() calls

2018-07-29 Thread Rafał Miłecki
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

[lxc-devel] [linuxcontainers.org/master] Translate the new features part of LXD 3.3

2018-07-29 Thread tenforward on Github
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