[lxc-devel] [lxc/lxc] 44b9ae: rundir: Fix memory leaks

GitHub noreply at github.com
Wed Feb 19 15:45:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 44b9ae4b8a5732a36d3fa88f0059567c93903fab
      https://github.com/lxc/lxc/commit/44b9ae4b8a5732a36d3fa88f0059567c93903fab
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M src/lxc/lxclock.c
    M src/lxc/monitor.c
    M src/lxc/utils.c

  Log Message:
  -----------
  rundir: Fix memory leaks

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: fd8c277753a6a1487a9e77b7d712db90dc70a3a4
      https://github.com/lxc/lxc/commit/fd8c277753a6a1487a9e77b7d712db90dc70a3a4
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M src/lxc/utils.h

  Log Message:
  -----------
  coverity: rundir: Fix memory leaks

Since we're no longer always returning a getenv result or some defined
string, the callers should cleanup the variable after use.

As a result, change from const char* to char*, add the needed free()
everywhere and use strdup() on strings coming from getenv.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: d2b2911c5530a5fec6e337a52ac906e14beea5f4
      https://github.com/lxc/lxc/commit/d2b2911c5530a5fec6e337a52ac906e14beea5f4
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M templates/lxc-alpine.in

  Log Message:
  -----------
  lxc-alpine: fixes for checkbashism

Fix the issues reported by checkbashisms and change back to #!/bin/sh

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 6460d3c5f006d6cdae72e5c01e3a844986d20ff7
      https://github.com/lxc/lxc/commit/6460d3c5f006d6cdae72e5c01e3a844986d20ff7
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M templates/lxc-alpine.in

  Log Message:
  -----------
  lxc-alpine: add checksums for musl libc build server pubkeys

We have added 3 new build servers for Alpine Linux musl libc x86, x86_64
and arm. Add the sha256sum for those keys.

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 95ab9daa02cb9d90705d4ef2ea9c577e462ad22d
      https://github.com/lxc/lxc/commit/95ab9daa02cb9d90705d4ef2ea9c577e462ad22d
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M doc/ja/lxc.container.conf.sgml.in

  Log Message:
  -----------
  doc: Update Japanese lxc.container.conf(5)

Update for commit 3a5ec236b75773991873cd4d3d7a3dcb8499eec6

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 96283b546081e7ff709968378fca25cb44f1ab6c
      https://github.com/lxc/lxc/commit/96283b546081e7ff709968378fca25cb44f1ab6c
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M templates/lxc-altlinux.in
    M templates/lxc-archlinux.in
    M templates/lxc-busybox.in
    M templates/lxc-centos.in
    M templates/lxc-cirros.in
    M templates/lxc-debian.in
    M templates/lxc-download.in
    M templates/lxc-fedora.in
    M templates/lxc-gentoo.in
    M templates/lxc-openmandriva.in
    M templates/lxc-opensuse.in
    M templates/lxc-oracle.in
    M templates/lxc-plamo.in
    M templates/lxc-sshd.in
    M templates/lxc-ubuntu.in

  Log Message:
  -----------
  templates: Fix bashisms in common code

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/0130df547140...96283b546081


More information about the lxc-devel mailing list