[lxc-devel] [lxc/lxc] 6acf25: gcc: add -Warray-bounds, -Wrestrict, -Wreturn-loca...

Stéphane Graber noreply at github.com
Tue May 5 14:11:48 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6acf25e36a6df5f10b24fe57b4f186723d22bdf9
      https://github.com/lxc/lxc/commit/6acf25e36a6df5f10b24fe57b4f186723d22bdf9
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  gcc: add -Warray-bounds, -Wrestrict, -Wreturn-local-addr, -Wstringop-overflow

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 674c9692988d964a2cc841159a074f023221f887
      https://github.com/lxc/lxc/commit/674c9692988d964a2cc841159a074f023221f887
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M src/lxc/af_unix.h
    M src/lxc/compiler.h
    M src/lxc/conf.h
    M src/lxc/confile.h
    M src/lxc/confile_utils.h
    M src/lxc/file_utils.h

  Log Message:
  -----------
  compiler: support new access attributes

which will allow us to catch more oob accesses.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 424886b115d21fe32f391e493d7f047effe38142
      https://github.com/lxc/lxc/commit/424886b115d21fe32f391e493d7f047effe38142
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M configure.ac
    M src/lxc/af_unix.h
    M src/lxc/compiler.h
    M src/lxc/conf.h
    M src/lxc/confile.h
    M src/lxc/confile_utils.h
    M src/lxc/file_utils.h

  Log Message:
  -----------
  Merge pull request #3399 from brauner/2020-05-09/compiler_hardening

compiler: more hardening


Compare: https://github.com/lxc/lxc/compare/a4327f2aa134...424886b115d2


More information about the lxc-devel mailing list