commit | 81a0e253f080fd3274300d1902475957d151db5b | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Sep 16 21:41:46 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Sep 16 21:41:46 2011 +0400 |
tree | 41bad2018a538e97e0671f224320cd196de31241 | |
parent | a00a0b4c520eeb0ae1df44b9da16c101c9a4a7ea [diff] |
vzlist: fix segfault when sorting by loadavg Apparently the sorting (1) didn't work and (2) segfaulted in case some CTs didn't have load average values (which is pretty easy to have if you list stopped CTs). BTW this is a zero day bug (it comes from the initial vzctl commit to git), so it took about 6 years to discover it. My congratulations to Alexander! Reported-by: Shvayakov Alexander <a.shvayakov@gmail.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>