[lxc-devel] [lxc/lxc] 3149bd: don't compare unsigned values as negative ones

GitHub noreply at github.com
Mon Apr 13 23:04:28 UTC 2015


  Branch: refs/heads/stable-1.1
  Home:   https://github.com/lxc/lxc
  Commit: 3149bd4c0e81973b3db2e1230bd1784dc222a4ed
      https://github.com/lxc/lxc/commit/3149bd4c0e81973b3db2e1230bd1784dc222a4ed
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  don't compare unsigned values as negative ones

Instead, check that the result is larger than its parts.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: St├ęphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list