]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Fix invalid condition when parsing storage owner
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 16 Dec 2014 16:38:59 +0000 (17:38 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 16 Dec 2014 18:51:34 +0000 (19:51 +0100)
commit57c008f8609e4c8b95dcac204c759d9b5d9e1dac
tree1c7c4279a05d78df8f9b448e231dc0a1e71bd905
parent18f03166fd8a7864f18b329e237f26b132f6e0e2
conf: Fix invalid condition when parsing storage owner

In commit d2632d60 we agreed taht we want the parsed uid to properly
overflow but only to -1, however the value was read into long and then
wrapped into uid_t.  That meaned it failed on 32-bit systems.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/storage_conf.c