I'm pretty sure this is supposed to be

        realloc(key, (keys + 1) * sizeof(key[0]));

instead of

        realloc(key, keys+1 * sizeof(key[0]));

Christian Brauner (1):
  Fix reallocation calculation

 src/lxc/lxc_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.5.3

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to