[lxc-devel] [lxc/lxc] db1228: Avoid hardcoded string length

GitHub noreply at github.com
Sun Jan 27 00:46:26 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: db1228b35f3ea83f668b58dbec33e12623c5c4b1
      https://github.com/lxc/lxc/commit/db1228b35f3ea83f668b58dbec33e12623c5c4b1
  Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
  Date:   2019-01-27 (Sun, 27 Jan 2019)

  Changed paths:
    M src/lxc/freezer.c

  Log Message:
  -----------
  Avoid hardcoded string length

Use strlen() on "state" variable instead of harcoded
value 6.

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>


  Commit: 51db00460e6db63e04e9ca3bdc62abb6c2dbe820
      https://github.com/lxc/lxc/commit/51db00460e6db63e04e9ca3bdc62abb6c2dbe820
  Author: Christian Brauner <christian at brauner.io>
  Date:   2019-01-27 (Sun, 27 Jan 2019)

  Changed paths:
    M src/lxc/freezer.c

  Log Message:
  -----------
  Merge pull request #2804 from Rachid-Koucha/patch-4

Avoid hardcoded string length


Compare: https://github.com/lxc/lxc/compare/60014557dc6c...51db00460e6d
      **NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      We will provide an alternative path for the email notifications by January 31st, 2019.


More information about the lxc-devel mailing list