[lxc-devel] [lxc/lxc] 69f97e: don't compare unsigned values as negative ones
GitHub
noreply at github.com
Mon Apr 13 23:04:12 UTC 2015
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 69f97e3c12fb76cb7e7f740dc0bcd0aadf14451f
https://github.com/lxc/lxc/commit/69f97e3c12fb76cb7e7f740dc0bcd0aadf14451f
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