]> git.ipfire.org Git - thirdparty/qemu.git/commit
module: increase dirs array size by one
authorBruce Rogers <brogers@suse.com>
Sat, 11 Apr 2020 01:07:46 +0000 (19:07 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 13 Apr 2020 06:56:18 +0000 (02:56 -0400)
commit267514b33ffa3f315adc26fc14d89f92e90840f5
tree0a68410a891879bbd024e2f1814a8435d81ed05e
parentd489ae4ac57ebe14bde8384556cbac237ead988d
module: increase dirs array size by one

With the module upgrades code change, the statically sized dirs array
can now overflow. Increase it's size by one, according to the new
maximum possible usage.

Fixes: bd83c861c0 ("modules: load modules from versioned /var/run dir")
Signed-off-by: Bruce Rogers <brogers@suse.com>
Message-Id: <20200411010746.472295-1-brogers@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
util/module.c