]> sourceware.org Git - lvm2.git/commit
Diagnose invalid PE values given on the pvmove command line (64-bit systems).
authorJim Meyering <jim@meyering.net>
Tue, 11 Sep 2007 20:12:54 +0000 (20:12 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 11 Sep 2007 20:12:54 +0000 (20:12 +0000)
commit3851b7a364d4fe83e1acc87c888147ec291c4fb7
tree9c9f1e854d318e514d439d32403c8ced9e701d27
parenta0fe21ccb649372be724c245458a4e50db031493
Diagnose invalid PE values given on the pvmove command line (64-bit systems).

* tools/toollib.c (xstrtouint32): New function.
(_parse_pes): Use xstrtouint32; don't cast strtoul's unsigned
long to uint32_t.  Detect overflow.

Author: Jim Meyering <jim@meyering.net>
WHATS_NEW
tools/toollib.c
This page took 0.039169 seconds and 5 git commands to generate.