]> sourceware.org Git - lvm2.git/commit
vgchange: max_pv limited to uint32
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 3 Jan 2017 12:04:51 +0000 (13:04 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 3 Jan 2017 13:55:16 +0000 (14:55 +0100)
commit4fd41cf67f0b9ea44a103b059dbbb2d74d8289eb
tree3f1bd26462e7d90ff45e1857ff0b526c75a590a8
parent9f65a3f0c54fc349da279f9a9e8f1b214945489e
vgchange: max_pv limited to uint32

Solves: https://bugzilla.redhat.com/1280496

The only reasonable behaviour here is to error on
any number out of accepted range (i.e. now numbers
wrapping around with some hidden logic).

As this is plain bug there is no support for
backward compatibility since noone should
set numbers >UINT32_MAX and expect 0 or error
depending on how big number was used....

TODO: more fields might need to be converted.
WHATS_NEW
test/shell/vgchange-usage.sh
tools/args.h
This page took 0.042154 seconds and 5 git commands to generate.